CRAN Package Check Results for Package rassta

Last updated on 2022-08-09 20:53:58 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.4 4.93 304.11 309.04 OK
r-devel-linux-x86_64-debian-gcc 1.0.4 3.65 227.86 231.51 OK
r-devel-linux-x86_64-fedora-clang 1.0.4 369.79 OK
r-devel-linux-x86_64-fedora-gcc 1.0.4 360.22 OK
r-devel-windows-x86_64 1.0.4 34.00 335.00 369.00 OK
r-patched-linux-x86_64 1.0.4 3.94 286.10 290.04 OK
r-release-linux-x86_64 1.0.4 OK
r-release-macos-arm64 1.0.4 104.00 OK
r-release-macos-x86_64 1.0.4 128.00 ERROR
r-release-windows-x86_64 1.0.4 34.00 334.00 368.00 OK
r-oldrel-macos-arm64 1.0.4 81.00 OK
r-oldrel-macos-x86_64 1.0.4 133.00 ERROR
r-oldrel-windows-ix86+x86_64 1.0.4 12.00 376.00 388.00 OK

Check Details

Version: 1.0.4
Check: dependencies in R code
Result: WARN
    Missing or unexported objects:
     ‘terra::not.na’ ‘terra::where.max’
Flavors: r-release-macos-x86_64, r-oldrel-macos-x86_64

Version: 1.0.4
Check: examples
Result: ERROR
    Running examples in ‘rassta-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: locations
    > ### Title: Select Representative Sampling Locations for Stratification
    > ### Units
    > ### Aliases: locations
    >
    > ### ** Examples
    >
    > require(terra)
    Loading required package: terra
    terra 1.5.21
    > 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)
    > # Single-layer SpatRaster of stratification units
    > fsu <- list.files(path = p, pattern = "strata.tif", full.names = TRUE)
    > su <- terra::rast(fsu)
    > # Get 1 representative sampling location per stratification unit
    > rl <- locations(ls.rast = ls, su.rast = su)
    Error in { :
     task 1 failed - "task 1 failed - "'where.max' is not an exported object from 'namespace:terra'""
    Calls: locations -> %ps% -> <Anonymous>
    Execution halted
Flavors: r-release-macos-x86_64, r-oldrel-macos-x86_64

Version: 1.0.4
Check: tests
Result: ERROR
     Running ‘tinytest.R’ [4s/4s]
    Running the tests in ‘tests/tinytest.R’ failed.
    Last 13 lines of output:
     test_locations.R.............. 0 tests
     test_locations.R.............. 0 tests
     test_locations.R.............. 0 tests
     test_locations.R.............. 0 tests
     test_locations.R.............. 0 tests
     test_locations.R.............. 0 tests
     test_locations.R.............. 0 tests
     test_locations.R.............. 0 tests
     test_locations.R.............. 0 tests
     test_locations.R.............. 0 tests
     test_locations.R.............. 0 tests
     test_locations.R.............. 0 tests Error in { :
     task 1 failed - "task 1 failed - "'where.max' is not an exported object from 'namespace:terra'""
     Calls: <Anonymous> ... FUN -> eval -> eval -> locations -> %ps% -> <Anonymous>
     Execution halted
Flavor: r-release-macos-x86_64

Version: 1.0.4
Check: tests
Result: ERROR
     Running ‘tinytest.R’ [3s/3s]
    Running the tests in ‘tests/tinytest.R’ failed.
    Last 13 lines of output:
     test_locations.R.............. 0 tests
     test_locations.R.............. 0 tests
     test_locations.R.............. 0 tests
     test_locations.R.............. 0 tests
     test_locations.R.............. 0 tests
     test_locations.R.............. 0 tests
     test_locations.R.............. 0 tests
     test_locations.R.............. 0 tests
     test_locations.R.............. 0 tests
     test_locations.R.............. 0 tests
     test_locations.R.............. 0 tests
     test_locations.R.............. 0 tests Error in { :
     task 1 failed - "task 1 failed - "'where.max' is not an exported object from 'namespace:terra'""
     Calls: <Anonymous> ... FUN -> eval -> eval -> locations -> %ps% -> <Anonymous>
     Execution halted
Flavor: r-oldrel-macos-x86_64