* using log directory ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/PKGS/wallace.Rcheck’
* using R version 4.4.3 RC (2025-02-20 r87814)
* using platform: x86_64-pc-linux-gnu
* R was compiled by
    gcc-14 (Debian 14.2.0-16) 14.2.0
    GNU Fortran (Debian 14.2.0-16) 14.2.0
* running under: Debian GNU/Linux trixie/sid
* using session charset: UTF-8
* checking for file ‘wallace/DESCRIPTION’ ... OK
* this is package ‘wallace’ version ‘2.1.3’
* package encoding: UTF-8
* checking package namespace information ... OK
* checking package dependencies ... OK
* 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 ‘wallace’ can be installed ... OK
See 'https://www.r-project.org/nosvn/R.check/r-patched-linux-x86_64/wallace-00install.html' for details.
* checking package directory ... OK
* checking for future file timestamps ... 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 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 ... [11s/14s] OK
* checking Rd files ... [1s/1s] 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 ... OK
* checking Rd \usage sections ... OK
* checking Rd contents ... OK
* checking for unstated dependencies in examples ... OK
* checking examples ... [4s/5s] OK
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ... [143s/217s] ERROR
  Running ‘testthat.R’ [143s/217s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > Sys.setenv("R_TEST" = "")
  > library(testthat)
  > library(wallace)
  Loading required package: shiny
  Loading required package: leaflet
  > 
  > test_check("wallace")
  trying URL 'https://www.dropbox.com/sh/kijh17ehg8v3uv8/AADWJOs0_8zQmhc0XJxJE9a2a/bio%20%23baseline_Modern%281950-1999%29%23%20CCSM_LGM%2821ka%29.txt?dl=1'
  Content type 'application/binary' length 86163749 bytes (82.2 MB)
  ==================================================
  downloaded 82.2 MB
  
  trying URL 'https://geodata.ucdavis.edu/climate/worldclim/2_1/base/wc2.1_10m_bio.zip'
  Content type 'application/zip' length 49869449 bytes (47.6 MB)
  ==================================================
  downloaded 47.6 MB
  
  Reading layer `Bassaricyon_neblina' from data source 
    `/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/wallace/extdata/shp/Bassaricyon_neblina.shp' 
    using driver `ESRI Shapefile'
  Simple feature collection with 1 feature and 1 field
  Geometry type: POLYGON
  Dimension:     XY
  Bounding box:  xmin: -79.47486 ymin: -1.15418 xmax: -74.50839 ymax: 6.83333
  CRS:           NA
  Reading layer `Bassaricyon_neblina' from data source 
    `/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/wallace/extdata/shp/Bassaricyon_neblina.shp' 
    using driver `ESRI Shapefile'
  Simple feature collection with 1 feature and 1 field
  Geometry type: POLYGON
  Dimension:     XY
  Bounding box:  xmin: -79.47486 ymin: -1.15418 xmax: -74.50839 ymax: 6.83333
  CRS:           NA
  Reading layer `Bassaricyon_neblina' from data source 
    `/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/wallace/extdata/shp/Bassaricyon_neblina.shp' 
    using driver `ESRI Shapefile'
  Simple feature collection with 1 feature and 1 field
  Geometry type: POLYGON
  Dimension:     XY
  Bounding box:  xmin: -79.47486 ymin: -1.15418 xmax: -74.50839 ymax: 6.83333
  CRS:           NA
  Reading layer `Bassaricyon_neblina' from data source 
    `/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/wallace/extdata/shp/Bassaricyon_neblina.shp' 
    using driver `ESRI Shapefile'
  Simple feature collection with 1 feature and 1 field
  Geometry type: POLYGON
  Dimension:     XY
  Bounding box:  xmin: -79.47486 ymin: -1.15418 xmax: -74.50839 ymax: 6.83333
  CRS:           NA
  Reading layer `Bassaricyon_neblina' from data source 
    `/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/wallace/extdata/shp/Bassaricyon_neblina.shp' 
    using driver `ESRI Shapefile'
  Simple feature collection with 1 feature and 1 field
  Geometry type: POLYGON
  Dimension:     XY
  Bounding box:  xmin: -79.47486 ymin: -1.15418 xmax: -74.50839 ymax: 6.83333
  CRS:           NA
  Reading layer `Bassaricyon_neblina' from data source 
    `/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/wallace/extdata/shp/Bassaricyon_neblina.shp' 
    using driver `ESRI Shapefile'
  Simple feature collection with 1 feature and 1 field
  Geometry type: POLYGON
  Dimension:     XY
  Bounding box:  xmin: -79.47486 ymin: -1.15418 xmax: -74.50839 ymax: 6.83333
  CRS:           NA
  [ FAIL 4 | WARN 1 | SKIP 5 | PASS 191 ]
  
  ══ Skipped tests (5) ═══════════════════════════════════════════════════════════
  • On CRAN (5): 'test_envs_ecoClimate.R:23:3', 'test_envs_ecoClimate.R:46:3',
    'test_envs_worldclim.R:27:3', 'test_occs_queryDb.R:85:3',
    'test_occs_queryDb.R:85:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_model_bioclim.R:17:1'): (code run outside of `test_that()`) ────
  Error in `ENMeval::ENMevaluate(occs = occs.xy, envs = bgMsk, bg = bg.xy, 
      algorithm = "bioclim", partitions = "user", user.grp = user.grp)`: From this version of ENMeval, the package will only use "terra" raster data types. Please convert from "raster" to "terra" with terra::rast(r), where r is a RasterStack.
  Backtrace:
      â–†
   1. └─wallace::model_bioclim(occs, bg, partblock, envs) at test_model_bioclim.R:17:1
   2.   ├─wallace::smartProgress(...)
   3.   └─ENMeval::ENMevaluate(...)
  ── Error ('test_model_maxent.R:49:3'): (code run outside of `test_that()`) ─────
  Error in `ENMeval::ENMevaluate(occs = as.data.frame(occs.xy), bg = as.data.frame(bg.xy), 
      partitions = "user", user.grp = user.grp, envs = bgMsk, tune.args = tune.args, 
      doClamp = clampSel, algorithm = algMaxent, categoricals = catEnvs, 
      parallel = parallel, numCores = numCores, parallelType = "doSNOW", 
      updateProgress = updateProgress, quiet = FALSE)`: unused argument (parallelType = "doSNOW")
  Backtrace:
      â–†
   1. └─wallace::model_maxent(...) at test_model_maxent.R:49:3
  ── Error ('test_part_partitionOccs.R:45:1'): (code run outside of `test_that()`) ──
  Error: [spatSample] not yet implemented for these strata
  Backtrace:
      â–†
   1. └─wallace::part_partitionOccs(...) at test_part_partitionOccs.R:45:1
   2.   ├─wallace::smartProgress(...)
   3.   └─ENMeval::get.checkerboard1(occs.xy, bgMask, bg.xy, aggFact)
   4.     └─ENMeval::get.checkerboard(...)
   5.       ├─terra::spatSample(...)
   6.       └─terra::spatSample(...)
   7.         └─terra (local) .local(x, ...)
   8.           └─terra:::error("spatSample", "not yet implemented for these strata")
  ── Error ('test_vis_bioclimPlot.R:19:1'): (code run outside of `test_that()`) ──
  Error in `ENMeval::ENMevaluate(occs = occs.xy, envs = bgMsk, bg = bg.xy, 
      algorithm = "bioclim", partitions = "user", user.grp = user.grp)`: From this version of ENMeval, the package will only use "terra" raster data types. Please convert from "raster" to "terra" with terra::rast(r), where r is a RasterStack.
  Backtrace:
      â–†
   1. └─wallace::model_bioclim(occs, bg, partblock, envs) at test_vis_bioclimPlot.R:19:1
   2.   ├─wallace::smartProgress(...)
   3.   └─ENMeval::ENMevaluate(...)
  
  [ FAIL 4 | WARN 1 | SKIP 5 | PASS 191 ]
  Error: Test failures
  Execution halted
* checking PDF version of manual ... [6s/8s] OK
* checking HTML version of manual ... [2s/3s] OK
* checking for non-standard things in the check directory ... OK
* DONE
Status: 1 ERROR