- using R version 4.4.3 (2025-02-28 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 13.3.0
GNU Fortran (GCC) 13.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'nswgeo/DESCRIPTION' ... OK
- this is package 'nswgeo' version '0.5.0'
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'nswgeo' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s] OK
- checking whether the package can be unloaded cleanly ... [1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s] OK
- checking loading without being on the library search path ... [1s] OK
- checking whether startup messages can be suppressed ... [1s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [3s] OK
- checking Rd files ... [1s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of 'data' directory ... OK
- checking data for non-ASCII characters ... [1s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking R/sysdata.rda ... OK
- checking examples ... [9s] ERROR
Running examples in 'nswgeo-Ex.R' failed
The error most likely occurred in:
> ### Name: outline
> ### Title: New South Wales outline with or without related territories
> ### Aliases: outline
>
> ### ** Examples
>
> library(ggplot2)
>
> outline(lord_howe_island = TRUE) |> ggplot() + geom_sf()
Error in `geom_sf()`:
! Problem while setting up geom aesthetics.
ℹ Error occurred in the 1st layer.
Caused by error in `attributes(lst) <- a`:
! dims [product 2] do not match the length of object [0]
Backtrace:
▆
1. ├─base (local) `<fn>`(x)
2. ├─ggplot2 (local) `print.ggplot2::ggplot`(x)
3. │ ├─ggplot2::ggplot_build(x)
4. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(x)
5. │ └─ggplot2:::by_layer(...)
6. │ ├─rlang::try_fetch(...)
7. │ │ ├─base::tryCatch(...)
8. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. │ │ └─base::withCallingHandlers(...)
12. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]])
13. │ └─l$compute_geom_2(d, theme = plot@theme)
14. │ └─ggplot2 (local) compute_geom_2(..., self = self)
15. │ └─ggproto_parent(Layer, self)$compute_geom_2(data, params, ...)
16. │ └─ggplot2 (local) compute_geom_2(..., self = self)
17. │ └─self$geom$use_defaults(...)
18. │ └─ggplot2 (local) use_defaults(..., self = self)
19. │ └─vctrs::vec_c(points, lines, others, collections)
20. │ └─vctrs (local) `<fn>`()
21. │ ├─vctrs:::vec_restore_dispatch(x = x, to = to)
22. │ └─sf:::vec_restore.sfc(x = x, to = to)
23. │ └─sf::st_sfc(x, crs = st_crs(to), precision = st_precision(to))
24. └─base::.handleSimpleError(...)
25. └─rlang (local) h(simpleError(msg, call))
26. └─handlers[[1L]](cnd)
27. └─cli::cli_abort(...)
28. └─rlang::abort(...)
Execution halted
- checking PDF version of manual ... [18s] OK
- checking HTML version of manual ... [3s] OK
- DONE
Status: 1 ERROR