Running ‘test-all.R’ [96s/134s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > library(testthat)
  > test_check("letsR")
  Loading required package: letsR
  Loading required package: raster
  Loading required package: sp
  The legacy packages maptools, rgdal, and rgeos, underpinning the sp package,
  which was just loaded, will retire in October 2023.
  Please refer to R-spatial evolution reports for details, especially
  https://r-spatial.org/r/2023/05/15/evolution4.html.
  It may be desirable to make the sf package available;
  package maintainers should consider adding sf to Suggests:.
  The sp package is now running under evolution status 2
       (status 2 uses the sf package in place of rgdal)
  Loading required package: maps
  Please note that 'maptools' will be retired during October 2023,
  plan transition at your earliest convenience (see
  https://r-spatial.org/r/2023/05/15/evolution4.html and earlier blogs
  for guidance);some functionality will be moved to 'sp'.
   Checking rgeos availability: TRUE
  Please note that rgdal will be retired during October 2023,
  plan transition to sf/stars/terra functions using GDAL and PROJ
  at your earliest convenience.
  See https://r-spatial.org/r/2023/05/15/evolution4.html and https://github.com/r-spatial/evolution
  rgdal: version: 1.6-7, (SVN revision 1203)
  Geospatial Data Abstraction Library extensions to R successfully loaded
  Loaded GDAL runtime: GDAL 3.4.3, released 2022/04/22
  Path to GDAL shared files: /usr/local/share/gdal
  GDAL binary built with GEOS: TRUE 
  Loaded PROJ runtime: Rel. 8.2.1, January 1st, 2022, [PJ_VERSION: 821]
  Path to PROJ shared files: /data/gannet/ripley/.local/share/proj:/usr/local/share/proj:/usr/local/share/proj
  PROJ CDN enabled: TRUE
  Linking to sp version:2.0-0
  To mute warnings of possible GDAL/OSR exportToProj4() degradation,
  use options("rgdal_show_exportToProj4_warnings"="none") before loading sp or rgdal.
  rgeos version: 0.6-4, (SVN revision 699)
   GEOS runtime version: 3.10.2-CAPI-1.16.0 
   Please note that rgeos will be retired during October 2023,
  plan transition to sf or terra functions using GEOS at your earliest convenience.
  See https://r-spatial.org/r/2023/05/15/evolution4.html for details.
   GEOS using OverlayNG
   Linking to sp version: 2.0-0 
   Polygon checking: TRUE 
  
  
  Class: PresenceAbsence 
  Number of species: 32 
  Number of cells: 1168
  Resolution: 1, 1 (x, y)
  
  Class: PresenceAbsence
  _ _
  Number of species: 32 
  Number of cells: 1168
  Cells with presence: 1168
  Cells without presence: 0
  Species without presence: 0
  Species with the largest range: Phyllomedusa hypochondrialis
  _ _
  Grid parameters
  Resolution: 1, 1 (x, y)
  Extention: -93, -29, -57, 15 (xmin, xmax, ymin, ymax)
  Coord. Ref.:  +proj=longlat +datum=WGS84[ FAIL 1 | WARN 0 | SKIP 18 | PASS 191 ]
  
  ══ Skipped tests (18) ══════════════════════════════════════════════════════════
  • On CRAN (16): 'test-lets_presab.R:6:3', 'test-lets_presab.R:20:3',
    'test-lets_presab.R:39:3', 'test-lets_presab.R:56:3',
    'test-lets_presab.R:72:3', 'test-lets_presab.R:94:3',
    'test-lets_presab.R:114:3', 'test-lets_presab.R:135:3',
    'test-lets_presab_birds.R:7:3', 'test-lets_presab_birds.R:21:3',
    'test-lets_presab_birds.R:37:3', 'test-lets_presab_birds.R:59:3',
    'test-lets_presab_birds.R:73:3', 'test-lets_presab_birds.R:90:3',
    'test-lets_presab_birds.R:104:3', 'test-lets_presab_birds.R:125:3'
  • empty test (2): 'test-printplotsummary.R:6:1', 'test-printplotsummary.R:15:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-lets_addvar.R:37:3'): lets.addvar works fine, multiple rasters ──
  Error in `lets.addvar(PAM, tempstack)`: The PAM object and the variable (raster) 
           should be in the same projection
  Backtrace:
      ▆
   1. └─letsR::lets.addvar(PAM, tempstack) at test-lets_addvar.R:37:2
  
  [ FAIL 1 | WARN 0 | SKIP 18 | PASS 191 ]
  Error: Test failures
  Execution halted