* using log directory ‘/data/gannet/ripley/R/packages/tests-Suggests/gtfsrouter.Rcheck’ * using R Under development (unstable) (2022-07-07 r82555) * using platform: x86_64-pc-linux-gnu (64-bit) * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘gtfsrouter/DESCRIPTION’ ... OK * this is package ‘gtfsrouter’ version ‘0.0.5’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘gtfsrouter’ can be installed ... [84s/88s] OK * checking package directory ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [13s/17s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking pragmas in C/C++ headers and code ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [11s/13s] ERROR Running examples in ‘gtfsrouter-Ex.R’ failed The error most likely occurred in: > ### Name: gtfs_traveltimes > ### Title: gtfs_traveltimes > ### Aliases: gtfs_traveltimes > > ### ** Examples > > berlin_gtfs_to_zip () [1] "/tmp/Rtmpg7RnHd/working_dir/RtmpYdqjSu/vbb.zip" > f <- file.path (tempdir (), "vbb.zip") > g <- extract_gtfs (f) ▶ Unzipping GTFS archive ✔ Unzipped GTFS archive ▶ Extracting GTFS feed ✔ Extracted GTFS feed ▶ Converting stop times to seconds ✔ Converted stop times to seconds ▶ Converting transfer times to seconds ✔ Converted transfer times to seconds > g <- gtfs_timetable (g) Day not specified; extracting timetable for thursday > from <- "Alexanderplatz" > start_times <- 12 * 3600 + c (0, 60) * 60 # 8:00-9:00 > res <- gtfs_traveltimes (g, from, start_times) Error in loadNamespace(x) : there is no package called ‘hms’ Calls: gtfs_traveltimes ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ [20s/32s] [20s/33s] ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(gtfsrouter) > > test_check("gtfsrouter") adding: tmp/Rtmpg7RnHd/working_dir/RtmpVwAyOr/junk.txt (stored 0%) adding: tmp/Rtmpg7RnHd/working_dir/RtmpVwAyOr/routes.txt (deflated 79%) adding: tmp/Rtmpg7RnHd/working_dir/RtmpVwAyOr/trips.txt (deflated 94%) adding: tmp/Rtmpg7RnHd/working_dir/RtmpVwAyOr/stop_times.txt (deflated 90%) adding: tmp/Rtmpg7RnHd/working_dir/RtmpVwAyOr/stops.txt (deflated 82%) adding: tmp/Rtmpg7RnHd/working_dir/RtmpVwAyOr/calendar.txt (deflated 91%) adding: tmp/Rtmpg7RnHd/working_dir/RtmpVwAyOr/routes.txt (deflated 79%) adding: tmp/Rtmpg7RnHd/working_dir/RtmpVwAyOr/trips.txt (deflated 94%) adding: tmp/Rtmpg7RnHd/working_dir/RtmpVwAyOr/stop_times.txt (deflated 90%) adding: tmp/Rtmpg7RnHd/working_dir/RtmpVwAyOr/stops.txt (deflated 82%) adding: tmp/Rtmpg7RnHd/working_dir/RtmpVwAyOr/transfers.txt (deflated 94%) adding: tmp/Rtmpg7RnHd/working_dir/RtmpVwAyOr/calendar.txt (stored 0%) adding: tmp/Rtmpg7RnHd/working_dir/RtmpVwAyOr/routes.txt (stored 0%) adding: tmp/Rtmpg7RnHd/working_dir/RtmpVwAyOr/trips.txt (stored 0%) adding: tmp/Rtmpg7RnHd/working_dir/RtmpVwAyOr/stop_times.txt (stored 0%) adding: tmp/Rtmpg7RnHd/working_dir/RtmpVwAyOr/stops.txt (stored 0%) adding: tmp/Rtmpg7RnHd/working_dir/RtmpVwAyOr/transfers.txt (stored 0%) Failed with error: 'there is no package called 'pbapply'' [ FAIL 4 | WARN 0 | SKIP 2 | PASS 135 ] ══ Skipped tests ═══════════════════════════════════════════════════════════════ • On CRAN (1) • empty test (1) ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error (test-route.R:89:15): route ─────────────────────────────────────────── Error in `loadNamespace(x)`: there is no package called 'hms' Backtrace: ▆ 1. └─base::loadNamespace(x) at test-route.R:89:14 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) ── Error (test-time-formats.R:24:15): convert-time ───────────────────────────── Error in `loadNamespace(x)`: there is no package called 'hms' Backtrace: ▆ 1. └─base::loadNamespace(x) at test-time-formats.R:24:14 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) ── Error (test-transfers.R:11:15): transfers works ───────────────────────────── Error in `loadNamespace(x)`: there is no package called 'pbapply' Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-transfers.R:11:14 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─gtfsrouter::gtfs_transfer_table(g, d_limit = 200, min_transfer_time = 0) 7. │ └─gtfsrouter:::get_transfer_list(gtfs, stop_service, d_limit) 8. └─base::loadNamespace(x) 9. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 10. └─base (local) withOneRestart(expr, restarts[[1L]]) 11. └─base (local) doWithOneRestart(return(expr), restart) ── Error (test-traveltimes.R:14:15): gtfs_traveltimes ────────────────────────── Error in `loadNamespace(x)`: there is no package called 'hms' Backtrace: ▆ 1. ├─gtfsrouter::gtfs_traveltimes(g2, from, start_times) at test-traveltimes.R:14:14 2. └─base::loadNamespace(x) 3. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 4. └─base (local) withOneRestart(expr, restarts[[1L]]) 5. └─base (local) doWithOneRestart(return(expr), restart) [ FAIL 4 | WARN 0 | SKIP 2 | PASS 135 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in ‘inst/doc’ ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 2 ERRORs See ‘/data/gannet/ripley/R/packages/tests-Suggests/gtfsrouter.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 4:08.43, 171.06 + 14.99