Open jtr13 opened 2 months ago
Hi, thanks for the kind words!
Does it work if you explicitly load the library with library(ggplot2)
before calling the ggplot()
command? It may be that the package is installed but not loaded automatically.
Yes, that works. Perhaps I misunderstood that by including the packages in the YAML I wouldn't need to do that.
Sometimes it is useful to have a package that is installed, but not loaded with library()
, which is why that is the default behaviour.
We can add an additional yaml configuration option to also load the package once it has finished installing.
That would be a welcome addition.
First of all, thanks for a great extension!
This example isn't working for me:
When I try to make a plot with ggplot2 I get:
Error in ggplot(mtcars, aes(wt, mpg)) : could not find function "ggplot"