CRAN Package Check Results for Package opendatatoronto

Last updated on 2025-02-26 08:52:50 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.5 2.82 31.01 33.83 OK
r-devel-linux-x86_64-debian-gcc 0.1.5 2.27 25.06 27.33 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.5 53.99 OK
r-devel-linux-x86_64-fedora-gcc 0.1.5 80.63 OK
r-devel-macos-arm64 0.1.5 38.00 OK
r-devel-macos-x86_64 0.1.5 72.00 OK
r-devel-windows-x86_64 0.1.5 4.00 53.00 57.00 OK
r-patched-linux-x86_64 0.1.5 2.83 29.28 32.11 OK
r-release-linux-x86_64 0.1.5 2.86 29.26 32.12 OK
r-release-macos-arm64 0.1.5 38.00 OK
r-release-macos-x86_64 0.1.5 48.00 OK
r-release-windows-x86_64 0.1.5 4.00 52.00 56.00 OK
r-oldrel-macos-arm64 0.1.5 OK
r-oldrel-macos-x86_64 0.1.5 56.00 OK
r-oldrel-windows-x86_64 0.1.5 6.00 57.00 63.00 OK

Check Details

Version: 0.1.5
Check: tests
Result: ERROR Running ‘testthat.R’ [2s/3s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(opendatatoronto) > > test_check("opendatatoronto") [ FAIL 1 | WARN 1 | SKIP 13 | PASS 48 ] ══ Skipped tests (13) ══════════════════════════════════════════════════════════ • On CRAN (13): 'test-browse.R:4:3', 'test-browse.R:10:3', 'test-browse.R:19:3', 'test-get_resource.R:19:3', 'test-list_package_resources.R:4:3', 'test-list_package_resources.R:13:3', 'test-list_package_resources.R:23:3', 'test-packages.R:2:3', 'test-packages.R:30:3', 'test-packages.R:91:3', 'test-utils.R:69:3', 'test-utils.R:106:3', 'test-utils.R:146:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-utils.R:82:3'): parse_package_title replaces non-alphanumeric characters with '-', converts to lowercase, strips repeating -s, and doesn't allow ending with a - ── Error in `gsub(as.character(pattern), as.character(replacement), x, ignore.case, perl, fixed, useBytes)`: NA in coercion to Rboolean Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-utils.R:82:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─opendatatoronto:::parse_package_title("here is a test") 5. └─base::gsub(...) [ FAIL 1 | WARN 1 | SKIP 13 | PASS 48 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc