Last updated on 2025-12-21 17:51:21 CET.
| Package | ERROR | OK |
|---|---|---|
| gtfs2gps | 4 | 9 |
Current CRAN status: ERROR: 4, OK: 9
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 /home/hornik/tmp/scratch/RtmpzRxU5b/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-clang
Version: 2.1-3
Check: tests
Result: ERROR
Running ‘testthat.R’ [80s/84s]
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-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-debian-clang, 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:
> 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/RtmpgjCSy4/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/51s]
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: 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