Running ‘test-all.R’ [17s/58s]
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")
  + } else {
  +   test_check("reproducible")
  + }
  Loading required package: reproducible
  [ FAIL 3 | WARN 1 | SKIP 103 | PASS 173 ]
  
  ══ Skipped tests (103) ═════════════════════════════════════════════════════════
  • On CRAN (77): 'test-cache.R:2:3', 'test-cache.R:709:3', 'test-cache.R:963:3',
    'test-cache.R:989:3', 'test-cache.R:1225:3', 'test-cache.R:1729:3',
    'test-cacheGeo.R:2:3', 'test-cloud.R:2:3', 'test-cloud.R:143:3',
    'test-cloud.R:178:3', 'test-cloud.R:205:3', 'test-cloud.R:229:3',
    'test-cluster.R:2:3', 'test-filesMissingExtension.R:2:3',
    'test-filesMissingExtension.R:19:3', 'test-filesMissingExtension.R:35:3',
    'test-filesMissingExtension.R:51:3', 'test-filesMissingExtension.R:67:3',
    'test-gis.R:2:3', 'test-misc.R:57:3', 'test-postProcess.R:2:3',
    'test-postProcess.R:214:3', 'test-postProcess.R:252:3',
    'test-preProcessDoesntWork.R:2:3', 'test-preProcessDoesntWork.R:102:3',
    'test-preProcessDoesntWork.R:119:3', 'test-preProcessDoesntWork.R:136:3',
    'test-preProcessDoesntWork.R:172:3', 'test-preProcessWorks.R:2:3',
    'test-preProcessWorks.R:16:3', 'test-preProcessWorks.R:30:3',
    'test-preProcessWorks.R:44:3', 'test-preProcessWorks.R:64:3',
    'test-preProcessWorks.R:85:3', 'test-preProcessWorks.R:102:3',
    'test-preProcessWorks.R:120:3', 'test-preProcessWorks.R:136:3',
    'test-preProcessWorks.R:151:3', 'test-preProcessWorks.R:176:3',
    'test-preProcessWorks.R:205:3', 'test-preProcessWorks.R:231:3',
    'test-preProcessWorks.R:247:3', 'test-preProcessWorks.R:264:3',
    'test-preProcessWorks.R:281:3', 'test-preProcessWorks.R:297:3',
    'test-preProcessWorks.R:313:3', 'test-preProcessWorks.R:334:3',
    'test-preProcessWorks.R:350:3', 'test-preProcessWorks.R:366:3',
    'test-preProcessWorks.R:384:3', 'test-preProcessWorks.R:403:3',
    'test-preProcessWorks.R:433:3', 'test-preProcessWorks.R:477:3',
    'test-preProcessWorks.R:533:3', 'test-preProcessWorks.R:557:3',
    'test-prepInputs-large-files.R:2:3', 'test-prepInputs-large-files.R:31:3',
    'test-prepInputs-large-files.R:54:3', 'test-prepInputs.R:2:3',
    'test-prepInputs.R:161:3', 'test-prepInputs.R:296:3',
    'test-prepInputs.R:1006:3', 'test-prepInputs.R:1195:3',
    'test-prepInputs.R:1345:3', 'test-prepInputs.R:1408:3',
    'test-prepInputs.R:1629:3', 'test-prepInputs.R:1652:3',
    'test-prepInputsInNestedArchives.R:2:3',
    'test-prepInputsInNestedArchives.R:16:3',
    'test-prepInputsInNestedArchives.R:32:3',
    'test-prepInputsInNestedArchives.R:46:3',
    'test-prepInputsInNestedArchives.R:66:5',
    'test-prepInputsInNestedArchives.R:88:12',
    'test-prepInputsInNestedArchives.R:107:11',
    'test-prepInputsInNestedArchives.R:143:7',
    'test-prepInputsInNestedArchives.R:173:20',
    'test-prepInputsInNestedArchives.R:203:3'
  • The Google Drive url is dead (1): 'test-postProcess.R:312:3'
  • empty test (3): 'test-download.R:1:1', 'test-examples.R:1:1',
    'test-preProcessWorks.R:456:1'
  • raster cannot be loaded (3): 'test-cacheHelpers.R:253:3', 'test-gis.R:53:3',
    'test-misc.R:3:3'
  • terra cannot be loaded (18): 'test-cache.R:232:3', 'test-cache.R:301:3',
    'test-cache.R:363:3', 'test-cache.R:380:3', 'test-cache.R:424:3',
    'test-cache.R:488:3', 'test-cache.R:567:3', 'test-cache.R:1277:3',
    'test-cache.R:1555:3', 'test-cache.R:1668:3', 'test-copy.R:2:3',
    'test-misc.R:113:3', 'test-misc.R:130:3', 'test-misc.R:202:3',
    'test-postProcess.R:192:3', 'test-postProcessTerra.R:3:3',
    'test-prepInputs.R:1067:3', 'test-prepInputs.R:1088:3'
  • test cloudCache inside Cache -- Not fully written test (1):
    'test-multipleCacheRepo.R:41:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-cache.R:1035:3'): test pre-creating conn ───────────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'terra'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-cache.R:1035:2
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-cacheHelpers.R:41:3'): test miscellaneous unit tests cache-helpers ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'terra'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-cacheHelpers.R:41:2
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-misc.R:104:3'): guessAtTargetAndFun works correctly ────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'terra'
  Backtrace:
       ▆
    1. ├─testthat::expect_message(...) at test-misc.R:104:2
    2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. ├─reproducible:::.guessAtTargetAndFun(...)
    7. │ └─reproducible:::.fileExtsKnown()
    8. │   ├─base::data.frame(...)
    9. │   ├─base::rbind(...)
   10. │   ├─base::cbind(c("shp", "gdb"), shpFile, shpFileSave, vectorType(vectorRead = shpFile))
   11. │   └─reproducible:::vectorType(vectorRead = shpFile)
   12. └─base::loadNamespace(x)
   13.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   14.     └─base (local) withOneRestart(expr, restarts[[1L]])
   15.       └─base (local) doWithOneRestart(return(expr), restart)
  
  [ FAIL 3 | WARN 1 | SKIP 103 | PASS 173 ]
  Error: Test failures
  Execution halted