Running ‘testthat.R’ [14s/17s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > 
  > library(amanida)
  > 
  > test_check("amanida")
  [ FAIL 2 | WARN 0 | SKIP 3 | PASS 14 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (3)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-report.R:9:3): Report function quan ─────────────────────────────
  Error in `file(con, "w")`: cannot open the connection
  Backtrace:
       ▆
    1. ├─testthat::expect_silent(...) at test-report.R:9:2
    2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. │   ├─testthat .capture(...)
    4. │   │ ├─withr::with_output_sink(...)
    5. │   │ │ └─base::force(code)
    6. │   │ ├─base::withCallingHandlers(...)
    7. │   │ └─base::withVisible(code)
    8. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. └─amanida::amanida_report(...)
   10.   └─rmarkdown::render(...)
   11.     └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
   12.       └─xfun::write_utf8(res, output)
   13.         └─base::writeLines(enc2utf8(text), con, ..., useBytes = TRUE)
   14.           └─base::file(con, "w")
  ── Error (test-report.R:20:3): Report function qual ────────────────────────────
  Error in `file(con, "w")`: cannot open the connection
  Backtrace:
       ▆
    1. ├─testthat::expect_silent(...) at test-report.R:20:2
    2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. │   ├─testthat .capture(...)
    4. │   │ ├─withr::with_output_sink(...)
    5. │   │ │ └─base::force(code)
    6. │   │ ├─base::withCallingHandlers(...)
    7. │   │ └─base::withVisible(code)
    8. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. └─amanida::amanida_report(...)
   10.   └─rmarkdown::render(...)
   11.     └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
   12.       └─xfun::write_utf8(res, output)
   13.         └─base::writeLines(enc2utf8(text), con, ..., useBytes = TRUE)
   14.           └─base::file(con, "w")
  
  [ FAIL 2 | WARN 0 | SKIP 3 | PASS 14 ]
  Error: Test failures
  Execution halted