Last updated on 2026-11-21 01:51:25 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.6.1 | 6.40 | 75.03 | 81.43 | OK | |
| r-devel-linux-x86_64-debian-gcc | 0.6.2 | 3.99 | 84.67 | 88.66 | OK | |
| r-devel-linux-x86_64-fedora-clang | 0.6.2 | 72.73 | ERROR | |||
| r-devel-linux-x86_64-fedora-gcc | 0.6.2 | 81.10 | OK | |||
| r-devel-windows-x86_64 | 0.6.1 | 10.00 | 105.00 | 115.00 | OK | |
| r-patched-linux-x86_64 | 0.6.1 | 6.60 | 68.70 | 75.30 | OK | |
| r-release-linux-x86_64 | 0.6.1 | 6.28 | 68.08 | 74.36 | OK | |
| r-release-macos-arm64 | 0.6.2 | 2.00 | 34.00 | 36.00 | OK | |
| r-release-macos-x86_64 | 0.6.2 | 5.00 | 128.00 | 133.00 | OK | |
| r-release-windows-x86_64 | 0.6.1 | 11.00 | 94.00 | 105.00 | OK | |
| r-oldrel-macos-arm64 | 0.6.2 | 2.00 | 46.00 | 48.00 | OK | |
| r-oldrel-macos-x86_64 | 0.6.2 | 5.00 | 208.00 | 213.00 | OK | |
| r-oldrel-windows-x86_64 | 0.6.2 | 12.00 | 137.00 | 149.00 | OK |
Version: 0.6.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [15s/18s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(cancensus)
>
> test_check("cancensus")
Saving _problems/test-geo_attributes-54.R
Saving _problems/test-geo_attributes-103.R
Saving _problems/test-geo_attributes-105.R
Saving _problems/test-geo_attributes-186.R
Saving _problems/test-geo_attributes-187.R
Saving _problems/test-geo_attributes-193.R
Saving _problems/test-geo_attributes-197.R
Saving _problems/test-geo_attributes-198.R
Saving _problems/test-geo_attributes-213.R
Saving _problems/test-geo_suite-82.R
[ FAIL 10 | WARN 0 | SKIP 3 | PASS 848 ]
══ Skipped tests (3) ═══════════════════════════════════════════════════════════
• On CRAN (2): 'test-geo_attributes.R:218:3', 'test-geo_suite.R:182:3'
• package sources not available (1): 'test-messages.R:30:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-geo_attributes.R:54:5'): data gets returned with labels and metadata and is cached ──
Expected `cached <- get_statcan_geographic_attributes("2021")` not to throw any messages.
Actually got a <duckdb_extensions> with message:
duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
• Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
• INSTALL/LOAD of an extension will error, and automatic extension loading is off.
ℹ Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
ℹ Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
ℹ See ?duckdb for details.
Backtrace:
▆
1. ├─cancensus:::with_statcan_cache(...) at test-geo_attributes.R:32:3
2. │ └─base::force(code) at ./helper-statcan.R:11:3
3. └─testthat::expect_no_message(cached <- get_statcan_geographic_attributes("2021")) at test-geo_attributes.R:54:5
── Failure ('test-geo_attributes.R:103:5'): quiet = TRUE suppresses messages without using up the old files notice ──
Expected `result <- get_statcan_geographic_attributes("2021", quiet = TRUE)` not to throw any messages.
Actually got a <duckdb_extensions> with message:
duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
• Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
• INSTALL/LOAD of an extension will error, and automatic extension loading is off.
ℹ Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
ℹ Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
ℹ See ?duckdb for details.
Backtrace:
▆
1. ├─cancensus:::with_statcan_cache(...) at test-geo_attributes.R:95:3
2. │ └─base::force(code) at ./helper-statcan.R:11:3
3. └─testthat::expect_no_message(...) at test-geo_attributes.R:103:5
── Failure ('test-geo_attributes.R:105:5'): quiet = TRUE suppresses messages without using up the old files notice ──
Expected `get_statcan_geographic_attributes("2021", refresh = TRUE, quiet = TRUE)` not to throw any messages.
Actually got a <duckdb_extensions> with message:
duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
• Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
• INSTALL/LOAD of an extension will error, and automatic extension loading is off.
ℹ Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
ℹ Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
ℹ See ?duckdb for details.
Backtrace:
▆
1. ├─cancensus:::with_statcan_cache(...) at test-geo_attributes.R:95:3
2. │ └─base::force(code) at ./helper-statcan.R:11:3
3. └─testthat::expect_no_message(...) at test-geo_attributes.R:105:5
── Failure ('test-geo_attributes.R:186:5'): old attribute files are pointed out once with a working command, and not deleted ──
Expected `m` to have length 1.
Actual length: 2.
Backtrace:
▆
1. ├─cancensus:::with_statcan_cache(...) at test-geo_attributes.R:171:3
2. │ └─base::force(code) at ./helper-statcan.R:11:3
3. └─testthat::expect_length(m, 1) at test-geo_attributes.R:186:5
── Failure ('test-geo_attributes.R:187:5'): old attribute files are pointed out once with a working command, and not deleted ──
Expected every element of `m` to match string "take up 3 kB".
Actual text:
✔ │ Previously downloaded Statistics Canada attribute files are no longer used by get_statcan_geographic_attributes() and take up 3 kB. These are the original files, which may not be possible to download again. To delete them, run:
│ unlink(c("/tmp/RtmpV0nifu/working_dir/Rtmp6g6mXh/cancensus_test_cache1cf64c56a8213/attribute_files", "/tmp/RtmpV0nifu/working_dir/Rtmp6g6mXh/cancensus_test_cache1cf64c56a8213/statcan_downloads/2021_92-151_X.zip"), recursive = TRUE)
✖ │ duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
│ • Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
│ • INSTALL/LOAD of an extension will error, and automatic extension loading is off.
│ ℹ Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
│ ℹ Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
│ ℹ See ?duckdb for details.
Backtrace:
▆
1. ├─cancensus:::with_statcan_cache(...) at test-geo_attributes.R:171:3
2. │ └─base::force(code) at ./helper-statcan.R:11:3
3. └─testthat::expect_match(m, "take up 3 kB", fixed = TRUE) at test-geo_attributes.R:187:5
── Failure ('test-geo_attributes.R:193:5'): old attribute files are pointed out once with a working command, and not deleted ──
Expected `get_statcan_geographic_attributes("2021")` not to throw any messages.
Actually got a <duckdb_extensions> with message:
duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
• Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
• INSTALL/LOAD of an extension will error, and automatic extension loading is off.
ℹ Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
ℹ Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
ℹ See ?duckdb for details.
Backtrace:
▆
1. ├─cancensus:::with_statcan_cache(...) at test-geo_attributes.R:171:3
2. │ └─base::force(code) at ./helper-statcan.R:11:3
3. └─testthat::expect_no_message(get_statcan_geographic_attributes("2021")) at test-geo_attributes.R:193:5
── Failure ('test-geo_attributes.R:197:5'): old attribute files are pointed out once with a working command, and not deleted ──
Expected every element of `command` to match regexp "^unlink\\(c\\(".
Actual text:
✔ │ unlink(c("/tmp/RtmpV0nifu/working_dir/Rtmp6g6mXh/cancensus_test_cache1cf64c56a8213/attribute_files", "/tmp/RtmpV0nifu/working_dir/Rtmp6g6mXh/cancensus_test_cache1cf64c56a8213/statcan_downloads/2021_92-151_X.zip"), recursive = TRUE)
✖ │ ℹ See ?duckdb for details.
Backtrace:
▆
1. ├─cancensus:::with_statcan_cache(...) at test-geo_attributes.R:171:3
2. │ └─base::force(code) at ./helper-statcan.R:11:3
3. └─testthat::expect_match(command, "^unlink\\(c\\(") at test-geo_attributes.R:197:5
── Error ('test-geo_attributes.R:198:5'): old attribute files are pointed out once with a working command, and not deleted ──
Error in `parse(text = command)`: <text>:2:3: unexpected symbol
1: unlink(c("/tmp/RtmpV0nifu/working_dir/Rtmp6g6mXh/cancensus_test_cache1cf64c56a8213/attribute_files", "/tmp/RtmpV0nifu/working_dir/Rtmp6g6mXh/cancensus_test_cache1cf64c56a8213/statcan_downloads
2: ℹ See
^
Backtrace:
▆
1. ├─cancensus:::with_statcan_cache(...) at test-geo_attributes.R:171:3
2. │ └─base::force(code) at ./helper-statcan.R:11:3
3. ├─base::eval(parse(text = command)) at test-geo_attributes.R:198:5
4. └─base::parse(text = command)
── Failure ('test-geo_attributes.R:213:5'): nothing gets pointed out without old attribute files ──
Expected `get_statcan_geographic_attributes("2021")` not to throw any messages.
Actually got a <duckdb_extensions> with message:
duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
• Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
• INSTALL/LOAD of an extension will error, and automatic extension loading is off.
ℹ Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
ℹ Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
ℹ See ?duckdb for details.
Backtrace:
▆
1. ├─cancensus:::with_statcan_cache(...) at test-geo_attributes.R:207:3
2. │ └─base::force(code) at ./helper-statcan.R:11:3
3. └─testthat::expect_no_message(get_statcan_geographic_attributes("2021")) at test-geo_attributes.R:213:5
── Failure ('test-geo_suite.R:82:5'): tables get returned with labels and metadata and are cached ──
Expected `cached <- get_statcan_geo_suite("DA", "2021")` not to throw any messages.
Actually got a <duckdb_extensions> with message:
duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
• Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
• INSTALL/LOAD of an extension will error, and automatic extension loading is off.
ℹ Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
ℹ Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
ℹ See ?duckdb for details.
Backtrace:
▆
1. ├─cancensus:::with_statcan_cache(...) at test-geo_suite.R:68:3
2. │ └─base::force(code) at ./helper-statcan.R:11:3
3. └─testthat::expect_no_message(...) at test-geo_suite.R:82:5
[ FAIL 10 | WARN 0 | SKIP 3 | PASS 848 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang