Running ‘test-all.R’ [51s/68s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > library(testthat)
  > 
  > # NOTE: ALL OPTIONS ARE BEING SET IN tests/testthat/setup.R
  > 
  > ## run all tests using different combinations of env vars
  > if (nzchar(Sys.getenv("NOT_CRAN")) && as.logical(Sys.getenv("NOT_CRAN"))) {
  +   Sys.setenv(R_REPRODUCIBLE_RASTER_READ = "raster::raster")
  +   Sys.setenv(R_REPRODUCIBLE_USE_DBI = "false")
  +   test_check("reproducible")
  + 
  +   Sys.setenv(R_REPRODUCIBLE_RASTER_READ = "raster::raster")
  +   Sys.setenv(R_REPRODUCIBLE_USE_DBI = "true")
  +   test_check("reproducible")
  + 
  +   Sys.setenv(R_REPRODUCIBLE_RASTER_READ = "terra::rast") ## default
  +   Sys.setenv(R_REPRODUCIBLE_USE_DBI = "false") ## default
  +   test_check("reproducible")
  + 
  +   Sys.setenv(R_REPRODUCIBLE_RASTER_READ = "terra::rast")
  +   Sys.setenv(R_REPRODUCIBLE_USE_DBI = "true")
  +   test_check("reproducible")
  + 
  +   Sys.setenv(R_REPRODUCIBLE_CACHESAVEFORMAT = "qs") ## default
  +   Sys.setenv(R_REPRODUCIBLE_USE_DBI = "false") ## default
  +   test_check("reproducible")
  + 
  + } else {
  +   test_check("reproducible")
  + }
  Loading required package: reproducible
  
  Attaching package: 'data.table'
  
  The following object is masked from 'package:base':
  
      %notin%
  
  [ FAIL 1 | WARN 0 | SKIP 94 | PASS 477 ]
  
  ══ Skipped tests (94) ══════════════════════════════════════════════════════════
  • No Drive token (3): 'test-misc.R:141:3', 'test-prepInputs.R:1196:3',
    'test-prepInputs.R:1215:3'
  • On CRAN (86): 'test-cache.R:158:3', 'test-cache.R:924:3',
    'test-cache.R:944:3', 'test-cache.R:1157:3', 'test-cache.R:1730:3',
    'test-cache.R:1862:3', 'test-cache.R:1874:3', 'test-cacheGeo.R:2:3',
    'test-cloud.R:2:3', 'test-cloud.R:147:3', 'test-cloud.R:190:3',
    'test-cloud.R:214:3', 'test-cloud.R:238:3', 'test-cluster.R:2:3',
    'test-filesMissingExtension.R:2:3', 'test-filesMissingExtension.R:17:3',
    'test-filesMissingExtension.R:32:3', 'test-filesMissingExtension.R:48:3',
    'test-filesMissingExtension.R:63:3', 'test-gis.R:2:3', 'test-misc.R:62:3',
    'test-postProcess.R:2:3', 'test-postProcess.R:232:3',
    'test-postProcess.R:280:3', 'test-preProcessDoesntWork.R:2:3',
    'test-preProcessDoesntWork.R:123:3', 'test-preProcessDoesntWork.R:139:3',
    'test-preProcessDoesntWork.R:153:3', 'test-preProcessDoesntWork.R:183:3',
    'test-preProcessWorks.R:2:3', 'test-preProcessWorks.R:13:3',
    'test-preProcessWorks.R:24:3', 'test-preProcessWorks.R:33:3',
    'test-preProcessWorks.R:55:3', 'test-preProcessWorks.R:78:3',
    'test-preProcessWorks.R:90:3', 'test-preProcessWorks.R:104:3',
    'test-preProcessWorks.R:120:3', 'test-preProcessWorks.R:135:3',
    'test-preProcessWorks.R:151:3', 'test-preProcessWorks.R:166:3',
    'test-preProcessWorks.R:195:3', 'test-preProcessWorks.R:233:3',
    'test-preProcessWorks.R:266:3', 'test-preProcessWorks.R:281:3',
    'test-preProcessWorks.R:296:3', 'test-preProcessWorks.R:311:3',
    'test-preProcessWorks.R:322:3', 'test-preProcessWorks.R:338:3',
    'test-preProcessWorks.R:356:3', 'test-preProcessWorks.R:367:3',
    'test-preProcessWorks.R:378:3', 'test-preProcessWorks.R:393:3',
    'test-preProcessWorks.R:409:3', 'test-preProcessWorks.R:438:3',
    'test-preProcessWorks.R:459:3', 'test-preProcessWorks.R:491:3',
    'test-preProcessWorks.R:545:3', 'test-preProcessWorks.R:572:3',
    'test-preProcessWorks.R:689:3', 'test-prepInputs-large-files.R:2:3',
    'test-prepInputs-large-files.R:34:3', 'test-prepInputs-large-files.R:58:3',
    'test-prepInputs.R:2:3', 'test-prepInputs.R:178:3',
    'test-prepInputs.R:319:3', 'test-prepInputs.R:1133:3',
    'test-prepInputs.R:1332:3', 'test-prepInputs.R:1507:3',
    'test-prepInputs.R:1598:3', 'test-prepInputs.R:1877:3',
    'test-prepInputs.R:1899:3', 'test-prepInputs.R:2030:3',
    'test-prepInputs.R:2073:3', 'test-prepInputsInNestedArchives.R:2:3',
    'test-prepInputsInNestedArchives.R:13:3',
    'test-prepInputsInNestedArchives.R:28:3',
    'test-prepInputsInNestedArchives.R:39:3',
    'test-prepInputsInNestedArchives.R:59:5',
    'test-prepInputsInNestedArchives.R:82:5',
    'test-prepInputsInNestedArchives.R:104:5',
    'test-prepInputsInNestedArchives.R:145:5',
    'test-prepInputsInNestedArchives.R:185:5',
    'test-prepInputsInNestedArchives.R:224:3', 'test-prepInputsUrlTiles.R:2:3',
    'test-symlinks.R:2:3'
  • Only relevant for DBI backend (2): 'test-cache.R:1918:3',
    'test-cache.R:1942:3'
  • empty test (3): 'test-download.R:1:1', 'test-examples.R:1:1',
    'test-preProcessWorks.R:468:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-postProcessTerra.R:422:5'): testing terra ──────────────────────
  Error: [write] unknown option(s): xscale,yscale
  Backtrace:
       ▆
    1. └─reproducible::postProcessTo(...) at test-postProcessTerra.R:422:5
    2.   └─reproducible::projectTo(...)
    3.     ├─base::do.call(terra::project, ll)
    4.     ├─terra (local) `<stndrdGn>`(...)
    5.     └─terra (local) `<stndrdGn>`(...)
    6.       └─terra (local) .local(x, ...)
    7.         ├─terra::project(...)
    8.         └─terra::project(...)
    9.           └─terra (local) .local(x, ...)
   10.             └─terra:::spatOptions(filename, threads = threads, ...)
   11.               └─terra:::.setOptions(opt, wopt)
   12.                 └─terra:::error("write", "unknown option(s): ", bad)
  
  [ FAIL 1 | WARN 0 | SKIP 94 | PASS 477 ]
  Error:
  ! Test failures.
  Execution halted