CRAN Package Check Results for Package rassta

Last updated on 2022-08-15 08:50:05 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.4 4.59 301.18 305.77 OK
r-devel-linux-x86_64-debian-gcc 1.0.4 4.23 227.87 232.10 OK
r-devel-linux-x86_64-fedora-clang 1.0.4 356.53 OK
r-devel-linux-x86_64-fedora-gcc 1.0.4 360.22 OK
r-devel-windows-x86_64 1.0.4 32.00 329.00 361.00 OK
r-patched-linux-x86_64 1.0.4 3.84 284.97 288.81 OK
r-release-linux-x86_64 1.0.4 4.92 289.05 293.97 OK
r-release-macos-arm64 1.0.4 104.00 OK
r-release-macos-x86_64 1.0.4 123.00 ERROR
r-release-windows-x86_64 1.0.4 43.00 322.00 365.00 OK
r-oldrel-macos-arm64 1.0.4 81.00 OK
r-oldrel-macos-x86_64 1.0.4 138.00 ERROR
r-oldrel-windows-ix86+x86_64 1.0.4 13.00 377.00 390.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