- 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 'voluModel/DESCRIPTION' ... OK
- this is package 'voluModel' version '0.2.3'
- 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 'voluModel' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking 'build' 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 ... [11s] OK
- checking whether the package can be loaded with stated dependencies ... [11s] OK
- checking whether the package can be unloaded cleanly ... [10s] OK
- checking whether the namespace can be loaded with stated dependencies ... [10s] OK
- checking whether the namespace can be unloaded cleanly ... [10s] OK
- checking loading without being on the library search path ... [11s] 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 ... [27s] 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 installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [15s] ERROR
Running examples in 'voluModel-Ex.R' failed
The error most likely occurred in:
> ### Name: diversityStack
> ### Title: Diversity stack
> ### Aliases: diversityStack
> ### Keywords: plotting
>
> ### ** Examples
>
> library(terra)
terra 1.8.86
> rast1 <- rast(ncol=10, nrow=10)
> values(rast1) <- rep(0:1, 50)
>
> rast2 <- rast(ncol=10, nrow=10)
> values(rast2) <- c(rep(0, 50), rep(1,50))
>
> rastList <- list(rast1, rast2)
> result <- diversityStack(rasterList = rastList,
+ template = rast2)
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)
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [25s] ERROR
Running 'testthat.R' [24s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(voluModel)
>
> test_check("voluModel")
terra 1.8.86
Attaching package: 'terra'
The following objects are masked from 'package:testthat':
compare, describe
Could not parse
spam, eggs, NA
into x and/or y coordinates.
Using longitude and latitude
as x and y coordinates, respectively.
Could not parse
spam, eggs, cheese
into x and/or y coordinates.
Using longitude, latitude, and depth
as x, y, and z coordinates, respectively.
Input SpatRaster vector names inappropriate:
a, b, c
Names must follow the format 'X' followed by a number corresponding to the starting depth of the layer.
Could not parse
into x and/or y coordinates.
Could not parse
into x and/or y coordinates.
Could not parse
cheese, eggs, NA
into x and/or y coordinates.
Could not parse
longitude, longitude, NA
into x and/or y coordinates.
Could not parse
latitude, latitude, NA
into x and/or y coordinates.
Could not parse
yak, yak, yak
into x and/or y coordinates.
Could not parse
xebu, xebu, xebu
into x and/or y coordinates.
Could not parse
xebu, xebu, xebu
into x and/or y coordinates.
Could not parse
xebu, xebu, xebu
into x and/or y coordinates.
Could not parse
xebu, xebu, xebu
into x and/or y coordinates.
Could not parse
cheese, eggs, spam
into x and/or y coordinates.
Could not parse
longitude, longitude, depth
into x and/or y coordinates.
Could not parse
latitude, latitude, depth
into x and/or y coordinates.
Could not parse
longitude, depth, depth
into x and/or y coordinates.
Could not parse
y, yum, X
into x, y, and/or z coordinates.
Could not parse
x, exlax, depth
into x and/or y coordinates.
Could not parse
z, z, sneeze
into x and/or y coordinates.
Could not parse
z, z, sneeze
into x and/or y coordinates.
Argument 'verbose' is not of type 'logical'.
Could not parse
spam, eggs
into x and/or y coordinates.
Using longitude and latitude
as x and y coordinates, respectively.
Using longitude and latitude
as x and y coordinates, respectively.
Loading required package: spam
Spam version 2.11-1 (2025-01-20) is loaded.
Type 'help( Spam)' or 'demo( spam)' for a short introduction
and overview of this package.
Help for individual functions is also obtained by adding the
suffix '.spam' to the function name, e.g. 'help( chol.spam)'.
Attaching package: 'spam'
The following objects are masked from 'package:base':
backsolve, forwardsolve
Loading required package: viridisLite
Loading required package: RColorBrewer
Try help(fields) to get started.
Attaching package: 'fields'
The following object is masked from 'package:terra':
describe
The following object is masked from 'package:testthat':
describe
Could not parse
eggs, spam, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA
into x and/or y coordinates.
Argument 'clipToOcean' is not of type 'logical'.
Argument 'clipToOcean' is not of type 'logical'.
Argument 'clipToOcean' is not of type 'logical'.
Argument 'clipToOcean' is not of type 'logical'.
Argument 'clipToOcean' is not of type 'logical'.
Argument 'clipToOcean' is not of type 'logical'.
Argument 'clipToOcean' is not of type 'logical'.
Argument 'clipToOcean' is not of type 'logical'.
Attaching package: 'dplyr'
The following objects are masked from 'package:terra':
intersect, union
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
Using longitude, latitude, and depth
as x, y, and z coordinates, respectively.
Using longitude, latitude, and depth
as x, y, and z coordinates, respectively.
Could not parse
scientificName, decimalLongitude
into x and/or y coordinates.
Using decimalLongitude and decimalLatitude
as x and y coordinates, respectively.
Argument 'verbose' is not of type 'logical'.
Using decimalLongitude and decimalLatitude
as x and y coordinates, respectively.
Using decimalLongitude and decimalLatitude
as x and y coordinates, respectively.
Could not parse
scientificName, decimalLongitude
into x and/or y coordinates.
First set of occurrences: Using decimalLongitude and decimalLatitude
as x and y coordinates, respectively.
Could not parse
scientificName, decimalLongitude
into x and/or y coordinates.
Argument 'verbose' is not of type 'logical'.
First set of occurrences: Using decimalLongitude and y
as x and y coordinates, respectively.
Second set of occurrences: Using decimalLongitude and decimalLatitude
as x and y coordinates, respectively.
First set of occurrences: Using decimalLongitude and decimalLatitude
as x and y coordinates, respectively.
Second set of occurrences: Using decimalLongitude and decimalLatitude
as x and y coordinates, respectively.
First set of occurrences: Using decimalLongitude and decimalLatitude
as x and y coordinates, respectively.
Second set of occurrences: Using decimalLongitude and decimalLatitude
as x and y coordinates, respectively.
First set of occurrences: Using decimalLongitude and decimalLatitude
as x and y coordinates, respectively.
Second set of occurrences: Using decimalLongitude and decimalLatitude
as x and y coordinates, respectively.
First set of occurrences: Using decimalLongitude and decimalLatitude
as x and y coordinates, respectively.
Second set of occurrences: Using decimalLongitude and decimalLatitude
as x and y coordinates, respectively.
First set of occurrences: Using decimalLongitude and decimalLatitude
as x and y coordinates, respectively.
Second set of occurrences: Using decimalLongitude and decimalLatitude
as x and y coordinates, respectively.
'rast2' was null. Replaced with blank raster.
'rast1' was null. Replaced with blank raster.
Both 'rast1' and 'rast2' were null.
They were replaced with blank rasters.
'rast2' was null. Replaced with blank raster.
'rast1' was null. Replaced with blank raster.
Both 'rast1' and 'rast2' were null.
They were replaced with blank rasters.
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [281s] OK
- checking PDF version of manual ... [23s] OK
- checking HTML version of manual ... [5s] OK
- DONE
Status: 2 ERRORs