CRAN Package Check Results for Maintainer ‘Bryan A. Fuentes <bryandrep at gmail.com>’

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

Package ERROR OK
rassta 2 11

Package rassta

Current CRAN status: ERROR: 2, OK: 11

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