Last updated on 2025-12-03 05:50:58 CET.
| Package | ERROR | OK |
|---|---|---|
| geoprofiler | 1 | 12 |
| tectonicr | 13 |
Current CRAN status: ERROR: 1, OK: 12
Version: 0.0.2
Check: examples
Result: ERROR
Running examples in 'geoprofiler-Ex.R' failed
The error most likely occurred in:
> ### Name: swath_stats
> ### Title: Summary Statistics on Swath Elevation Profile
> ### Aliases: swath_stats
>
> ### ** Examples
>
> # Create a random raster
> r <- terra::rast(ncol = 10, nrow = 10, xmin = -150, xmax = -80, ymin = 20, ymax = 60)
> terra::values(r) <- runif(terra::ncell(r))
>
> # Create a random profile
> profile <- data.frame(lon = c(-140, -90), lat = c(55, 25)) |>
+ sf::st_as_sf(coords = c("lon", "lat"), crs = "WGS84")
> swath <- swath_profile(profile, r, k = 5, dist = 10)
Warning: PROJ: proj_create: no database context specified (GDAL error 1)
Warning: PROJ: proj_create: no database context specified (GDAL error 1)
Warning: PROJ: proj_create: no database context specified (GDAL error 1)
Error: [project] cannot get output boundaries for the target crs
Execution halted
Flavor: r-oldrel-windows-x86_64
Version: 0.0.2
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building 'A_Distances.Rmd' using rmarkdown
--- finished re-building 'A_Distances.Rmd'
--- re-building 'B_Swath.Rmd' using rmarkdown
Quitting from B_Swath.Rmd:58-69 [load_data]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! [project] cannot get output boundaries for the target crs
---
Backtrace:
▆
1. ├─terra::project(...)
2. └─terra::project(...)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(x, "project")
5. └─terra:::error(f, x@pntr$getError())
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'B_Swath.Rmd' failed with diagnostics:
[project] cannot get output boundaries for the target crs
--- failed re-building 'B_Swath.Rmd'
SUMMARY: processing the following file failed:
'B_Swath.Rmd'
Error: Vignette re-building failed.
Execution halted
Flavor: r-oldrel-windows-x86_64
Current CRAN status: OK: 13