Last updated on 2024-03-28 06:53:02 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.6.3 | 12.74 | 278.76 | 291.50 | NOTE | |
r-devel-linux-x86_64-debian-gcc | 0.6.3 | 9.52 | 205.53 | 215.05 | NOTE | |
r-devel-linux-x86_64-fedora-clang | 0.6.3 | 344.06 | NOTE | |||
r-devel-linux-x86_64-fedora-gcc | 0.6.3 | 351.09 | ERROR | |||
r-devel-windows-x86_64 | 0.6.3 | 14.00 | 219.00 | 233.00 | NOTE | |
r-patched-linux-x86_64 | 0.6.3 | 12.16 | 271.60 | 283.76 | OK | |
r-release-linux-x86_64 | 0.6.3 | 8.27 | 268.64 | 276.91 | OK | |
r-release-macos-arm64 | 0.6.3 | 112.00 | OK | |||
r-release-macos-x86_64 | 0.6.3 | 186.00 | OK | |||
r-release-windows-x86_64 | 0.6.3 | 19.00 | 278.00 | 297.00 | OK | |
r-oldrel-macos-arm64 | 0.6.3 | 74.00 | OK | |||
r-oldrel-windows-x86_64 | 0.6.3 | 21.00 | 281.00 | 302.00 | OK |
Version: 0.6.3
Check: Rd files
Result: NOTE
checkRd: (-1) spatial_morphers.Rd:112: Lost braces
112 | geospatial features as object of class code{\link[sf]{sf}} or
| ^
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-devel-windows-x86_64
Version: 0.6.3
Check: examples
Result: ERROR
Running examples in ‘sfnetworks-Ex.R’ failed
The error most likely occurred in:
> ### Name: as_sfnetwork
> ### Title: Convert a foreign object to a sfnetwork
> ### Aliases: as_sfnetwork as_sfnetwork.default as_sfnetwork.sf
> ### as_sfnetwork.linnet as_sfnetwork.psp as_sfnetwork.sfc
> ### as_sfnetwork.sfNetwork as_sfnetwork.sfnetwork as_sfnetwork.tbl_graph
>
> ### ** Examples
>
> # From an sf object.
> library(sf, quietly = TRUE)
Linking to GEOS 3.10.2, GDAL 3.4.3, PROJ 8.2.1; sf_use_s2() is TRUE
>
> # With LINESTRING geometries.
> as_sfnetwork(roxel)
# A sfnetwork with 701 nodes and 851 edges
#
# CRS: EPSG:4326
#
# A directed multigraph with 14 components with spatially explicit edges
#
# A tibble: 701 × 1
geometry
<POINT [°]>
1 (7.533722 51.95556)
2 (7.533461 51.95576)
3 (7.532442 51.95422)
4 (7.53209 51.95328)
5 (7.532709 51.95209)
6 (7.532869 51.95257)
# ℹ 695 more rows
#
# A tibble: 851 × 5
from to name type geometry
<int> <int> <chr> <fct> <LINESTRING [°]>
1 1 2 Havixbecker Strasse residential (7.533722 51.95556, 7.533461 51…
2 3 4 Pienersallee secondary (7.532442 51.95422, 7.53236 51.…
3 5 6 Schulte-Bernd-Strasse residential (7.532709 51.95209, 7.532823 51…
# ℹ 848 more rows
>
> oldpar = par(no.readonly = TRUE)
> par(mar = c(1,1,1,1), mfrow = c(1,2))
> plot(st_geometry(roxel))
> plot(as_sfnetwork(roxel))
> par(oldpar)
>
> # With POINT geometries.
> p1 = st_point(c(7, 51))
> p2 = st_point(c(7, 52))
> p3 = st_point(c(8, 52))
> points = st_as_sf(st_sfc(p1, p2, p3))
> as_sfnetwork(points)
# A sfnetwork with 3 nodes and 2 edges
#
# CRS: NA
#
# A rooted tree with spatially explicit edges
#
# A tibble: 3 × 1
x
<POINT>
1 (7 51)
2 (7 52)
3 (8 52)
#
# A tibble: 2 × 3
from to x
<int> <int> <LINESTRING>
1 1 2 (7 51, 7 52)
2 2 3 (7 52, 8 52)
>
> oldpar = par(no.readonly = TRUE)
> par(mar = c(1,1,1,1), mfrow = c(1,2))
> plot(st_geometry(points))
> plot(as_sfnetwork(points))
> par(oldpar)
>
> # From a linnet object.
> if (require(spatstat.geom, quietly = TRUE)) {
+ as_sfnetwork(simplenet)
+ }
spatstat.geom 3.2-9
Error in .make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version) :
invalid non-character version specification 'x' (type: double)
Calls: as_sfnetwork ... as.numeric_version -> numeric_version -> .make_numeric_version
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.6.3
Check: tests
Result: ERROR
Running ‘testthat.R’ [34s/129s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(sfnetworks)
>
> test_check("sfnetworks")
[ FAIL 1 | WARN 1 | SKIP 0 | PASS 277 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_spatstat.R:9:5'): Converting sfnetwork to linnet works with projected coords ──
Error in `.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)`: invalid non-character version specification 'x' (type: double)
Backtrace:
▆
1. ├─base::suppressWarnings(roxel_linnet <- as.linnet(roxel_sfn)) at test_spatstat.R:9:5
2. │ └─base::withCallingHandlers(...)
3. ├─spatstat.linnet::as.linnet(roxel_sfn)
4. └─sfnetworks:::as.linnet.sfnetwork(roxel_sfn)
5. └─sfnetworks:::check_spatstat("spatstat.geom")
6. └─base::Ops.numeric_version(spst_ver, 2 - 0)
7. └─base::as.numeric_version(e2)
8. └─base::numeric_version(x)
9. └─base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)
[ FAIL 1 | WARN 1 | SKIP 0 | PASS 277 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc