Running ‘testthat.R’ [124s/517s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > 
  > library(amanida)
  > 
  > test_check("amanida")
     inline R code fragments
  
  label: setup (with options) 
  List of 3
   $ echo   : logi FALSE
   $ warning: logi FALSE
   $ message: logi FALSE
  
    ordinary text without R code
  
  label: unnamed-chunk-1 (with options) 
  List of 1
   $ eval: logi FALSE
  
    ordinary text without R code
  
  label: unnamed-chunk-2 (with options) 
  List of 1
   $ echo: logi FALSE
  
    ordinary text without R code
  
  label: unnamed-chunk-3 (with options) 
  List of 1
   $ echo: logi FALSE
  
    ordinary text without R code
  
  label: unnamed-chunk-4
    ordinary text without R code
  
  label: unnamed-chunk-5 (with options) 
  List of 1
   $ eval: logi FALSE
  
    ordinary text without R code
  
  label: unnamed-chunk-6 (with options) 
  List of 1
   $ echo: logi FALSE
  
    ordinary text without R code
  
  label: unnamed-chunk-7 (with options) 
  List of 1
   $ echo: logi FALSE
  
     inline R code fragments
  
  label: unnamed-chunk-8 (with options) 
  List of 1
   $ out.width: chr "100%"
  
     inline R code fragments
  
  label: pressure (with options) 
  List of 2
   $ echo   : logi TRUE
   $ message: logi TRUE
  
    ordinary text without R code
  
     inline R code fragments
  
  label: setup (with options) 
  List of 3
   $ echo   : logi FALSE
   $ warning: logi FALSE
   $ message: logi FALSE
  
    ordinary text without R code
  
  label: unnamed-chunk-1 (with options) 
  List of 1
   $ eval: logi FALSE
  
    ordinary text without R code
  
  label: unnamed-chunk-2 (with options) 
  List of 1
   $ echo: logi FALSE
  
    ordinary text without R code
  
  label: unnamed-chunk-3 (with options) 
  List of 1
   $ echo: logi FALSE
  
    ordinary text without R code
  
  label: unnamed-chunk-4 (with options) 
  List of 1
   $ eval: logi TRUE
  
    ordinary text without R code
  
  label: unnamed-chunk-5 (with options) 
  List of 1
   $ eval: logi FALSE
  
    ordinary text without R code
  
  label: unnamed-chunk-6 (with options) 
  List of 1
   $ echo: logi FALSE
  
     inline R code fragments
  
  label: unnamed-chunk-7 (with options) 
  List of 1
   $ include: logi FALSE
  
    ordinary text without R code
  
  label: unnamed-chunk-8 (with options) 
  List of 2
   $ out.width: chr "100%"
   $ echo     : logi TRUE
  
     inline R code fragments
  
  label: pressure (with options) 
  List of 2
   $ echo   : logi TRUE
   $ message: logi TRUE
  
    ordinary text without R code
  
  [ FAIL 2 | WARN 2 | SKIP 3 | PASS 14 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (3)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-report.R:8:3): Report function quan ─────────────────────────────
  Error in `file(con, "w")`: cannot open the connection
  Backtrace:
       ▆
    1. ├─testthat::expect_message(...) at test-report.R:8:2
    2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
    3. │   ├─testthat .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─amanida::amanida_report(...)
    7.   └─rmarkdown::render(...)
    8.     └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
    9.       └─xfun::write_utf8(res, output)
   10.         └─base::writeLines(enc2utf8(text), con, ..., useBytes = TRUE)
   11.           └─base::file(con, "w")
  ── Error (test-report.R:19:3): Report function qual ────────────────────────────
  Error in `file(con, "w")`: cannot open the connection
  Backtrace:
       ▆
    1. ├─testthat::expect_message(...) at test-report.R:19:2
    2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
    3. │   ├─testthat .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─amanida::amanida_report(...)
    7.   └─rmarkdown::render(...)
    8.     └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
    9.       └─xfun::write_utf8(res, output)
   10.         └─base::writeLines(enc2utf8(text), con, ..., useBytes = TRUE)
   11.           └─base::file(con, "w")
  
  [ FAIL 2 | WARN 2 | SKIP 3 | PASS 14 ]
  Error: Test failures
  Execution halted