Last updated on 2025-12-04 09:50:28 CET.
| Package | ERROR | OK |
|---|---|---|
| auk | 13 | |
| colorist | 13 | |
| ebirdst | 1 | 12 |
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: ERROR: 1, OK: 12
Version: 3.2023.1
Check: examples
Result: ERROR
Running examples in 'ebirdst-Ex.R' failed
The error most likely occurred in:
> ### Name: assign_to_grid
> ### Title: Assign points to a spacetime grid
> ### Aliases: assign_to_grid
>
> ### ** Examples
>
> set.seed(1)
>
> # generate some example points
> points_xyt <- data.frame(x = runif(100), y = runif(100), t = rnorm(100))
> # assign to grid
> cells <- assign_to_grid(points_xyt, res = c(0.1, 0.1, 0.5))
>
> # assign a second set of points to the same grid
> assign_to_grid(points_xyt, grid_definition = attr(cells, "grid_definition"))
# A tibble: 100 × 2
cell_xy cell_xyt
<chr> <chr>
1 4-7 4-7-4
2 5-4 5-4-5
3 7-3 7-3-3
4 10-10 10-10-6
5 3-7 3-7-4
6 10-3 10-3-9
7 10-2 10-2-7
8 8-5 8-5-7
9 7-10 7-10-6
10 2-7 2-7-9
# ℹ 90 more rows
>
> # assign lon-lat points to a 10km space-only grid
> points_ll <- data.frame(longitude = runif(100, min = -180, max = 180),
+ latitude = runif(100, min = -90, max = 90))
> assign_to_grid(points_ll, res = c(10000, 10000), is_lonlat = TRUE)
Warning: PROJ: proj_create_from_database: Cannot find proj.db (GDAL error 1)
Warning: [vect] Cannot set SRS to vector: empty srs
Error: [project] input crs is not valid
Execution halted
Flavor: r-oldrel-windows-x86_64
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.