CRAN Package Check Results for Maintainer ‘Daniel Herszenhut <dhersz at gmail.com>’

Last updated on 2022-08-15 08:50:22 CEST.

Package ERROR OK
accessibility 13
gtfsio 13
gtfstools 1 12

Package accessibility

Current CRAN status: OK: 13

Package gtfsio

Current CRAN status: OK: 13

Package gtfstools

Current CRAN status: ERROR: 1, OK: 12

Version: 1.1.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [45s/111s]
    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 1 | PASS 1225 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • Skipping validate_gtfs() tests because it is now deprecated. (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:2
     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 1 | PASS 1225 ]
     Error: Test failures
     Execution halted
Flavor: r-release-linux-x86_64