Skip to content

Error from Quarto in CI is not very helpful #294

@cderv

Description

@cderv
Reading vignettes/schema.qmd
Running `quarto render`
Error in `quarto::quarto_render()`:
! Error running quarto CLI from R.
Caused by error in `quarto::quarto_render()`:
✖ Error returned by quarto CLI.
ℹ Rerun with `quiet = FALSE` to see the full error message.
Caused by error:
! System command 'quarto' failed
Backtrace:
     ▆
  1. ├─pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
  2. │ └─pkgdown::build_site(...)
  3. │   └─pkgdown:::build_site_local(...)
  4. │     └─pkgdown::build_articles(...)
  5. │       └─pkgdown:::build_quarto_articles(pkg, quiet = quiet)
  6. │         └─pkgdown:::quarto_render(pkg, src_path, quiet = quiet)
  7. │           └─quarto::quarto_render(...)
  8. │             └─quarto:::quarto_run(...)
  9. │               ├─base::withCallingHandlers(...)
 10. │               └─processx::run(...)
 11. │                 └─throw(...)
 12. │                   └─base::signalCondition(cond)
 13. └─quarto (local) `<fn>`(`<systm___>`)
 14.   └─quarto:::wrap_quarto_error(e, args, .call = .call)
 15.     └─cli::cli_abort(msg, call = .call, parent = cnd, )
 16.       └─rlang::abort(...)
Execution halted

We should either change the message to recommend users to use R_QUARTO_QUIET = FALSE as env var

or we could also default to R_QUARTO_QUIET = FALSE in CI, if unset. 🤔

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions