CRAN Package Check Results for Package gtfs2gps

Last updated on 2025-12-20 09:49:47 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.1-3 16.68 174.79 191.47 OK
r-devel-linux-x86_64-debian-gcc 2.1-3 10.75 95.91 106.66 ERROR
r-devel-linux-x86_64-fedora-clang 2.1-3 35.00 240.51 275.51 ERROR
r-devel-linux-x86_64-fedora-gcc 2.1-3 32.00 239.26 271.26 ERROR
r-devel-windows-x86_64 2.1-3 23.00 172.00 195.00 OK
r-patched-linux-x86_64 2.1-3 17.01 155.18 172.19 OK
r-release-linux-x86_64 2.1-3 16.79 153.70 170.49 OK
r-release-macos-arm64 2.1-3 OK
r-release-macos-x86_64 2.1-3 11.00 421.00 432.00 OK
r-release-windows-x86_64 2.1-3 25.00 164.00 189.00 OK
r-oldrel-macos-arm64 2.1-3 OK
r-oldrel-macos-x86_64 2.1-3 12.00 357.00 369.00 OK
r-oldrel-windows-x86_64 2.1-3 27.00 215.00 242.00 OK

Check Details

Version: 2.1-3
Check: examples
Result: ERROR Running examples in ‘gtfs2gps-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: gps_as_sflinestring > ### Title: Converts a GPS-like data.table to a LineString Simple Feature > ### (sf) object > ### Aliases: gps_as_sflinestring > > ### ** Examples > > library(gtfs2gps) > > poa <- read_gtfs(system.file("extdata/poa.zip", package = "gtfs2gps")) Unzipped the following files to /tmp/Rtmpoy7uQs/gtfsio: * agency.txt * calendar.txt * routes.txt * shapes.txt * stop_times.txt * stops.txt * trips.txt Reading agency Reading calendar Reading routes Reading shapes Reading stop_times Reading stops Reading trips > poa_subset <- gtfstools::filter_by_shape_id(poa, c("T2-1", "A141-1")) |> + filter_single_trip() > > poa_gps <- gtfs2gps(poa_subset) Converting shapes to sf objects Using 1 CPU cores Processing the data Some 'speed' values are NA in the returned data. > > poa_gps_sf <- gps_as_sflinestring(poa_gps) Error in `[.data.table`(dt, , `:=`(numbers, .N), by = .(shape_id, trip_id, : attempt access index 14/14 in VECTOR_ELT Calls: gps_as_sflinestring -> [ -> [.data.table Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 2.1-3
Check: tests
Result: ERROR Running ‘testthat.R’ [47s/49s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(gtfs2gps) gtfs2gps version 2.1-3 is now loaded > > test_check("gtfs2gps") Saving _problems/test_gps_as_sflinestring-12.R Saving _problems/test_simplify_shapes-7.R [ FAIL 2 | WARN 0 | SKIP 0 | PASS 114 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_gps_as_sflinestring.R:12:3'): gps_as_sflinestring ────────────── Error in ``[.data.table`(dt, , `:=`(numbers, .N), by = .(shape_id, trip_id, stop_id, stop_sequence, trip_number))`: attempt access index 15/15 in VECTOR_ELT Backtrace: ▆ 1. └─gtfs2gps::gps_as_sflinestring(for_gps) at test_gps_as_sflinestring.R:12:3 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ── Error ('test_simplify_shapes.R:7:5'): simplify_shapes ─────────────────────── Error in ``[.data.table`(gtfs_st_simpl, , `:=`(shape_pt_sequence, 1:.N), by = shape_id)`: attempt access index 6/6 in VECTOR_ELT Backtrace: ▆ 1. └─gtfs2gps:::simplify_shapes(poa, 1e-05) at test_simplify_shapes.R:7:5 2. ├─gtfs_st_simpl[, `:=`(shape_pt_sequence, 1:.N), by = shape_id] 3. └─data.table:::`[.data.table`(...) [ FAIL 2 | WARN 0 | SKIP 0 | PASS 114 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 2.1-3
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘intro_to_gtfs2gps.Rmd’ using rmarkdown Quitting from intro_to_gtfs2gps.Rmd:80-93 [unnamed-chunk-7] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `[.data.table`: ! attempt access index 14/14 in VECTOR_ELT --- Backtrace: ▆ 1. └─gtfs2gps::gps_as_sflinestring(poa_gps60) 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'intro_to_gtfs2gps.Rmd' failed with diagnostics: attempt access index 14/14 in VECTOR_ELT --- failed re-building ‘intro_to_gtfs2gps.Rmd’ SUMMARY: processing the following file failed: ‘intro_to_gtfs2gps.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 2.1-3
Check: examples
Result: ERROR Running examples in ‘gtfs2gps-Ex.R’ failed The error most likely occurred in: > ### Name: gps_as_sflinestring > ### Title: Converts a GPS-like data.table to a LineString Simple Feature > ### (sf) object > ### Aliases: gps_as_sflinestring > > ### ** Examples > > library(gtfs2gps) > > poa <- read_gtfs(system.file("extdata/poa.zip", package = "gtfs2gps")) Unzipped the following files to /tmp/RtmpLGSzwN/working_dir/RtmpzWjqZW/gtfsio: * agency.txt * calendar.txt * routes.txt * shapes.txt * stop_times.txt * stops.txt * trips.txt Reading agency Reading calendar Reading routes Reading shapes Reading stop_times Reading stops Reading trips > poa_subset <- gtfstools::filter_by_shape_id(poa, c("T2-1", "A141-1")) |> + filter_single_trip() > > poa_gps <- gtfs2gps(poa_subset) Converting shapes to sf objects Using 1 CPU cores Processing the data Some 'speed' values are NA in the returned data. > > poa_gps_sf <- gps_as_sflinestring(poa_gps) Error in `[.data.table`(dt, , `:=`(numbers, .N), by = .(shape_id, trip_id, : attempt access index 14/14 in VECTOR_ELT Calls: gps_as_sflinestring -> [ -> [.data.table Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 2.1-3
Check: tests
Result: ERROR Running ‘testthat.R’ [125s/188s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(gtfs2gps) gtfs2gps version 2.1-3 is now loaded > > test_check("gtfs2gps") Saving _problems/test_gps_as_sflinestring-12.R Saving _problems/test_simplify_shapes-7.R [ FAIL 2 | WARN 0 | SKIP 0 | PASS 114 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_gps_as_sflinestring.R:12:3'): gps_as_sflinestring ────────────── Error in ``[.data.table`(dt, , `:=`(numbers, .N), by = .(shape_id, trip_id, stop_id, stop_sequence, trip_number))`: attempt access index 15/15 in VECTOR_ELT Backtrace: ▆ 1. └─gtfs2gps::gps_as_sflinestring(for_gps) at test_gps_as_sflinestring.R:12:3 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ── Error ('test_simplify_shapes.R:7:5'): simplify_shapes ─────────────────────── Error in ``[.data.table`(gtfs_st_simpl, , `:=`(shape_pt_sequence, 1:.N), by = shape_id)`: attempt access index 6/6 in VECTOR_ELT Backtrace: ▆ 1. └─gtfs2gps:::simplify_shapes(poa, 1e-05) at test_simplify_shapes.R:7:5 2. ├─gtfs_st_simpl[, `:=`(shape_pt_sequence, 1:.N), by = shape_id] 3. └─data.table:::`[.data.table`(...) [ FAIL 2 | WARN 0 | SKIP 0 | PASS 114 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 2.1-3
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘intro_to_gtfs2gps.Rmd’ using rmarkdown Quitting from intro_to_gtfs2gps.Rmd:80-93 [unnamed-chunk-7] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `[.data.table`: ! attempt access index 14/14 in VECTOR_ELT --- Backtrace: ▆ 1. └─gtfs2gps::gps_as_sflinestring(poa_gps60) 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'intro_to_gtfs2gps.Rmd' failed with diagnostics: attempt access index 14/14 in VECTOR_ELT --- failed re-building ‘intro_to_gtfs2gps.Rmd’ SUMMARY: processing the following file failed: ‘intro_to_gtfs2gps.Rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 2.1-3
Check: examples
Result: ERROR Running examples in ‘gtfs2gps-Ex.R’ failed The error most likely occurred in: > ### Name: gps_as_sflinestring > ### Title: Converts a GPS-like data.table to a LineString Simple Feature > ### (sf) object > ### Aliases: gps_as_sflinestring > > ### ** Examples > > library(gtfs2gps) > > poa <- read_gtfs(system.file("extdata/poa.zip", package = "gtfs2gps")) Unzipped the following files to /tmp/RtmpDN2rsk/working_dir/RtmpvtcCZt/gtfsio: * agency.txt * calendar.txt * routes.txt * shapes.txt * stop_times.txt * stops.txt * trips.txt Reading agency Reading calendar Reading routes Reading shapes Reading stop_times Reading stops Reading trips > poa_subset <- gtfstools::filter_by_shape_id(poa, c("T2-1", "A141-1")) |> + filter_single_trip() > > poa_gps <- gtfs2gps(poa_subset) Converting shapes to sf objects Using 1 CPU cores Processing the data Some 'speed' values are NA in the returned data. > > poa_gps_sf <- gps_as_sflinestring(poa_gps) Error in `[.data.table`(dt, , `:=`(numbers, .N), by = .(shape_id, trip_id, : attempt access index 14/14 in VECTOR_ELT Calls: gps_as_sflinestring -> [ -> [.data.table Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 2.1-3
Check: tests
Result: ERROR Running ‘testthat.R’ [115s/164s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(gtfs2gps) gtfs2gps version 2.1-3 is now loaded > > test_check("gtfs2gps") Saving _problems/test_gps_as_sflinestring-12.R Saving _problems/test_simplify_shapes-7.R [ FAIL 2 | WARN 0 | SKIP 0 | PASS 114 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_gps_as_sflinestring.R:12:3'): gps_as_sflinestring ────────────── Error in ``[.data.table`(dt, , `:=`(numbers, .N), by = .(shape_id, trip_id, stop_id, stop_sequence, trip_number))`: attempt access index 15/15 in VECTOR_ELT Backtrace: ▆ 1. └─gtfs2gps::gps_as_sflinestring(for_gps) at test_gps_as_sflinestring.R:12:3 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ── Error ('test_simplify_shapes.R:7:5'): simplify_shapes ─────────────────────── Error in ``[.data.table`(gtfs_st_simpl, , `:=`(shape_pt_sequence, 1:.N), by = shape_id)`: attempt access index 6/6 in VECTOR_ELT Backtrace: ▆ 1. └─gtfs2gps:::simplify_shapes(poa, 1e-05) at test_simplify_shapes.R:7:5 2. ├─gtfs_st_simpl[, `:=`(shape_pt_sequence, 1:.N), by = shape_id] 3. └─data.table:::`[.data.table`(...) [ FAIL 2 | WARN 0 | SKIP 0 | PASS 114 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc