Running ‘testthat.R’ [8s/10s]
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(quarto)
  > 
  > test_check("quarto")
  [ FAIL 2 | WARN 0 | SKIP 94 | PASS 259 ]
  
  ══ Skipped tests (94) ══════════════════════════════════════════════════════════
  • On CRAN (55): 'test-blog.R:73:3', 'test-convert-bookdown.R:6:3',
    'test-convert-bookdown.R:27:3', 'test-convert-bookdown.R:40:3',
    'test-convert-bookdown.R:66:3', 'test-convert-bookdown.R:82:3',
    'test-convert-bookdown.R:95:3', 'test-convert-bookdown.R:118:3',
    'test-convert-bookdown.R:144:3', 'test-convert-bookdown.R:167:3',
    'test-convert-bookdown.R:194:3', 'test-convert-bookdown.R:225:3',
    'test-convert-bookdown.R:253:3', 'test-list.R:3:3', 'test-metadata.R:47:3',
    'test-metadata.R:58:3', 'test-metadata.R:71:3', 'test-metadata.R:91:3',
    'test-metadata.R:117:3', 'test-quarto.R:42:3', 'test-render.R:72:3',
    'test-spin.R:28:3', 'test-spin.R:36:3', 'test-spin.R:91:3',
    'test-spin.R:104:3', 'test-spin.R:124:3', 'test-spin.R:141:3',
    'test-spin.R:158:3', 'test-spin.R:165:3', 'test-theme.R:2:1',
    'test-utils-extract.R:2:3', 'test-utils-extract.R:11:3',
    'test-utils-prompt.R:3:3', 'test-utils-prompt.R:28:3',
    'test-utils-prompt.R:35:3', 'test-utils-prompt.R:53:3',
    'test-utils-prompt.R:63:3', 'test-utils-prompt.R:70:3',
    'test-utils-prompt.R:88:3', 'test-utils-prompt.R:98:3',
    'test-utils-versions.R:16:3', 'test-utils-versions.R:32:3',
    'test-utils-versions.R:70:3', 'test-utils-versions.R:85:3',
    'test-utils-vignettes.R:2:3', 'test-utils.R:2:3', 'test-utils.R:19:3',
    'test-utils.R:29:3', 'test-utils.R:43:3', 'test-utils.R:53:3',
    'test-utils.R:77:3', 'test-utils.R:85:3', 'test-utils.R:92:3',
    'test-utils.R:114:3', 'test-utils.R:237:3'
  • Quarto is not available (37): 'test-add.R:2:3', 'test-blog.R:2:3',
    'test-create.R:2:3', 'test-create.R:14:3', 'test-create.R:27:3',
    'test-create.R:41:3', 'test-create.R:62:3', 'test-inspect.R:2:3',
    'test-inspect.R:12:3', 'test-inspect.R:20:3', 'test-parameters.R:2:3',
    'test-parameters.R:36:3', 'test-parameters.R:53:3', 'test-quarto.R:2:3',
    'test-quarto.R:8:3', 'test-quarto.R:18:3', 'test-quarto.R:64:3',
    'test-quarto.R:116:3', 'test-remove.R:2:3', 'test-render.R:2:3',
    'test-render.R:8:3', 'test-render.R:15:3', 'test-render.R:27:3',
    'test-render.R:41:3', 'test-render.R:56:3', 'test-render.R:104:3',
    'test-update.R:2:3', 'test-use.R:2:3', 'test-use.R:13:3', 'test-use.R:31:3',
    'test-utils-extract.R:21:3', 'test-utils-extract.R:91:3',
    'test-utils-extract.R:100:3', 'test-utils-extract.R:109:3',
    'test-utils-projects.R:52:3', 'test-utils-projects.R:169:3',
    'test-utils-projects.R:210:3'
  • quarto-preview test only works interactively (2): 'test-preview.R:2:3',
    'test-preview.R:26:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-utils-extract.R:52:3'): qmd_to_r_script() comment cells with eval = TRUE ──
  Error in `find_quarto()`: Quarto command-line tools path not found!
  Please make sure you have installed and added Quarto to your PATH or set the QUARTO_PATH environment variable.
  Backtrace:
      ▆
   1. └─quarto::qmd_to_r_script(resources_path("purl-r.qmd"), script = r_script) at test-utils-extract.R:52:3
   2.   └─quarto::quarto_inspect(qmd)
   3.     └─quarto:::find_quarto()
   4.       └─cli::cli_abort(quarto_not_found_msg)
   5.         └─rlang::abort(...)
  ── Error ('test-utils-extract.R:72:3'): qmd_to_r_script() ignore cells with purl = FALSE ──
  Error in `find_quarto()`: Quarto command-line tools path not found!
  Please make sure you have installed and added Quarto to your PATH or set the QUARTO_PATH environment variable.
  Backtrace:
      ▆
   1. └─quarto::qmd_to_r_script(resources_path("purl-r.qmd"), script = r_script) at test-utils-extract.R:72:3
   2.   └─quarto::quarto_inspect(qmd)
   3.     └─quarto:::find_quarto()
   4.       └─cli::cli_abort(quarto_not_found_msg)
   5.         └─rlang::abort(...)
  
  [ FAIL 2 | WARN 0 | SKIP 94 | PASS 259 ]
  Deleting unused snapshots:
  • render/metadata-file.test.out
  • render/metadata-merged.test.out
  • render/metadata.test.out
  • utils-extract/purl.R
  • utils-extract/purl.md
  Error: Test failures
  Execution halted