Running ‘testthat.R’ [6s/4s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > 
  > library(testthat)
  > library(renv, warn.conflicts = FALSE)
  > 
  > if (!renv:::renv_tests_supported()) {
  +   message("* renv does not support running tests on this platform.")
  +   if (!interactive()) quit(status = 0L)
  + }
  > 
  > if (Sys.info()[["sysname"]] == "Linux") {
  +   tools <- asNamespace("tools")
  +   if (is.function(tools$R_user_dir)) {
  +     cachedir <- tools$R_user_dir("renv", "cache")
  +     dir.create(cachedir, recursive = TRUE, showWarnings = FALSE)
  +   }
  + }
  > 
  > test_check("renv")
  Starting 2 test processes.
  
  Error:
  ! testthat subprocess failed to start.
    
    Attaching package: 'renv'
    
    The following objects are masked from 'package:base':
    
    autoload, load, remove, use
    
    Error in `source_dir()`:
    ! Failed to evaluate './helper-zzz.R'.
    Caused by error in `gzfile()`:
    ! cannot open the connection
    Back
    trace:
    ▆
    1. ├─global callr_startup_hook()
    2. │ └─asNamespace("testthat")$queue_process_setup(...)
    3. │
    └─asNamespace("testthat")$test_files_setup_state(...)
    4. │ └─testthat::source_test_helpers(".", env)
    5. │
    └─testthat::source_dir(path, "^helper.*\\.[rR]$", env = env, wrap = FALSE)
    6. │ └─base::lapply(...)
    
    7. │ └─testthat (local) FUN(X[[i]], ...)
    8. │ └─testthat::source_file(...)
    9. │
    ├─base::withCallingHandlers(...)
    10. │ └─base::eval(exprs, env)
    11. │ └─ba
    se::eval(exprs, env)
    12. │ └─renv:::renv_tests_setup(scope = teardown_env()) at ./helper-zzz.R:4:1
    13.
    │ └─renv:::renv_tests_setup_repos(scope = scope) at ./helper-setup.R:27:3
    14. │ └─renv (local) upload(path, contrib, subdir = FALSE) at
    ./helper-setup.R:216:5
    15. │ └─utils::tar(tarball, package, compression = "gzip") at
    ./helper-setup.R:197:5
    16. │ └─base::gzfile(tarfile, "wb", compression = compression_level)
    17. └─base::.handleSimpleError(...)
    18.  └─testthat (local) h(simpleError(msg, call))
    19.  └─cli::cli_abort(...)
    20.  └─rlang::abort(...)
    Warning message:
    In gzfile(tarfile, "wb", compression = compression_level) :
    
    
    cannot open compressed file 'breakfast_1.0.0.tar.gz', probable reason 'No
    space left on device'
    Ran 4/4 deferred expressions
    Error in deferred_run(env) : could not find function "deferred_run"
    Calls: <Anonymous>
    
  Backtrace:
       ▆
    1. └─testthat::test_check("renv")
    2.   └─testthat::test_dir(...)
    3.     └─testthat:::test_files(...)
    4.       └─testthat:::test_files_parallel(...)
    5.         ├─withr::with_dir(...)
    6.         │ └─base::force(code)
    7.         ├─testthat::with_reporter(...)
    8.         │ └─base::tryCatch(...)
    9.         │   └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10.         │     └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11.         │       └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   12.         └─testthat:::parallel_event_loop_chunky(queue, reporters, ".")
   13.           └─queue$poll(Inf)
   14.             └─base::lapply(...)
   15.               └─testthat (local) FUN(X[[i]], ...)
   16.                 └─private$handle_error(msg, i)
   17.                   └─cli::cli_abort(...)
   18.                     └─rlang::abort(...)
  Execution halted