Last updated on 2025-12-19 17:49:48 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.4.0 | 11.03 | 71.07 | 82.10 | OK | |
| r-devel-linux-x86_64-debian-gcc | 1.4.0 | 6.78 | 52.57 | 59.35 | OK | |
| r-devel-linux-x86_64-fedora-clang | 1.4.0 | 22.00 | OK | |||
| r-devel-linux-x86_64-fedora-gcc | 1.4.0 | 18.00 | 111.52 | 129.52 | ERROR | |
| r-devel-windows-x86_64 | 1.4.0 | 16.00 | 99.00 | 115.00 | OK | |
| r-patched-linux-x86_64 | 1.4.0 | 10.67 | 64.07 | 74.74 | OK | |
| r-release-linux-x86_64 | 1.4.0 | 10.75 | 63.99 | 74.74 | OK | |
| r-release-macos-arm64 | 1.4.0 | OK | ||||
| r-release-macos-x86_64 | 1.4.0 | 8.00 | 77.00 | 85.00 | OK | |
| r-release-windows-x86_64 | 1.4.0 | 17.00 | 92.00 | 109.00 | OK | |
| r-oldrel-macos-arm64 | 1.4.0 | OK | ||||
| r-oldrel-macos-x86_64 | 1.4.0 | 8.00 | 106.00 | 114.00 | OK | |
| r-oldrel-windows-x86_64 | 1.4.0 | 19.00 | 114.00 | 133.00 | OK |
Version: 1.4.0
Check: examples
Result: ERROR
Running examples in ‘gtfstools-Ex.R’ failed
The error most likely occurred in:
> ### Name: convert_sf_to_shapes
> ### Title: Convert a simple feature object into a 'shapes' table
> ### Aliases: convert_sf_to_shapes
>
> ### ** Examples
>
> ## Don't show:
> old_dt_threads <- data.table::setDTthreads(1)
> on.exit(data.table::setDTthreads(old_dt_threads), add = TRUE)
> ## End(Don't show)
> data_path <- system.file("extdata/spo_gtfs.zip", package = "gtfstools")
> gtfs <- read_gtfs(data_path)
>
> # first converting existing shapes table into a sf object
> shapes_sf <- convert_shapes_to_sf(gtfs)
> head(shapes_sf)
Simple feature collection with 6 features and 1 field
Geometry type: LINESTRING
Dimension: XY
Bounding box: xmin: -46.98404 ymin: -23.73644 xmax: -46.63535 ymax: -23.19474
Geodetic CRS: WGS 84
shape_id geometry
1 17846 LINESTRING (-46.63535 -23.5...
2 17847 LINESTRING (-46.87255 -23.1...
3 17848 LINESTRING (-46.64073 -23.5...
4 17849 LINESTRING (-46.98404 -23.5...
5 17850 LINESTRING (-46.77604 -23.5...
6 17851 LINESTRING (-46.69711 -23.7...
>
> # by default converts all shapes
> result <- convert_sf_to_shapes(shapes_sf)
Error in `[.data.table`(shapes_points, , `:=`(shape_dist_traveled, cumsum(dist_to_prev_point)), :
attempt access index 3/3 in VECTOR_ELT
Calls: convert_sf_to_shapes -> calculate_shape_dist_traveled -> [ -> [.data.table
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 1.4.0
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building ‘filtering.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘filtering.Rmd’
--- re-building ‘gtfstools.Rmd’ using rmarkdown
Quitting from gtfstools.Rmd:119-125 [unnamed-chunk-9]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 9/9 in VECTOR_ELT
---
Backtrace:
▆
1. └─gtfstools::get_trip_segment_duration(spo_gtfs, unit = "s")
2. ├─durations[, `:=`(segment, seq.int(1, .N, length.out = .N)), by = trip_id]
3. └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'gtfstools.Rmd' failed with diagnostics:
attempt access index 9/9 in VECTOR_ELT
--- failed re-building ‘gtfstools.Rmd’
--- re-building ‘validating.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘validating.Rmd’
SUMMARY: processing the following file failed:
‘gtfstools.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc