Last updated on 2024-08-19 17:49:20 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.2.1 | 7.30 | 87.04 | 94.34 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 1.2.1 | 5.90 | 65.60 | 71.50 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 1.2.1 | 158.48 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 1.2.1 | 176.19 | ERROR | |||
r-devel-windows-x86_64 | 1.2.1 | 12.00 | 132.00 | 144.00 | OK | |
r-patched-linux-x86_64 | 1.2.1 | 9.77 | 83.14 | 92.91 | ERROR | |
r-release-linux-x86_64 | 1.2.1 | 8.11 | 83.23 | 91.34 | ERROR | |
r-release-macos-arm64 | 1.2.1 | 78.00 | OK | |||
r-release-macos-x86_64 | 1.2.1 | 105.00 | OK | |||
r-release-windows-x86_64 | 1.2.1 | 12.00 | 134.00 | 146.00 | OK | |
r-oldrel-macos-arm64 | 1.2.1 | 75.00 | OK | |||
r-oldrel-macos-x86_64 | 1.2.1 | 155.00 | OK | |||
r-oldrel-windows-x86_64 | 1.2.1 | 13.00 | 155.00 | 168.00 | OK |
Version: 1.2.1
Check: package dependencies
Result: NOTE
Package suggested but not available for checking: ‘rsgeo’
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-linux-x86_64, r-release-linux-x86_64
Version: 1.2.1
Check: examples
Result: ERROR
Running examples in ‘stplanr-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: line_segment
> ### Title: Divide an sf object with LINESTRING geometry into regular
> ### segments
> ### Aliases: line_segment
>
> ### ** Examples
>
> library(sf)
Linking to GEOS 3.12.2, GDAL 3.9.1, PROJ 9.4.1; sf_use_s2() is TRUE
> l <- routes_fast_sf[2:4, "ID"]
> l_seg_multi <- line_segment(l, segment_length = 1000, use_rsgeo = FALSE)
> l_seg_n <- line_segment(l, n_segments = 2)
Setting n_segments to 2 for all lines
Warning in use_rsgeo(l) : rsgeo not installed, using lwgeom
> l_seg_n <- line_segment(l, n_segments = c(1:3))
Warning in use_rsgeo(l) : rsgeo not installed, using lwgeom
> # Number of subsegments
> table(l_seg_multi$ID)
3 4 5
3 3 2
> plot(l_seg_multi["ID"])
> plot(l_seg_multi$geometry, col = seq_along(l_seg_multi), lwd = 5)
> round(st_length(l_seg_multi))
Units: [m]
[1] 1013 1014 955 875 770 647 986 881
> # rsgeo implementation (default if available):
> if (rlang::is_installed("rsgeo")) {
+ rsmulti = line_segment(l, segment_length = 1000, use_rsgeo = TRUE)
+ plot(rsmulti["ID"])
+ }
> # Check they have the same total length, to nearest mm:
> # round(sum(st_length(l_seg_multi)), 3) == round(sum(st_length(rsmulti)), 3)
> # With n_segments for 1 line:
> l_seg_multi_n <- line_segment(l[1, ], n_segments = 3, use_rsgeo = FALSE)
> l_seg_multi_n <- line_segment(l$geometry[1], n_segments = 3, use_rsgeo = FALSE)
> l_seg_multi_n <- line_segment(l$geometry[1], n_segments = 3, use_rsgeo = TRUE)
Error in loadNamespace(x) : there is no package called ‘rsgeo’
Calls: line_segment ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64
Version: 1.2.1
Check: examples
Result: ERROR
Running examples in ‘stplanr-Ex.R’ failed
The error most likely occurred in:
> ### Name: line_segment
> ### Title: Divide an sf object with LINESTRING geometry into regular
> ### segments
> ### Aliases: line_segment
>
> ### ** Examples
>
> library(sf)
Linking to GEOS 3.10.2, GDAL 3.4.3, PROJ 8.2.1; sf_use_s2() is TRUE
> l <- routes_fast_sf[2:4, "ID"]
> l_seg_multi <- line_segment(l, segment_length = 1000, use_rsgeo = FALSE)
> l_seg_n <- line_segment(l, n_segments = 2)
Setting n_segments to 2 for all lines
Warning in use_rsgeo(l) : rsgeo not installed, using lwgeom
> l_seg_n <- line_segment(l, n_segments = c(1:3))
Warning in use_rsgeo(l) : rsgeo not installed, using lwgeom
> # Number of subsegments
> table(l_seg_multi$ID)
3 4 5
3 3 2
> plot(l_seg_multi["ID"])
> plot(l_seg_multi$geometry, col = seq_along(l_seg_multi), lwd = 5)
> round(st_length(l_seg_multi))
Units: [m]
[1] 1013 1014 955 875 770 647 986 881
> # rsgeo implementation (default if available):
> if (rlang::is_installed("rsgeo")) {
+ rsmulti = line_segment(l, segment_length = 1000, use_rsgeo = TRUE)
+ plot(rsmulti["ID"])
+ }
> # Check they have the same total length, to nearest mm:
> # round(sum(st_length(l_seg_multi)), 3) == round(sum(st_length(rsmulti)), 3)
> # With n_segments for 1 line:
> l_seg_multi_n <- line_segment(l[1, ], n_segments = 3, use_rsgeo = FALSE)
> l_seg_multi_n <- line_segment(l$geometry[1], n_segments = 3, use_rsgeo = FALSE)
> l_seg_multi_n <- line_segment(l$geometry[1], n_segments = 3, use_rsgeo = TRUE)
Error in loadNamespace(x) : there is no package called ‘rsgeo’
Calls: line_segment ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc