Last updated on 2024-07-24 12:21:31 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
calendar | 13 | ||
cyclestreets | 13 | ||
od | 13 | ||
pct | 2 | 11 | |
simodels | 2 | 2 | 9 |
stats19 | 13 | ||
stplanr | 2 | 11 | |
zonebuilder | 13 |
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: NOTE: 2, OK: 11
Version: 0.9.9
Check: data for non-ASCII characters
Result: NOTE
Note: found 11 marked UTF-8 strings
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Current CRAN status: ERROR: 2, NOTE: 2, OK: 9
Version: 0.1.0
Check: data for non-ASCII characters
Result: NOTE
Note: found 1 marked UTF-8 string
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 0.1.0
Check: running R code from vignettes
Result: ERROR
Errors in running code in vignettes:
when running code in ‘simodels.Rmd’
...
> library(ggplot2)
> library(sf)
Linking to GEOS 3.11.0, GDAL 3.5.3, PROJ 9.1.0; sf_use_s2() is TRUE
> dim(zones_aus)
When sourcing ‘simodels.R’:
Error: object 'zones_aus' not found
Execution halted
‘simodels.Rmd’ using ‘UTF-8’... failed
‘sims-first-principles.Rmd’ using ‘UTF-8’... [12s/14s] OK
Flavor: r-oldrel-macos-arm64
Version: 0.1.0
Check: running R code from vignettes
Result: ERROR
Errors in running code in vignettes:
when running code in ‘simodels.Rmd’
...
> library(ggplot2)
> library(sf)
Linking to GEOS 3.11.0, GDAL 3.5.3, PROJ 9.1.0; sf_use_s2() is TRUE
> dim(zones_aus)
When sourcing ‘simodels.R’:
Error: object 'zones_aus' not found
Execution halted
‘simodels.Rmd’ using ‘UTF-8’... failed
‘sims-first-principles.Rmd’ using ‘UTF-8’... [21s/38s] OK
Flavor: r-oldrel-macos-x86_64
Current CRAN status: OK: 13
Current CRAN status: ERROR: 2, OK: 11
Version: 1.2.1
Check: package dependencies
Result: NOTE
Package suggested but not available for checking: ‘rsgeo’
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
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
Current CRAN status: OK: 13