Running ‘testthat.R’ [12s/13s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(lang)
  > 
  > test_check("lang")
  Saving _problems/test-help-shims-77.R
  Saving _problems/test-lang-help-7.R
  [ FAIL 2 | WARN 1 | SKIP 8 | PASS 34 ]
  
  ══ Skipped tests (8) ═══════════════════════════════════════════════════════════
  • On CRAN (8): 'test-help-shims.R:43:1', 'test-lang-use.R:1:1',
    'test-lang-use.R:8:1', 'test-lang-use.R:14:1', 'test-lang-use.R:20:1',
    'test-lang-use.R:27:1', 'test-lang-use.R:39:1', 'test-lang-use.R:45:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-help-shims.R:77:7'): shim_lang_question works ──────────────────
  Error in `file(con, "w")`: cannot open the connection
  Backtrace:
       ▆
    1. ├─withr::with_options(...) at test-help-shims.R:66:3
    2. │ └─base::force(code)
    3. ├─testthat::expect_message(shim_lang_question(lm)) at test-help-shims.R:77:7
    4. │ └─testthat:::expect_condition_matching_(...)
    5. │   └─testthat:::quasi_capture(...)
    6. │     ├─testthat (local) .capture(...)
    7. │     │ └─base::withCallingHandlers(...)
    8. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. └─lang:::shim_lang_question(lm)
   10.   └─lang::lang_help(topic, pkg)
   11.     └─lang:::rd_translate(rd$content, lang, context_size = context_size)
   12.       └─lang:::rd_to_list(rd_content)
   13.         ├─base::do.call(...)
   14.         ├─lang:::keep(...)
   15.         └─lang:::map(rd_content, .rd_tag_process)
   16.           └─base::lapply(.x, .f, ...)
   17.             └─lang (local) FUN(X[[i]], ...)
   18.               └─lang:::.rd_args_process(x)
   19.                 ├─lang:::discard(...)
   20.                 │ └─lang:::.rlang_purrr_probe(.x, .p, ...)
   21.                 │   └─lang:::map_lgl(.x, .p, ...)
   22.                 │     └─lang:::.rlang_purrr_map_mold(.x, .f, logical(1), ...)
   23.                 │       └─base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE)
   24.                 └─lang:::map(...)
   25.                   └─base::lapply(.x, .f, ...)
   26.                     └─lang (local) FUN(X[[i]], ...)
   27.                       └─lang:::.rd_extract_text(item[2L])
   28.                         └─base::writeLines(rd_text, tmp)
   29.                           └─base::file(con, "w")
  ── Error ('test-lang-help.R:5:3'): Interaction with LLM works ──────────────────
  Error: ! in callr subprocess.
  Caused by error in `mycall(sym_setoutf, as.character(path)[1])`:
  ! Cannot open new stdout file `/tmp/RtmpEYHAp2/callr-rs-stdout-23fbf16a2f78fa` (system error 28, No space left on device) @client.c:226 (processx_set_stdout_to_file)
  Backtrace:
      ▆
   1. └─lang::lang_help("llm_classify", "mall", lang = "spanish", type = "text")
   2.   └─lang:::rd_translate(rd$content, lang, context_size = context_size)
   3.     └─lang:::rd_examples_translate(...)
   4.       └─rs$run(...)
   5.         └─callr:::rs_run(self, private, func, args, package)
   6.           └─throw(res$error)
  
  [ FAIL 2 | WARN 1 | SKIP 8 | PASS 34 ]
  Error:
  ! Test failures.
  Execution halted