Skip to content

fix: quiet & debug should be forwarded as is to render_single_qmd() then quarto_render() #13

Description

@ColinFay

Description

quarto_render() has both debug & quiet, but these params are not forwarded from compile_qmd_course() and render_single_qmd():

This is the current logic:

  • If quiet is FALSE in compile_qmd_course() then quiet is TRUE in quarto_render()
compile_qmd_course(quiet = FALSE, debug = FALSE) 
# then
render_single_qmd(quiet = !debug) # TRUE 
# then
quarto_render(quiet = TRUE)
  • If quiet is TRUE in compile_qmd_course() then quiet is FALSE in quarto_render()
compile_qmd_course(quiet = TRUE, debug = TRUE) 
# then
render_single_qmd(quiet = !debug) # FALSE 
# then
quarto_render(quiet = FALSE)

This behavior makes it hard to reason about the function logic.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions