Running ‘testthat.R’ [109s/95s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(precommit)
  > test_check("precommit")
  Starting 2 test processes.
  > test-config.R: i Using local config from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/precommit/pre-commit-config-proj.yaml.
  > test-config.R: v Copied .pre-commit-config.yaml to file35f5976da8e31f
  > test-config.R: v Adding ^\.pre-commit-config\.yaml$ to 'file35f5976da8e31f/.Rbuildignore'.
  > test-config.R: * Edit .precommit-config.yaml to (de)activate the hooks you want to use.
  > test-config.R: * All available hooks: https://pre-commit.com/hooks.html
  > test-config.R: * R specific hooks: https://github.com/lorenzwalthert/precommit
  > test-config.R: v Copied .pre-commit-config.yaml to /tmp/RtmpjNbJoa/file35f59746ac76df
  > test-config.R: v Adding ^\.pre-commit-config\.yaml$ to '/tmp/RtmpjNbJoa/file35f59746ac76df/.Rbuildignore'.
  > test-config.R: * Edit .precommit-config.yaml to (de)activate the hooks you want to use.
  > test-config.R: * All available hooks: https://pre-commit.com/hooks.html
  > test-config.R: * R specific hooks: https://github.com/lorenzwalthert/precommit
  Saving _problems/test-hook-roxygenize-96.R
  > test-hook-spell-check.R: sh: 1: cannot create /tmp/RtmpzsKkW8/file35f5ae304ab9c3: No space left on device
  Saving _problems/test-hook-spell-check-22.R
  > test-setup.R: Generating snippet using CRAN versions. If you need another source, specify with syntax that `renv::install()` understands (see 
  > test-setup.R: examples in help file). 
  > test-setup.R: 
  > test-setup.R: v According to `DESCRIPTION``, there are no hard dependencies of your package. You are set.
  > test-setup.R: Generating snippet using CRAN versions. If you need another source, specify with syntax that `renv::install()` understands (see examples in help file). 
  > test-setup.R: 
  > test-setup.R: * Replace the `id: roxygenize` key in `.pre-commit-config.yaml` with the above
  > test-setup.R: code.
  > test-setup.R: i Note that CI services like <pre-commit.ci> have build-time restrictions and installing the above dependencies may exceed those
  > test-setup.R: , resulting in a timeout. In addition, system dependencies are not supported for <pre-commit.ci>. See `vignette("ci", package = "precommit")` for details and solutions.
  > test-setup.R: Generating snippet using CRAN versions. If you need another source, specify with syntax that `renv::install()` understands (see examples in help file). 
  > test-setup.R: 
  > test-setup.R: * Replace the `id: roxygenize` key in `.pre-commit-config.yaml` with the above
  > test-setup.R: code.
  > test-setup.R: i Note that CI services like <pre-commit.ci> have build-time restrictions and installing the above dependencies may exceed those
  > test-setup.R: , resulting in a timeout. In addition, system dependencies are not supported for <pre-commit.ci>. See `vignette("ci", package = "precommit")` for details and solutions.
  > test-setup.R: Generating snippet using CRAN versions. If you need another source, specify with syntax that `renv::install()` understands (see 
  > test-setup.R: examples in help file). 
  > test-setup.R: 
  > test-setup.R: * Replace the `id: roxygenize` key in `.pre-commit-config.yaml` with the above
  > test-setup.R: code.
  > test-setup.R: i Note that CI services like <pre-commit.ci> have build-time restrictions and installing the above dependencies may exceed those, resulting in a timeout. In addition, system dependencies are not supported for <pre-commit.ci>. See `vignette("ci", package = "precommit")` for details and solutions.
  > test-setup.R: v Copied .pre-commit-config.yaml to /tmp/RtmpzsKkW8/file35f5ae47828ff1
  > test-setup.R: v Adding ^\.pre-commit-config\.yaml$ to '/tmp/RtmpzsKkW8/file35f5ae47828ff1/.Rbuildignore'.
  > test-setup.R: * Edit .precommit-config.yaml to (de)activate the hooks you want to use.
  > test-setup.R: * All available hooks: https://pre-commit.com/hooks.html
  > test-setup.R: * R specific hooks: https://github.com/lorenzwalthert/precommit
  > test-setup.R: v Added GitHub Action template to `.github/workflows/pre-commit.yaml`. Pre-commit hooks will run on pull requests. If workflow f
  > test-setup.R: ails, please file an issue in `https://github.com/lorenzwalthert/precommit`.
  > test-setup.R: * It seems like you are using the roxygenize hook. This requires further edits
  > test-setup.R: in your `.pre-commit-config.yaml`, please run
  > test-setup.R: `pr
  > test-setup.R: ecommit::snippet_generate('additional-deps-roxygenize')` to proceed.
  > test-setup.R: v Copied .pre-commit-config.yaml to /tmp/RtmpzsKkW8/file35f5ae6825f6f3
  > test-setup.R: v Adding ^\.pre-commit-config\.yaml$ to '/tmp/RtmpzsKkW8/file35f5ae6825f6f3/.Rbuildignore'.
  > test-setup.R: * Edit .precommit-config.yaml to (de)activate the hooks you want to use.
  > test-setup.R: * All available hooks: https://pre-commit.com/hooks.html
  > test-setup.R: * R specific hooks: https://github.com/lorenzwalthert/precommit
  > test-setup.R: * Sign in with GitHub to authenticate <https://pre-commit.ci> and then come
  > test-setup.R: back to complete the set-up process.
  > test-setup.R: * It seems like you are using the roxygenize hook. This requires further edits
  > test-setup.R: in your `.pre-commit-config.yaml`, please run
  > test-setup.R: `precommit::snippet_generate('additional-deps-roxygenize')` to proceed.
  [ FAIL 2 | WARN 1 | SKIP 13 | PASS 188 ]
  
  ══ Skipped tests (13) ══════════════════════════════════════════════════════════
  • !is_windows() is TRUE (1): 'test-exec.R:23:3'
  • On CRAN (11): 'test-conda.R:207:3', 'test-config.R:15:3',
    'test-impl-hook-roxygenize.R:2:3', 'test-impl-hook-roxygenize.R:46:3',
    'test-impl-hook-roxygenize.R:82:3', 'test-impl-hook-roxygenize.R:95:3',
    'test-impl-hook-roxygenize.R:114:3', 'test-impl-hook-roxygenize.R:127:3',
    'test-impl-hook-roxygenize.R:143:3', 'test-impl-hook-roxygenize.R:155:3',
    'test-zzz.R:2:3'
  • not_conda() is TRUE (1): 'test-impl-hooks-regex-exclude.R:2:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-hook-roxygenize.R:80:1'): (code run outside of `test_that()`) ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::map2(path_candidate, path_candidate_temp, hook_state_assert_one, tempdir = tempdir, file_transformer = file_transformer, path_stdout = path_stdout, path_stderr = path_stderr, expect_success = expect_success, std_err = std_err, std_out = std_out, exit_status = exit_status)`: i In index: 1.
  i With name: man/flie.Rd.
  Caused by error:
  ! Expected: No error. Found:
  ℹ Setting Config/roxygen2/version to "8.0.0"
  ℹ Loading prec3
  Writing 'NAMESPACE'
  Warning in file(con, "wb") :
    cannot open file '/tmp/RtmpjNbJoa/file35f5976aa44bb9/NAMESPACE': No space left on device
  Error in `precommit::roxygenize_with_cache()`:
  ! cannot open the connection
  Backtrace:
      ▆
   1. └─precommit::roxygenize_with_cache(key = wd, dirs = path_relative_cache)
   2.   └─rlang::abort(conditionMessage(out))
  Execution halted
  ── Error ('test-hook-spell-check.R:15:3'): (code run outside of `test_that()`) ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::map2(path_candidate, path_candidate_temp, hook_state_assert_one, tempdir = tempdir, file_transformer = file_transformer, path_stdout = path_stdout, path_stderr = path_stderr, expect_success = expect_success, std_err = std_err, std_out = std_out, exit_status = exit_status)`: i In index: 1.
  i With name: spell-check-fail-2.md.
  Caused by error in `file()`:
  ! cannot open the connection
  Backtrace:
       ▆
    1. ├─precommit:::run_test(...) at test-hook-spell-check.R:15:3
    2. │ └─precommit:::run_test_impl(...)
    3. │   └─precommit:::hook_state_assert(...)
    4. │     └─purrr::map2(...)
    5. │       └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
    6. │         ├─purrr:::with_indexed_errors(...)
    7. │         │ └─base::withCallingHandlers(...)
    8. │         ├─purrr:::call_with_cleanup(...)
    9. │         └─precommit (local) .f(.x[[i]], .y[[i]], ...)
   10. │           └─base::readLines(path_stderr)
   11. │             └─base::file(con, "r")
   12. └─base::.handleSimpleError(...)
   13.   └─purrr (local) h(simpleError(msg, call))
   14.     └─cli::cli_abort(...)
   15.       └─rlang::abort(...)
  
  [ FAIL 2 | WARN 1 | SKIP 13 | PASS 188 ]
  Error:
  ! Test failures.
  Execution halted