Running 'testthat.R' [37s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(renderthis)
  > 
  > test_check("renderthis")
  [ FAIL 8 | WARN 0 | SKIP 21 | PASS 109 ]
  
  ══ Skipped tests (21) ══════════════════════════════════════════════════════════
  • On CRAN (21): 'test-aaa_warm-chromote.R:2:1', 'test-all.R:2:5',
    'test-all.R:23:5', 'test-gif.R:3:5', 'test-gif.R:50:5', 'test-mp4.R:2:5',
    'test-mp4.R:26:5', 'test-pdf.R:3:5', 'test-pdf.R:22:5', 'test-pdf.R:42:5',
    'test-pdf.R:62:5', 'test-png.R:14:5', 'test-png.R:52:5', 'test-pptx.R:27:5',
    'test-quarto.R:71:5', 'test-quarto.R:82:5', 'test-quarto.R:91:5',
    'test-quarto.R:103:5', 'test-quarto.R:114:5', 'test-quarto.R:127:5',
    'test-social.R:3:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-quarto.R:15:5'): [quarto] to_html() self-contained output in input directory ──
  <system_command_status_error/system_command_error/rlib_error_3_0/rlib_error/error/condition>
  Error in `"processx::run(quarto_bin, args, echo = TRUE)"`: ! System command 'quarto.exe' failed
  Backtrace:
      ▆
   1. ├─base::suppressMessages(to_html("slides.qmd", self_contained = TRUE)) at test-quarto.R:15:4
   2. │ └─base::withCallingHandlers(...)
   3. └─renderthis::to_html("slides.qmd", self_contained = TRUE)
   4.   └─base::tryCatch(...)
   5.     └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   6.       └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   7.         └─value[[3L]](cond)
  ── Error ('test-quarto.R:15:5'): [quarto] to_html() self-contained output in input directory ──
  <rlib_error_3_0/rlib_error/error/condition>
  Error in `c("(function (e) ", "{")`: ! Error in a deferred `on.exit()` clause
  Caused by error: 
  ! [ENOENT] Failed to move 'D:/temp/RtmpGuksYB/file77d038eb75d1/renderthis_77d06f4b4ec8.html' to 'D:/temp/RtmpGuksYB/file77d038eb75d1/slides.html': no such file or directory
  Backtrace:
       ▆
    1. ├─base::suppressMessages(to_html("slides.qmd", self_contained = TRUE)) at test-quarto.R:15:4
    2. │ └─base::withCallingHandlers(...)
    3. ├─renderthis::to_html("slides.qmd", self_contained = TRUE)
    4. │ └─cli (local) `<fn>`(`<env>`)
    5. │   ├─stop(error) %??% ...
    6. │   │ └─chain_error(expr, err, srcref = utils::getSrcref(sys.call()))
    7. │   │   └─base::withCallingHandlers(...)
    8. │   └─base::stop(error)
    9. └─`<fn>`(`<ENOENT>`)
   10.   └─throw_error(err, parent = e)
  ── Error ('test-quarto.R:27:5'): [quarto] to_html() output in sub-directory ────
  <system_command_status_error/system_command_error/rlib_error_3_0/rlib_error/error/condition>
  Error in `"processx::run(quarto_bin, args, echo = TRUE)"`: ! System command 'quarto.exe' failed
  Backtrace:
       ▆
    1. ├─base::suppressMessages(...) at test-quarto.R:27:4
    2. │ └─base::withCallingHandlers(...)
    3. ├─testthat::expect_message(...)
    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. └─renderthis::to_html("slides/slides.qmd", "output/slides.html")
   10.   └─base::tryCatch(...)
   11.     └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   12.       └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   13.         └─value[[3L]](cond)
  ── Error ('test-quarto.R:27:5'): [quarto] to_html() output in sub-directory ────
  <rlib_error_3_0/rlib_error/error/condition>
  Error in `c("(function (e) ", "{")`: ! Error in a deferred `on.exit()` clause
  Caused by error: 
  ! [ENOENT] Failed to move 'D:/temp/RtmpGuksYB/file77d03f2c1d20/slides/renderthis_77d01da65f60.html' to 'D:/temp/RtmpGuksYB/file77d03f2c1d20/output/slides.html': no such file or directory
  Backtrace:
       ▆
    1. ├─base::suppressMessages(...) at test-quarto.R:27:4
    2. │ └─base::withCallingHandlers(...)
    3. ├─testthat::expect_message(...)
    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. ├─renderthis::to_html("slides/slides.qmd", "output/slides.html")
   10. │ └─cli (local) `<fn>`(`<env>`)
   11. │   ├─stop(error) %??% ...
   12. │   │ └─chain_error(expr, err, srcref = utils::getSrcref(sys.call()))
   13. │   │   └─base::withCallingHandlers(...)
   14. │   └─base::stop(error)
   15. └─`<fn>`(`<ENOENT>`)
   16.   └─throw_error(err, parent = e)
  ── Error ('test-quarto.R:42:5'): [quarto] to_html() output in parent directory ──
  <system_command_status_error/system_command_error/rlib_error_3_0/rlib_error/error/condition>
  Error in `"processx::run(quarto_bin, args, echo = TRUE)"`: ! System command 'quarto.exe' failed
  Backtrace:
       ▆
    1. ├─base::suppressMessages(...) at test-quarto.R:42:4
    2. │ └─base::withCallingHandlers(...)
    3. ├─testthat::expect_message(...)
    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. └─renderthis::to_html("slides/slides.qmd", "slides.html")
   10.   └─base::tryCatch(...)
   11.     └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   12.       └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   13.         └─value[[3L]](cond)
  ── Error ('test-quarto.R:42:5'): [quarto] to_html() output in parent directory ──
  <rlib_error_3_0/rlib_error/error/condition>
  Error in `c("(function (e) ", "{")`: ! Error in a deferred `on.exit()` clause
  Caused by error: 
  ! [ENOENT] Failed to move 'D:/temp/RtmpGuksYB/file77d037c52ead/slides/renderthis_77d0597c32e9.html' to 'D:/temp/RtmpGuksYB/file77d037c52ead/slides.html': no such file or directory
  Backtrace:
       ▆
    1. ├─base::suppressMessages(...) at test-quarto.R:42:4
    2. │ └─base::withCallingHandlers(...)
    3. ├─testthat::expect_message(...)
    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. ├─renderthis::to_html("slides/slides.qmd", "slides.html")
   10. │ └─cli (local) `<fn>`(`<env>`)
   11. │   ├─stop(error) %??% ...
   12. │   │ └─chain_error(expr, err, srcref = utils::getSrcref(sys.call()))
   13. │   │   └─base::withCallingHandlers(...)
   14. │   └─base::stop(error)
   15. └─`<fn>`(`<ENOENT>`)
   16.   └─throw_error(err, parent = e)
  ── Error ('test-quarto.R:59:5'): [quarto] to_html() output in totally different directory ──
  <system_command_status_error/system_command_error/rlib_error_3_0/rlib_error/error/condition>
  Error in `"processx::run(quarto_bin, args, echo = TRUE)"`: ! System command 'quarto.exe' failed
  Backtrace:
       ▆
    1. ├─base::suppressMessages(...) at test-quarto.R:59:4
    2. │ └─base::withCallingHandlers(...)
    3. ├─testthat::expect_message(...)
    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. └─renderthis::to_html(...)
   10.   └─base::tryCatch(...)
   11.     └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   12.       └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   13.         └─value[[3L]](cond)
  ── Error ('test-quarto.R:59:5'): [quarto] to_html() output in totally different directory ──
  <rlib_error_3_0/rlib_error/error/condition>
  Error in `c("(function (e) ", "{")`: ! Error in a deferred `on.exit()` clause
  Caused by error: 
  ! [ENOENT] Failed to move 'D:/temp/RtmpGuksYB/file77d0659f503a/slides/renderthis_77d03970224.html' to 'D:/temp/RtmpGuksYB/file77d066046240/slides.html': no such file or directory
  Backtrace:
       ▆
    1. ├─base::suppressMessages(...) at test-quarto.R:59:4
    2. │ └─base::withCallingHandlers(...)
    3. ├─testthat::expect_message(...)
    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. ├─renderthis::to_html(...)
   10. │ └─cli (local) `<fn>`(`<env>`)
   11. │   ├─stop(error) %??% ...
   12. │   │ └─chain_error(expr, err, srcref = utils::getSrcref(sys.call()))
   13. │   │   └─base::withCallingHandlers(...)
   14. │   └─base::stop(error)
   15. └─`<fn>`(`<ENOENT>`)
   16.   └─throw_error(err, parent = e)
  
  [ FAIL 8 | WARN 0 | SKIP 21 | PASS 109 ]
  Error: Test failures
  Execution halted