[Bug]: using a package with context: output
fails
#105
Labels
p: high
Address issue at next possible opening
s: confirmed
Issue was confirmed to exist
t: bug
Something isn't working
Milestone
Bug description
I can successfully generate a ggplot plot when the webr-r quarto context is
interactive
, but changing it tooutput
leads to an error because theggplot2
package (specified in the YAML header) is no longer found.Steps to reproduce
The following Quarto document uses the default
interactive
context and works:But changing the context to
output
results inError: there is no package called ‘ggplot2’
Your environment
Quarto check output
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.1.1: OK
Dart Sass version 1.55.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.3.450
Path: /Applications/quarto/bin
[✓] Checking basic markdown render....OK
[✓] Checking Python 3 installation....OK
Version: 3.11.4 (Conda)
Path: /Users/sandmann/miniconda3/bin/python
Jupyter: (None)
[✓] Checking R installation...........OK
Version: 4.3.1
Path: /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources
LibPaths:
- /Users/sandmann/Library/R/arm64/4.3/library
- /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library
knitr: 1.44
rmarkdown: 2.25
[✓] Checking Knitr engine render......OK
The text was updated successfully, but these errors were encountered: