- using R Under development (unstable) (2026-11-08 r90859)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 23.1.5 (2)
Debian flang version 23.1.5 (2)
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-11-10 11:02:06 UTC
- checking for file ‘soilDB/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘soilDB’ version ‘2.9.2’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [3s/5s] OK
- checking package namespace information ... OK
- checking package dependencies ... INFO
Packages suggested but not available for checking: 'terra', 'raster'
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘soilDB’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/1s] OK
- checking whether startup messages can be suppressed ... [1s/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 ... [41s/50s] NOTE
Found calls to structure() using deprecated special names:
soilDB/tests/testthat/test-simplifyFragmentData.R (.Label: 6, .Names: 3)
soilDB/tests/testthat/test-uncode.R (.Label: 3)
'.Label' should be changed to 'levels'.
'.Names' should be changed to 'names'.
- checking Rd files ... [1s/2s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... INFO
Exported functions without usage information:
get_NASIS_fkey_by_name get_NASIS_pkey_by_name
get_NASIS_pkeyref_by_name
- 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 ... [0s/1s] OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [3s/4s] ERROR
Running examples in ‘soilDB-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: fetchSOLUS
> ### Title: Fetch Soil Landscapes of the United States (SOLUS) Grids
> ### Aliases: fetchSOLUS
>
> ### ** Examples
>
> ## Don't show:
> if (curl::has_internet() && requireNamespace("httr", quietly = TRUE) && requireNamespace("sf", quietly = TRUE) && packageVersion("terra") >= '1.8.93' && terra::proj_ok() && requireNamespace("aqp", quietly = TRUE)) withAutoprint({ # examplesIf
+ ## End(Don't show)
+
+ ## Not run:
+ ##D b <- c(-119.747629, -119.67935, 36.912019, 36.944987)
+ ##D
+ ##D bbox.sp <- sf::st_as_sf(wk::rct(
+ ##D xmin = b[1], xmax = b[2], ymin = b[3], ymax = b[4],
+ ##D crs = sf::st_crs(4326)
+ ##D ))
+ ##D
+ ##D ssurgo.geom <- soilDB::SDA_spatialQuery(
+ ##D bbox.sp,
+ ##D what = 'mupolygon',
+ ##D db = 'SSURGO',
+ ##D geomIntersection = TRUE
+ ##D )
+ ##D
+ ##D # grid output
+ ##D res <- fetchSOLUS(
+ ##D ssurgo.geom,
+ ##D depth_slices = "0",
+ ##D variables = c("sandtotal", "silttotal", "claytotal", "cec7"),
+ ##D output_type = "prediction"
+ ##D )
+ ##D
+ ##D terra::plot(res)
+ ##D
+ ##D # SoilProfileCollection output, using linear interpolation for 1cm slices
+ ##D # site-level variables (e.g. resdept) added to site data.frame of SPC
+ ##D res <- fetchSOLUS(
+ ##D ssurgo.geom,
+ ##D depth_slices = c("0", "5", "15", "30", "60", "100", "150"),
+ ##D variables = c("sandtotal", "silttotal", "claytotal", "cec7", "resdept"),
+ ##D output_type = "prediction",
+ ##D method = "linear",
+ ##D grid = FALSE,
+ ##D samples = 10
+ ##D )
+ ##D
+ ##D # plot, truncating each profile to the predicted restriction depth
+ ##D aqp::plotSPC(trunc(res, 0, res$resdept_p), color = "claytotal_p", divide.hz = FALSE)
+ ## End(Not run)
+ ## Don't show:
+ }) # examplesIf
Error in packageVersion("terra") : there is no package called ‘terra’
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [17s/20s] OK
Running ‘testthat.R’ [16s/19s]
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [14s/20s] OK
- checking PDF version of manual ... [14s/18s] OK
- checking HTML version of manual ... [6s/8s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR, 1 NOTE