CRAN Package Check Results for Package gtfstools

Last updated on 2024-05-03 18:54:41 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.0 12.86 117.30 130.16 NOTE
r-devel-linux-x86_64-fedora-clang 1.2.0 188.99 NOTE
r-devel-linux-x86_64-fedora-gcc 1.2.0 180.97 NOTE
r-devel-windows-x86_64 1.2.0 13.00 122.00 135.00 NOTE
r-patched-linux-x86_64 1.2.0 12.93 125.33 138.26 OK
r-release-linux-x86_64 1.2.0 11.42 123.59 135.01 OK
r-release-macos-arm64 1.2.0 60.00 OK
r-release-windows-x86_64 1.2.0 13.00 123.00 136.00 ERROR
r-oldrel-macos-arm64 1.2.0 63.00 OK
r-oldrel-macos-x86_64 1.2.0 96.00 OK
r-oldrel-windows-x86_64 1.2.0 15.00 165.00 180.00 OK

Check Details

Version: 1.2.0
Check: compiled code
Result: NOTE File ‘gtfstools/libs/gtfstools.so’: Found non-API calls to R: ‘SETLENGTH’, ‘SET_TRUELENGTH’ Compiled code should not call non-API entry points in R. See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 1.2.0
Check: compiled code
Result: NOTE File 'gtfstools/libs/x64/gtfstools.dll': Found non-API calls to R: 'SETLENGTH', 'SET_TRUELENGTH' Compiled code should not call non-API entry points in R. See 'Writing portable packages' in the 'Writing R Extensions' manual. Flavor: r-devel-windows-x86_64

Version: 1.2.0
Check: tests
Result: ERROR Running 'testthat.R' [37s] Running the tests in 'tests/testthat.R' failed. Complete output: > if (requireNamespace("testthat", quietly = TRUE)) { + + library(testthat) + library(gtfstools) + + test_check("gtfstools") + + } [ FAIL 1 | WARN 0 | SKIP 2 | PASS 1237 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • On CRAN (2): 'test-download_validator.R:37:1', 'test-validate_gtfs.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-read_gtfs.R:95:3'): raises warnings and messages adequately ──── Error in `utils::download.file(path, tmp, method = "auto", quiet = quiet)`: cannot open URL 'https://github.com/ipeaGIT/gtfstools/raw/master/inst/extdata/spo_gtfs.zip' Backtrace: ▆ 1. ├─testthat::expect_silent(read_gtfs(gtfs_url)) at test-read_gtfs.R:95:3 2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise) 3. │ ├─testthat (local) .capture(...) 4. │ │ ├─withr::with_output_sink(...) 5. │ │ │ └─base::force(code) 6. │ │ ├─base::withCallingHandlers(...) 7. │ │ └─base::withVisible(code) 8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 9. └─gtfstools::read_gtfs(gtfs_url) 10. └─gtfsio::import_gtfs(...) 11. └─utils::download.file(path, tmp, method = "auto", quiet = quiet) [ FAIL 1 | WARN 0 | SKIP 2 | PASS 1237 ] Error: Test failures Execution halted Flavor: r-release-windows-x86_64