Running ‘test-all.R’ [71s/108s]
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
  
  Downloading: 9.5 kB     
  Downloading: 9.5 kB     
  Downloading: 9.5 kB     
  Downloading: 9.5 kB     
  Downloading: 37 kB     
  Downloading: 37 kB     
  Downloading: 37 kB     
  Downloading: 37 kB     
  Downloading: 55 kB     
  Downloading: 55 kB     
  Downloading: 88 kB     
  Downloading: 88 kB     
  Downloading: 88 kB     
  Downloading: 88 kB     
  Downloading: 110 kB     
  Downloading: 110 kB     
  Downloading: 110 kB     
  Downloading: 110 kB     
  Downloading: 110 kB     
  Downloading: 110 kB     
  Downloading: 32 kB     
  Downloading: 32 kB     
  Downloading: 32 kB     
  Downloading: 32 kB     
  Downloading: 35 kB     
  Downloading: 35 kB     
  Downloading: 110 kB     
  Downloading: 110 kB     
  Downloading: 110 kB     
  Downloading: 110 kB     
  Downloading: 110 kB     
  Downloading: 110 kB     
  Downloading: 110 kB     
  Downloading: 110 kB     
  Downloading: 110 kB     
  Downloading: 110 kB     	zip warning: name not matched: /tmp/Rtmp9uaD18/file1e634338652487.tif
  	zip warning: name not matched: /tmp/Rtmp9uaD18/file1e6343a800d6b.grd
  
  zip error: Nothing to do! (try: zip -r9X /tmp/Rtmp9uaD18/reproducible/Ny2Am3Fy/file1e63436333b151/tmp.rar . -i /tmp/Rtmp9uaD18/file1e634338652487.tif /tmp/Rtmp9uaD18/file1e6343a800d6b.grd)
  [ FAIL 1 | WARN 0 | SKIP 87 | PASS 454 ]
  
  ══ Skipped tests (87) ══════════════════════════════════════════════════════════
  • No Drive token (3): 'test-misc.R:134:3', 'test-prepInputs.R:1182:3',
    'test-prepInputs.R:1200:3'
  • On CRAN (79): 'test-cache.R:2:3', 'test-cache.R:764:3',
    'test-cache.R:1023:3', 'test-cache.R:1043:3', 'test-cache.R:1280:3',
    'test-cache.R:1810:3', 'test-cacheGeo.R:2:3', 'test-cloud.R:2:3',
    'test-cloud.R:144:3', 'test-cloud.R:185:3', 'test-cloud.R:216:3',
    'test-cloud.R:244:3', 'test-cluster.R:2:3',
    'test-filesMissingExtension.R:2:3', 'test-filesMissingExtension.R:17:3',
    'test-filesMissingExtension.R:32:3', 'test-filesMissingExtension.R:47:3',
    'test-filesMissingExtension.R:62:3', 'test-gis.R:2:3', 'test-misc.R:62:3',
    'test-postProcess.R:2:3', 'test-postProcess.R:228:3',
    'test-postProcess.R:272:3', 'test-preProcessDoesntWork.R:2:3',
    'test-preProcessDoesntWork.R:111:3', 'test-preProcessDoesntWork.R:125:3',
    'test-preProcessDoesntWork.R:139:3', 'test-preProcessDoesntWork.R:169:3',
    'test-preProcessWorks.R:2:3', 'test-preProcessWorks.R:13:3',
    'test-preProcessWorks.R:24:3', 'test-preProcessWorks.R:35:3',
    'test-preProcessWorks.R:57:3', 'test-preProcessWorks.R:82:3',
    'test-preProcessWorks.R:96:3', 'test-preProcessWorks.R:113:3',
    'test-preProcessWorks.R:128:3', 'test-preProcessWorks.R:143:3',
    'test-preProcessWorks.R:165:3', 'test-preProcessWorks.R:179:3',
    'test-preProcessWorks.R:202:3', 'test-preProcessWorks.R:233:3',
    'test-preProcessWorks.R:257:3', 'test-preProcessWorks.R:270:3',
    'test-preProcessWorks.R:286:3', 'test-preProcessWorks.R:302:3',
    'test-preProcessWorks.R:315:3', 'test-preProcessWorks.R:328:3',
    'test-preProcessWorks.R:348:3', 'test-preProcessWorks.R:361:3',
    'test-preProcessWorks.R:374:3', 'test-preProcessWorks.R:391:3',
    'test-preProcessWorks.R:409:3', 'test-preProcessWorks.R:438:3',
    'test-preProcessWorks.R:478:3', 'test-preProcessWorks.R:534:3',
    'test-preProcessWorks.R:560:3', 'test-prepInputs-large-files.R:2:3',
    'test-prepInputs-large-files.R:35:3', 'test-prepInputs-large-files.R:61:3',
    'test-prepInputs.R:2:3', 'test-prepInputs.R:172:3',
    'test-prepInputs.R:314:3', 'test-prepInputs.R:1123:3',
    'test-prepInputs.R:1320:3', 'test-prepInputs.R:1476:3',
    'test-prepInputs.R:1547:3', 'test-prepInputs.R:1790:3',
    'test-prepInputs.R:1810: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:141:5',
    'test-prepInputsInNestedArchives.R:176:3',
    'test-prepInputsInNestedArchives.R:208:3'
  • The Google Drive url is dead (1): 'test-postProcess.R:338:3'
  • empty test (3): 'test-download.R:1:1', 'test-examples.R:1:1',
    'test-preProcessWorks.R:458:1'
  • test cloudCache inside Cache -- Not fully written test (1):
    'test-multipleCacheRepo.R:38:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-cache.R:1719:5'): test cache; SpatRaster attributes ────────────
  Error in `downloadFile(archive = if (isTRUE(is.na(archive))) NULL else archive, 
      targetFile = targetFile, neededFiles = neededFiles, destinationPath = destinationPath, 
      quick = quick, checkSums = checkSums, dlFun = dlFunCaptured, 
      url = url, checksumFile = asPath(checkSumFilePath), needChecksums = needChecksums, 
      overwrite = overwrite, purge = purge, verbose = verbose, 
      .tempPath = .tempPath, ...)`: Error in dlGeneric(url = url, destinationPath = .tempPath) : 
    Not Found (HTTP 404).
  
  Error in dlGeneric(url = url, destinationPath = .tempPath) :   Not Found (HTTP 404).
  Download of https://github.com/tati-micheletti/host/raw/master/data/rasterTest.tif failed. This may be a permissions issue. Please check the url and permissions are correct.
  If the url is correct, it is possible that manually downloading it will work. To try this, with your browser, go to
  https://github.com/tati-micheletti/host/raw/master/data/rasterTest.tif,
   ... then download it manually, give it this name: '/tmp/Rtmp9uaD18/reproducible/6STHcFac/file1e63432bbf2936/rasterTest.tif', and place file here: /tmp/Rtmp9uaD18/reproducible/6STHcFac/file1e63432bbf2936.
  -------------------
  If manual download was successful, you will likely also need to run Checksums manually after you download the file with this command: reproducible:::appendChecksumsTable(checkSumFilePath = '/tmp/Rtmp9uaD18/reproducible/6STHcFac/file1e63432bbf2936/CHECKSUMS.txt', filesToChecksum = 'rasterTest.tif', destinationPath = '/tmp/Rtmp9uaD18/reproducible/6STHcFac/file1e63432bbf2936', append = TRUE)
  Backtrace:
      ▆
   1. └─reproducible::Cache(testFun, url = url, targetFile = targetFile) at test-cache.R:1728:2
   2.   └─reproducible:::evalTheFun(...)
   3.     ├─base::withCallingHandlers(...)
   4.     └─reproducible (local) out(...)
   5.       └─reproducible::prepInputs(url = url, targetFile = targetFile) at test-cache.R:1719:4
   6.         └─reproducible::preProcess(...)
   7.           └─reproducible::downloadFile(...)
  
  [ FAIL 1 | WARN 0 | SKIP 87 | PASS 454 ]
  Error: Test failures
  Execution halted