CRAN Package Check Results for Package gtfs2gps

Last updated on 2022-05-15 01:52:20 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.0-2 29.92 227.08 257.00 OK
r-devel-linux-x86_64-debian-gcc 2.0-2 22.62 159.65 182.27 OK
r-devel-linux-x86_64-fedora-clang 2.0-2 310.41 OK
r-devel-linux-x86_64-fedora-gcc 2.0-2 273.47 OK
r-devel-windows-x86_64 2.0-2 56.00 247.00 303.00 OK
r-patched-linux-x86_64 2.0-2 23.49 196.45 219.94 OK
r-release-linux-x86_64 2.0-2 24.38 196.23 220.61 OK
r-release-macos-arm64 2.0-2 86.00 ERROR
r-release-macos-x86_64 2.0-2 169.00 OK
r-release-windows-x86_64 2.0-2 61.00 246.00 307.00 OK
r-oldrel-macos-arm64 2.0-2 65.00 OK
r-oldrel-macos-x86_64 2.0-2 112.00 OK
r-oldrel-windows-ix86+x86_64 2.0-2 77.00 392.00 469.00 OK

Check Details

Version: 2.0-2
Check: dependencies in R code
Result: WARN
    Missing or unexported object: ‘terra::simplifyGeom’
Flavor: r-release-macos-arm64

Version: 2.0-2
Check: examples
Result: ERROR
    Running examples in ‘gtfs2gps-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: simplify_shapes
    > ### Title: Simplify shapes of a GTFS file
    > ### Aliases: simplify_shapes
    >
    > ### ** Examples
    >
    > poa <- read_gtfs(system.file("extdata/poa.zip", package="gtfs2gps"))
    Unzipped the following files to /Volumes/Temp/tmp/RtmpzMDyBm/gtfsio:
     * agency.txt
     * calendar.txt
     * routes.txt
     * shapes.txt
     * stop_times.txt
     * stops.txt
     * trips.txt
    Reading agency.txt
    Reading calendar.txt
    Reading routes.txt
    Reading shapes.txt
    Reading stop_times.txt
    Reading stops.txt
    Reading trips.txt
    >
    > poa_simpl <- simplify_shapes(poa)
    Error in h(simpleError(msg, call)) :
     error in evaluating the argument 'x' in selecting a method for function 'geom': 'simplifyGeom' is not an exported object from 'namespace:terra'
    Calls: simplify_shapes ... <Anonymous> -> <Anonymous> -> .handleSimpleError -> h
    Execution halted
Flavor: r-release-macos-arm64

Version: 2.0-2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [25s/33s]
    Running the tests in ‘tests/testthat.R’ failed.
    Last 13 lines of output:
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test_simplify_shapes.R:7:5): simplify_shapes ─────────────────────────
     Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'geom': 'simplifyGeom' is not an exported object from 'namespace:terra'
     Backtrace:
     ▆
     1. ├─gtfs2gps::simplify_shapes(poa, 1e-05) at test_simplify_shapes.R:7:4
     2. │ └─... %>% data.table::as.data.table()
     3. ├─data.table::as.data.table(.)
     4. ├─terra::geom(.)
     5. └─base::.handleSimpleError(...)
     6. └─base h(simpleError(msg, call))
    
     [ FAIL 1 | WARN 0 | SKIP 0 | PASS 193 ]
     Error: Test failures
     Execution halted
Flavor: r-release-macos-arm64