Replies: 1 comment
-
That makes sense. As of be67cf2, the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Help
Description
It was discussed previously in #124 (reply in thread), how one needs to specify all the packages to load in Quarto documents, because unlike with R Markdown, knitting happens in an R session launched by Quarto, not by targets, thus the list of packages loaded by target cannot be passed on. As far as can tell, this is still not documented anywhere else. Nevertheless, there is a
packages
argument intar_quarto
and its docstring simply inherits fromtar_target
, which makes the users believe that packages would be loaded in a Quarto document in a similar way to other types of targets.Does the
packages
argument still do anything intar_quarto
? Either way, I think a note on package loading with Quarto would be useful.I haven't investigated other arguments in
tar_quarto
but the same issues could come up with other arguments (library
,error
, etc.), especially as in the R session launched by Quarto targets is not set up andtar_option_get
will return default values, not the ones specified in the pipeline.(BTW, is this the right place to raise an issue? None of the issue templates really fit.)
Beta Was this translation helpful? Give feedback.
All reactions