Running 'test-all.R' [23s]
Running the tests in 'tests/test-all.R' failed.
Complete output:
  > Sys.setenv("R_TESTS" = "")
  > library(testthat)
  > test_check("zoon")
  Loading required package: zoon
  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)
  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.6.2, released 2023/01/02
  Path to GDAL shared files: D:/RCompile/CRANpkg/lib/4.4/rgdal/gdal
   GDAL does not use iconv for recoding strings.
  GDAL binary built with GEOS: TRUE 
  Loaded PROJ runtime: Rel. 9.2.0, March 1st, 2023, [PJ_VERSION: 920]
  Path to PROJ shared files: D:/RCompile/CRANpkg/lib/4.4/rgdal/proj
  PROJ CDN enabled: FALSE
  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.
  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: FALSE
  [ FAIL 4 | WARN 72 | SKIP 31 | PASS 192 ]
  
  ══ Skipped tests (31) ══════════════════════════════════════════════════════════
  • On CRAN (31): 'testChangeWorkflow.R:4:3', 'testChangeWorkflow.R:32:3',
    'testChangeWorkflow.R:153:3', 'testChangeWorkflow.R:230:3',
    'testChangeWorkflow.R:298:3', 'testGetMaxEnt.R:6:3',
    'testModuleArguments.R:4:3', 'testRerunWorkflow.R:9:3',
    'testRerunWorkflow.R:29:3', 'testRerunWorkflow.R:52:3',
    'testRerunWorkflow.R:99:3', 'testRerunWorkflow.R:131:3',
    'testRerunWorkflow.R:163:3', 'testWholeWorkflows.R:14:3',
    'testWholeWorkflows.R:47:3', 'testWholeWorkflows.R:78:3',
    'testWholeWorkflows.R:109:3', 'testWholeWorkflows.R:218:3',
    'testWholeWorkflows.R:260:3', 'testWholeWorkflows.R:290:3',
    'testWholeWorkflows.R:426:3', 'testWholeWorkflows.R:458:3',
    'testWholeWorkflows.R:525:3', 'testZoonCitation.R:4:3',
    'testcall_path.R:4:3', 'testplot.zoonCitation.R:4:3',
    'testplot.zoonWorkflow.r:6:3', 'testplot.zoonWorkflow.r:66:3',
    'testprint.zoonWorkflow.R:4:3', 'testsummary.zoonWorkflow.R:4:3',
    'testtestModule.R:4:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('testTransformCRS.R:25:3'): Expected errors ────────────────────────
  `zoon:::TransformCRS(occ_data_error, "+init=epsg:27700")` threw an error with unexpected message.
  Expected match: "CRS provided in occurrence data"
  Actual message: "source crs creation failed: Invalid PROJ string syntax"
  Backtrace:
      ▆
   1. ├─testthat::expect_error(...) at testTransformCRS.R:25:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─zoon:::TransformCRS(occ_data_error, "+init=epsg:27700")
   7.   ├─sp::spTransform(x = LL_points, CRSobj = CRS(ras_projection))
   8.   └─rgdal (local) spTransform(x = LL_points, CRSobj = CRS(ras_projection))
  ── Failure ('testTransformCRS.R:29:3'): Expected errors ────────────────────────
  `zoon:::TransformCRS(occ_data, "tom")` threw an error with unexpected message.
  Expected match: "CRS provided in covariate data"
  Actual message: "source crs creation failed: Invalid PROJ string syntax"
  Backtrace:
      ▆
   1. ├─testthat::expect_error(...) at testTransformCRS.R:29:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─zoon:::TransformCRS(occ_data, "tom")
   7.   ├─sp::spTransform(x = LL_points, CRSobj = CRS(ras_projection))
   8.   └─rgdal (local) spTransform(x = LL_points, CRSobj = CRS(ras_projection))
  ── Error ('testTransformCRS.R:62:3'): occurrence data is handled as expected when CRSs vary ──
  Error in `spTransform(x = LL_points, CRSobj = CRS(ras_projection))`: source crs creation failed: Invalid PROJ string syntax
  Backtrace:
      ▆
   1. └─zoon:::TransformCRS(occ_data, "+init=epsg:4326") at testTransformCRS.R:62:2
   2.   ├─sp::spTransform(x = LL_points, CRSobj = CRS(ras_projection))
   3.   └─rgdal (local) spTransform(x = LL_points, CRSobj = CRS(ras_projection))
  ── Error ('testTransformCRS.R:191:3'): Handles NA values and blanks ────────────
  Error in `spTransform(x = LL_points, CRSobj = CRS(ras_projection))`: source crs creation failed: Invalid PROJ string syntax
  Backtrace:
      ▆
   1. └─zoon:::TransformCRS(occ_data, "+init=epsg:4326") at testTransformCRS.R:191:2
   2.   ├─sp::spTransform(x = LL_points, CRSobj = CRS(ras_projection))
   3.   └─rgdal (local) spTransform(x = LL_points, CRSobj = CRS(ras_projection))
  
  [ FAIL 4 | WARN 72 | SKIP 31 | PASS 192 ]
  Error: Test failures
  Execution halted