Running 'test-all.R'
Running the tests in 'tests/test-all.R' failed.
Complete output:
  > library(testthat)
  > test_check("reproducible")
  Loading required package: reproducible
    adding: msys64/home/tomas/ucrt3/svn/ucrt3/r_packages/pkgcheck/CRAN/reproducible/tmp/RtmpWGJKcW/Require/jzEvyv/OgWZ1dM.tif (stored 0%)
    adding: msys64/home/tomas/ucrt3/svn/ucrt3/r_packages/pkgcheck/CRAN/reproducible/tmp/RtmpWGJKcW/Require/jzEvyv/RJmGYVW.grd (stored 0%)
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • No Drive token (6)
  • On CRAN (61)
  • Temporary pipe for magrittr 2.0 (1)
  • empty test (6)
  • isInteractive() is not TRUE (1)
  • no GDAL installation found (2)
  • test cloudCache inside Cache -- Not fully written test (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-cache.R:16:3): test file-backed raster caching ──────────────────
  Error: package 'rgdal' is not available
  Backtrace:
       █
    1. ├─reproducible:::randomPolyToDisk(tmpfile[1]) test-cache.R:16:2
    2. │ └─reproducible:::.writeRaster(r, tmpfile[1], overwrite = TRUE) test-cache.R:11:4
    3. │   ├─reproducible:::suppressWarningsSpecific(...) C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\reproducible\reproducible.Rcheck\tests\testthat\helper-allEqual.R:433:2
    4. │   │ ├─base::suppressWarnings(...)
    5. │   │ │ └─base::withCallingHandlers(...)
    6. │   │ ├─base::withCallingHandlers(...)
    7. │   │ └─base::eval(code)
    8. │   ├─raster::writeRaster(...)
    9. │   └─raster::writeRaster(...)
   10. │     └─raster:::.local(x, filename, ...)
   11. │       └─raster:::.writeGDALall(...)
   12. │         └─raster:::.startGDALwriting(...)
   13. │           └─raster:::.getGDALtransient(...)
   14. │             └─raster:::.isSupportedFormat(gdalfiletype)
   15. │               └─raster:::.isSupportedGDALFormat(dname)
   16. │                 └─raster:::.requireRgdal()
   17. │                   └─base::stop("package 'rgdal' is not available")
   18. └─base::.handleSimpleError(...)
   19.   └─reproducible:::h(simpleError(msg, call))
  ── Error (test-cache.R:308:3): test 'quick' argument ───────────────────────────
  Error: package 'rgdal' is not available
  Backtrace:
       █
    1. ├─reproducible:::.writeRaster(r1, filename = tmpfile, overwrite = TRUE) test-cache.R:308:2
    2. │ ├─reproducible:::suppressWarningsSpecific(...) C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\reproducible\reproducible.Rcheck\tests\testthat\helper-allEqual.R:433:2
    3. │ │ ├─base::suppressWarnings(...)
    4. │ │ │ └─base::withCallingHandlers(...)
    5. │ │ ├─base::withCallingHandlers(...)
    6. │ │ └─base::eval(code)
    7. │ ├─raster::writeRaster(...)
    8. │ └─raster::writeRaster(...)
    9. │   └─raster:::.local(x, filename, ...)
   10. │     └─raster:::.writeGDALall(...)
   11. │       └─raster:::.startGDALwriting(...)
   12. │         └─raster:::.getGDALtransient(...)
   13. │           └─raster:::.isSupportedFormat(gdalfiletype)
   14. │             └─raster:::.isSupportedGDALFormat(dname)
   15. │               └─raster:::.requireRgdal()
   16. │                 └─base::stop("package 'rgdal' is not available")
   17. └─base::.handleSimpleError(...)
   18.   └─reproducible:::h(simpleError(msg, call))
  ── Error (test-cache.R:927:3): test cache-helpers ──────────────────────────────
  Error: package 'rgdal' is not available
  Backtrace:
       █
    1. ├─reproducible:::suppressWarningsSpecific(...) test-cache.R:927:2
    2. │ ├─base::suppressWarnings(...)
    3. │ │ └─base::withCallingHandlers(...)
    4. │ ├─base::withCallingHandlers(...)
    5. │ └─base::eval(code)
    6. ├─raster::writeRaster(r1, filename = tmpfile2tif)
    7. ├─raster::writeRaster(r1, filename = tmpfile2tif)
    8. │ └─raster:::.local(x, filename, ...)
    9. │   └─raster:::.writeGDALall(...)
   10. │     └─raster:::.startGDALwriting(...)
   11. │       └─raster:::.getGDALtransient(...)
   12. │         └─raster:::.isSupportedFormat(gdalfiletype)
   13. │           └─raster:::.isSupportedGDALFormat(dname)
   14. │             └─raster:::.requireRgdal()
   15. │               └─base::stop("package 'rgdal' is not available")
   16. └─base::.handleSimpleError(...)
   17.   └─reproducible:::h(simpleError(msg, call))
  ── Error (test-cache.R:1082:3): test pre-creating conn ─────────────────────────
  Error: package 'rgdal' is not available
  Backtrace:
       █
    1. ├─reproducible::Cache(...) test-cache.R:1082:2
    2. │ ├─reproducible:::standardGeneric("Cache")
    3. │ │ └─base::eval(mc, env)
    4. │ │   └─base::eval(mc, env)
    5. │ └─reproducible::Cache(FUN = FUN, ..., cacheRepo = cacheRepo)
    6. │   └─reproducible:::FUN(...)
    7. │     ├─reproducible:::suppressWarningsSpecific(...) C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\reproducible\reproducible.Rcheck\tests\testthat\helper-allEqual.R:433:2
    8. │     │ ├─base::suppressWarnings(...)
    9. │     │ │ └─base::withCallingHandlers(...)
   10. │     │ ├─base::withCallingHandlers(...)
   11. │     │ └─base::eval(code)
   12. │     ├─raster::writeRaster(...)
   13. │     └─raster::writeRaster(...)
   14. │       └─raster:::.local(x, filename, ...)
   15. │         └─raster:::.writeGDALall(...)
   16. │           └─raster:::.startGDALwriting(...)
   17. │             └─raster:::.getGDALtransient(...)
   18. │               └─raster:::.isSupportedFormat(gdalfiletype)
   19. │                 └─raster:::.isSupportedGDALFormat(dname)
   20. │                   └─raster:::.requireRgdal()
   21. │                     └─base::stop("package 'rgdal' is not available")
   22. └─base::.handleSimpleError(...)
   23.   └─reproducible:::h(simpleError(msg, call))
  ── Error (test-cache.R:1277:5): quick arg in Cache as character ────────────────
  Error: package 'rgdal' is not available
  Backtrace:
       █
    1. ├─reproducible:::suppressWarningsSpecific(...) test-cache.R:1277:4
    2. │ ├─base::suppressWarnings(...)
    3. │ │ └─base::withCallingHandlers(...)
    4. │ ├─base::withCallingHandlers(...)
    5. │ └─base::eval(code)
    6. ├─raster::writeRaster(ranRas, filename = tf2, overwrite = TRUE)
    7. ├─raster::writeRaster(ranRas, filename = tf2, overwrite = TRUE)
    8. │ └─raster:::.local(x, filename, ...)
    9. │   └─raster:::.writeGDALall(...)
   10. │     └─raster:::.startGDALwriting(...)
   11. │       └─raster:::.getGDALtransient(...)
   12. │         └─raster:::.isSupportedFormat(gdalfiletype)
   13. │           └─raster:::.isSupportedGDALFormat(dname)
   14. │             └─raster:::.requireRgdal()
   15. │               └─base::stop("package 'rgdal' is not available")
   16. └─base::.handleSimpleError(...)
   17.   └─reproducible:::h(simpleError(msg, call))
  ── Error (test-cache.R:1303:3): List of Rasters ────────────────────────────────
  Error: package 'rgdal' is not available
  Backtrace:
       █
    1. ├─base::lapply(...) test-cache.R:1303:2
    2. │ └─reproducible:::FUN(X[[i]], ...)
    3. │   ├─reproducible:::suppressWarningsSpecific(...) test-cache.R:1306:4
    4. │   │ ├─base::suppressWarnings(...)
    5. │   │ │ └─base::withCallingHandlers(...)
    6. │   │ ├─base::withCallingHandlers(...)
    7. │   │ └─base::eval(code)
    8. │   ├─raster::writeRaster(ranRas, filename = tmpfile[[x]], overwrite = TRUE)
    9. │   └─raster::writeRaster(ranRas, filename = tmpfile[[x]], overwrite = TRUE)
   10. │     └─raster:::.local(x, filename, ...)
   11. │       └─raster:::.writeGDALall(...)
   12. │         └─raster:::.startGDALwriting(...)
   13. │           └─raster:::.getGDALtransient(...)
   14. │             └─raster:::.isSupportedFormat(gdalfiletype)
   15. │               └─raster:::.isSupportedGDALFormat(dname)
   16. │                 └─raster:::.requireRgdal()
   17. │                   └─base::stop("package 'rgdal' is not available")
   18. └─base::.handleSimpleError(...)
   19.   └─reproducible:::h(simpleError(msg, call))
  ── Error (test-cacheHelpers.R:185:3): test cache-helpers with stacks ───────────
  Error: package 'rgdal' is not available
  Backtrace:
       █
    1. ├─reproducible:::.writeRaster(r, filename = tmpfile, overwrite = TRUE) test-cacheHelpers.R:185:2
    2. │ ├─reproducible:::suppressWarningsSpecific(...) C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\reproducible\reproducible.Rcheck\tests\testthat\helper-allEqual.R:433:2
    3. │ │ ├─base::suppressWarnings(...)
    4. │ │ │ └─base::withCallingHandlers(...)
    5. │ │ ├─base::withCallingHandlers(...)
    6. │ │ └─base::eval(code)
    7. │ ├─raster::writeRaster(...)
    8. │ └─raster::writeRaster(...)
    9. │   └─raster:::.local(x, filename, ...)
   10. │     └─raster:::.writeGDALall(...)
   11. │       └─raster:::.startGDALwriting(...)
   12. │         └─raster:::.getGDALtransient(...)
   13. │           └─raster:::.isSupportedFormat(gdalfiletype)
   14. │             └─raster:::.isSupportedGDALFormat(dname)
   15. │               └─raster:::.requireRgdal()
   16. │                 └─base::stop("package 'rgdal' is not available")
   17. └─base::.handleSimpleError(...)
   18.   └─reproducible:::h(simpleError(msg, call))
  ── Failure (test-checksums.R:43:3): Checksums read and written correctly ───────
  all(sort(txt$expectedFile) == sort(basename(sampleFiles))) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure (test-checksums.R:67:3): Checksums read and written correctly ───────
  all(sort(txt$expectedFile) == sort(basename(sampleFiles))) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Error (test-copy.R:8:3): test Copy ──────────────────────────────────────────
  Error: package 'rgdal' is not available
  Backtrace:
       █
    1. ├─reproducible:::suppressWarningsSpecific(...) test-copy.R:8:2
    2. │ ├─base::suppressWarnings(...)
    3. │ │ └─base::withCallingHandlers(...)
    4. │ ├─base::withCallingHandlers(...)
    5. │ └─base::eval(code)
    6. ├─raster::writeRaster(ras, filename = tmpfile, overwrite = TRUE)
    7. ├─raster::writeRaster(ras, filename = tmpfile, overwrite = TRUE)
    8. │ └─raster:::.local(x, filename, ...)
    9. │   └─raster:::.writeGDALall(...)
   10. │     └─raster:::.startGDALwriting(...)
   11. │       └─raster:::.getGDALtransient(...)
   12. │         └─raster:::.isSupportedFormat(gdalfiletype)
   13. │           └─raster:::.isSupportedGDALFormat(dname)
   14. │             └─raster:::.requireRgdal()
   15. │               └─base::stop("package 'rgdal' is not available")
   16. └─base::.handleSimpleError(...)
   17.   └─reproducible:::h(simpleError(msg, call))
  ── Error (???): testing prepInputs with deauthorized googledrive ───────────────
  Error: package 'rgdal' is not available
  Backtrace:
       █
    1. ├─utils::capture.output(...)
    2. │ └─base::withVisible(...elt(i))
    3. ├─testthat::capture_warnings(...)
    4. │ └─base::withCallingHandlers(...)
    5. └─reproducible::prepInputs(...)
    6.   ├─base::withRestarts(...)
    7.   │ └─base:::withOneRestart(expr, restarts[[1L]])
    8.   │   └─base:::doWithOneRestart(return(expr), restart)
    9.   └─reproducible::Cache(...)
   10.     ├─reproducible:::standardGeneric("Cache")
   11.     │ └─base::eval(mc, env)
   12.     │   └─base::eval(mc, env)
   13.     └─reproducible::Cache(FUN = FUN, ..., useCache = useCache)
   14.       ├─base:::FUN(...)
   15.       ├─(new("standardGeneric", .Data = function (x, ...) ...
   16.       └─(new("standardGeneric", .Data = function (x, ...) ...
   17.         └─raster:::.local(x, ...)
   18.           └─raster:::.requireRgdal()
  ── Error (test-misc.R:69:3): test miscellaneous fns (part 1) ───────────────────
  Error: package 'rgdal' is not available
  Backtrace:
       █
    1. ├─base::suppressWarnings(writeRaster(r1, tmpfile[1], overwrite = TRUE)) test-misc.R:69:2
    2. │ └─base::withCallingHandlers(...)
    3. ├─raster::writeRaster(r1, tmpfile[1], overwrite = TRUE)
    4. └─raster::writeRaster(r1, tmpfile[1], overwrite = TRUE)
    5.   └─raster:::.local(x, filename, ...)
    6.     ├─raster::writeStart(...)
    7.     └─raster::writeStart(...)
    8.       └─raster:::.local(x, filename, ...)
    9.         └─raster:::.startGDALwriting(...)
   10.           └─raster:::.getGDALtransient(...)
   11.             └─raster:::.isSupportedFormat(gdalfiletype)
   12.               └─raster:::.isSupportedGDALFormat(dname)
   13.                 └─raster:::.requireRgdal()
  ── Error (test-misc.R:235:3): Filenames for environment ────────────────────────
  Error: package 'rgdal' is not available
  Backtrace:
       █
    1. ├─reproducible:::suppressWarningsSpecific(...) test-misc.R:235:2
    2. │ ├─base::suppressWarnings(...)
    3. │ │ └─base::withCallingHandlers(...)
    4. │ ├─base::withCallingHandlers(...)
    5. │ └─base::eval(code)
    6. ├─raster::writeRaster(s$r, filename = tmpfile[1], overwrite = TRUE)
    7. ├─raster::writeRaster(s$r, filename = tmpfile[1], overwrite = TRUE)
    8. │ └─raster:::.local(x, filename, ...)
    9. │   └─raster:::.writeGDALall(...)
   10. │     └─raster:::.startGDALwriting(...)
   11. │       └─raster:::.getGDALtransient(...)
   12. │         └─raster:::.isSupportedFormat(gdalfiletype)
   13. │           └─raster:::.isSupportedGDALFormat(dname)
   14. │             └─raster:::.requireRgdal()
   15. │               └─base::stop("package 'rgdal' is not available")
   16. └─base::.handleSimpleError(...)
   17.   └─reproducible:::h(simpleError(msg, call))
  ── Error (test-postProcess.R:66:3): prepInputs doesn't work (part 3) ───────────
  Error: package 'rgdal' is not available
  Backtrace:
      █
   1. ├─raster::writeRaster(b, filename = tmpfile[1], overwrite = TRUE) test-postProcess.R:66:2
   2. └─raster::writeRaster(b, filename = tmpfile[1], overwrite = TRUE)
   3.   └─raster:::.local(x, filename, ...)
   4.     └─raster:::.writeGDALall(...)
   5.       └─raster:::.startGDALwriting(...)
   6.         └─raster:::.getGDALtransient(...)
   7.           └─raster:::.isSupportedFormat(gdalfiletype)
   8.             └─raster:::.isSupportedGDALFormat(dname)
   9.               └─raster:::.requireRgdal()
  ── Error (test-prepInputs.R:1861:3): rasters aren't properly resampled ─────────
  Error: package 'rgdal' is not available
  Backtrace:
       █
    1. ├─base::suppressWarnings(...) test-prepInputs.R:1861:2
    2. │ └─base::withCallingHandlers(...)
    3. ├─raster::writeRaster(a, filename = tiftemp1, datatype = "INT2U") test-prepInputs.R:1862:4
    4. └─raster::writeRaster(a, filename = tiftemp1, datatype = "INT2U")
    5.   └─raster:::.local(x, filename, ...)
    6.     └─raster:::.writeGDALall(...)
    7.       └─raster:::.startGDALwriting(...)
    8.         └─raster:::.getGDALtransient(...)
    9.           └─raster:::.isSupportedFormat(gdalfiletype)
   10.             └─raster:::.isSupportedGDALFormat(dname)
   11.               └─raster:::.requireRgdal()
  
  [ FAIL 15 | WARN 2 | SKIP 78 | PASS 265 ]
  Error: Test failures
  Execution halted