quarto_render()
throws an uninformative error when output
is an absolute path
#126
Labels
enhancement
New feature or request
Milestone
Uh oh!
There was an error while loading. Please reload this page.
In
renderthis
we do something that's equivalent toquarto_render("slides.qmd", output = tempfile(fileext = ".html"))
. (Sidenote: this certainly worked at some point, but is now failing.)By default, in this scenario, the error will read:
but with
quiet = FALSE
we uncover the underlying error (the message it uncovers is, honestly, a bit confusing).Edit: actually I realized our situation was slightly more nuanced. The temp file isn't in a different directory, but rather pointed to a location adjacent to the source
input
. Maybequarto render
previously allowed this scenario and is now more strict? Here's a better pseudo-reprex:The text was updated successfully, but these errors were encountered: