Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package installation not working #68

Closed
DanielEWeeks opened this issue Oct 11, 2023 · 2 comments · Fixed by #70
Closed

Package installation not working #68

DanielEWeeks opened this issue Oct 11, 2023 · 2 comments · Fixed by #70

Comments

@DanielEWeeks
Copy link

Just updated to the most recent version of quarto-webr using the

quarto add coatless/quarto-webr

command and now the loading message on this page

https://danieleweeks.github.io/HuGen2071/webR_test.html

is more informative than it used to be and it says Installing 1 of 1 packages: ggplot2, but when I run the following code block, it dies at the

library(ggplot2)

line, stating:

Error: there is no package called ‘ggplot2’

However, if I do

webr::install("ggplot2")

then the library(ggplot2) command works, so a ggplot2 library is available for this version of webR, but the YAML

webr:
  packages: ['ggplot2']

is no longer properly installing it.

Thank you.

@coatless
Copy link
Owner

@DanielEWeeks thanks! It should be fixed now.

Could you update the extension again?

quarto add coatless/quarto-webr

@DanielEWeeks
Copy link
Author

Yes, with this update, webR is now working properly again. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants