CRAN Package Check Results for Package rassta

Last updated on 2022-05-27 15:51:48 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.3 4.45 330.44 334.89 OK
r-devel-linux-x86_64-debian-gcc 1.0.3 3.71 234.86 238.57 OK
r-devel-linux-x86_64-fedora-clang 1.0.3 374.33 OK
r-devel-linux-x86_64-fedora-gcc 1.0.3 358.40 OK
r-devel-windows-x86_64 1.0.3 33.00 344.00 377.00 OK
r-patched-linux-x86_64 1.0.3 4.62 309.33 313.95 OK
r-release-linux-x86_64 1.0.3 3.75 309.31 313.06 OK
r-release-macos-arm64 1.0.3 149.00 ERROR
r-release-macos-x86_64 1.0.3 173.00 OK
r-release-windows-x86_64 1.0.3 41.00 354.00 395.00 OK
r-oldrel-macos-arm64 1.0.3 134.00 OK
r-oldrel-macos-x86_64 1.0.3 138.00 OK
r-oldrel-windows-ix86+x86_64 1.0.3 11.00 369.00 380.00 OK

Check Details

Version: 1.0.3
Check: dependencies in R code
Result: WARN
    Missing or unexported object: ‘terra::sprc’
Flavor: r-release-macos-arm64

Version: 1.0.3
Check: examples
Result: ERROR
    Running examples in ‘rassta-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: engine
    > ### Title: Predictive Modeling Engine
    > ### Aliases: engine
    >
    > ### ** Examples
    >
    > require(terra)
    Loading required package: terra
    terra version 1.4.22
    > p <- system.file("exdat", package = "rassta")
    > # Multi-layer SpatRaster of landscape similarities
    > fls <- list.files(path = p, pattern = "su_", full.names = TRUE)
    > ls <- terra::rast(fls)
    > # Numeric code and representative response value for stratification units
    > fro <-list.files(path = p, pattern = "repobs.csv", full.names = TRUE)
    > ro <- read.csv(fro)
    > # Extract only those stratification units with representative value
    > ls <- ls[[as.character(ro$SU)]]
    > # SpatVector with processing tiles
    > fti <- list.files(path = p, pattern = "tiles.shp", full.names = TRUE)
    > ti <- terra::vect(fti)
    > # Directory for temporary files
    > o <- tempdir()
    > # Perform predictive modeling of continuous response
    > r <- engine(res.type = "cont", ls.rast = ls, n.win = 2, su.repobs = ro,
    + tiles = ti, outdir = o, overwrite = TRUE
    + )
    Error in { :
     task 1 failed - "'sprc' is not an exported object from 'namespace:terra'"
    Calls: engine -> %ps% -> <Anonymous>
    Execution halted
Flavor: r-release-macos-arm64