Running ‘testthat.R’ [31s/37s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(dockerfiler)
  > 
  > test_check("dockerfiler")
  i Please wait while we compute system requirements...
  
  ✔ Updated metadata database: 5.92 MB in 15 files.
  
  ℹ Updating metadata database
  ✖ Updating metadata database ... failed
  
  renv version = 0.16.0
  i Please wait while we compute system requirements...
  Fetching system dependencies for 1 package(s) records.
  
  ✔ Updated metadata database: 5.41 MB in 14 files.
  
  ℹ Updating metadata database
  ✖ Updating metadata database ... failed
  
  i No sysreqs required
  v Done
  [ FAIL 5 | WARN 4 | SKIP 2 | PASS 43 ]
  
  ══ Skipped tests (2) ═══════════════════════════════════════════════════════════
  • On CRAN (2): 'test-dockerbuild.R:24:7', 'test-get_sysreqs.R:2:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-dock_from_desc.R:43:7'): dock_from_desc works ──────────────────
  <callr_status_error/callr_error/rlib_error_3_0/rlib_error/error/condition>
  Error: ! error in pak subprocess
  Caused by error: 
  ! Could not solve package dependencies:
  * R6: ! pkgdepends resolution error for R6.
  Caused by error: 
  ! error writing to connection
  * askpass: ! pkgdepends resolution error for askpass.
  Caused by error: 
  ! error writing to connection
  * attempt: ! pkgdepends resolution error for attempt.
  Caused by error: 
  ! error writing to connection
  * callr: ! pkgdepends resolution error for callr.
  Caused by error: 
  ! error writing to connection
  * cli: ! pkgdepends resolution error for cli.
  Caused by error: 
  ! error writing to connection
  * clipr: ! pkgdepends resolution error for clipr.
  Caused by error: 
  ! error writing to connection
  * covr: ! pkgdepends resolution error for covr.
  Caused by error: 
  ! error writing to connection
  * crayon: ! pkgdepends resolution error for crayon.
  Caused by error: 
  ! error writing to connection
  * credentials: ! pkgdepends resolution error for credentials.
  Caused by error: 
  ! error writing to connection
  * curl: ! pkgdepends resolution error for curl.
  Caused by error: 
  ! error writing to connection
  * desc: ! pkgdepends resolution error for desc.
  Caused by error: 
  ! error writing to connection
  * digest: ! pkgdepends resolution error for digest.
  Caused by error: 
  ! error writing to connection
  * fs: ! pkgdepends resolution error for fs.
  Caused by error: 
  ! error writing to connection
  * gert: ! pkgdepends resolution error for gert.
  Caused by error: 
  ! error writing to connection
  * gh: ! pkgdepends resolution error for gh.
  Caused by error: 
  ! error writing to connection
  * gitcreds: ! pkgdepends resolution error for gitcreds.
  Caused by error: 
  ! error writing to connection
  * glue: ! pkgdepends resolution error for glue.
  Caused by error: 
  ! error writing to connection
  * httr: ! pkgdepends resolution error for httr.
  Caused by error: 
  ! error writing to connection
  * httr2: ! pkgdepends resolution error for httr2.
  Caused by error: 
  ! error writing to connection
  * ini: ! pkgdepends resolution error for ini.
  Caused by error: 
  ! error writing to connection
  * jsonlite: ! pkgdepends resolution error for jsonlite.
  Caused by error: 
  ! error writing to connection
  * lazyeval: ! pkgdepends resolution error for lazyeval.
  Caused by error: 
  ! error writing to connection
  * lifecycle: ! pkgdepends resolution error for lifecycle.
  Caused by error: 
  ! error writing to connection
  * magrittr: ! pkgdepends resolution error for magrittr.
  Caused by error: 
  ! error writing to connection
  * mime: ! pkgdepends resolution error for mime.
  Caused by error: 
  ! error writing to connection
  * openssl: ! pkgdepends resolution error for openssl.
  Caused by error: 
  ! error writing to connection
  * pkgbuild: ! pkgdepends resolution error for pkgbuild.
  Caused by error: 
  ! error writing to connection
  * processx: ! pkgdepends resolution error for processx.
  Caused by error: 
  ! error writing to connection
  * ps: ! pkgdepends resolution error for ps.
  Caused by error: 
  ! error writing to connection
  * purrr: ! pkgdepends resolution error for purrr.
  Caused by error: 
  ! error writing to connection
  * rappdirs: ! pkgdepends resolution error for rappdirs.
  Caused by error: 
  ! error writing to connection
  * remotes: ! pkgdepends resolution error for remotes.
  Caused by error: 
  ! error writing to connection
  * rex: ! pkgdepends resolution error for rex.
  Caused by error: 
  ! error writing to connection
  * rlang: ! pkgdepends resolution error for rlang.
  Caused by error: 
  ! error writing to connection
  * rprojroot: ! pkgdepends resolution error for rprojroot.
  Caused by error: 
  ! error writing to connection
  * rstudioapi: ! pkgdepends resolution error for rstudioapi.
  Caused by error: 
  ! error writing to connection
  * sys: ! pkgdepends resolution error for sys.
  Caused by error: 
  ! error writing to connection
  * usethis: ! pkgdepends resolution error for usethis.
  Caused by error: 
  ! error writing to connection
  * vctrs: ! pkgdepends resolution error for vctrs.
  Caused by error: 
  ! error writing to connection
  * whisker: ! pkgdepends resolution error for whisker.
  Caused by error: 
  ! error writing to connection
  * withr: ! pkgdepends resolution error for withr.
  Caused by error: 
  ! error writing to connection
  * yaml: ! pkgdepends resolution error for yaml.
  Caused by error: 
  ! error writing to connection
  * zip: ! pkgdepends resolution error for zip.
  Caused by error: 
  ! error writing to connection
  Backtrace:
      ▆
   1. └─dockerfiler::dock_from_desc(file.path(".", "DESCRIPTION__")) at test-dock_from_desc.R:43:7
   2.   ├─base::unique(get_sysreqs(packages = packages))
   3.   └─dockerfiler::get_sysreqs(packages = packages)
   4.     └─pak::pkg_sysreqs(pkg = all_deps, sysreqs_platform = "debian")
   5.       └─pak:::remote(...)
   6.         └─err$throw(res$error)
  ── Error ('test-dock_from_renv.R:30:1'): (code run outside of `test_that()`) ───
  Error in `file(con, "r")`: cannot open the connection
  Backtrace:
      ▆
   1. └─base::readLines(file.path(dir_build, "renv.lock")) at test-dock_from_renv.R:30:1
   2.   └─base::file(con, "r")
  ── Failure ('test-utils.R:5:3'): utils works ───────────────────────────────────
  grepl("test", res) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-utils.R:14:3'): utils works ──────────────────────────────────
  grepl("test", res) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-utils.R:23:3'): utils works ──────────────────────────────────
  grepl("test", res) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  
  [ FAIL 5 | WARN 4 | SKIP 2 | PASS 43 ]
  Error: Test failures
  Execution halted
  Warning message:
  In close.connection(con) :
    Problem closing connection:  No space left on device