dime-worldbank / quarto-dime-theme

DIME theme for Quarto Reveal.js Presentations
https://dime-worldbank.github.io/quarto-dime-theme/
MIT License
10 stars 3 forks source link

Template.Qmd assumes R libraries are already installed and in environment #16

Open geoffreyyip opened 7 months ago

geoffreyyip commented 7 months ago

Hey all, it's possible the mistake is on my end. But in case others faced the same issues I did, I opened #15 as a fix.

Some lines assume the user has already installed a certain library.

library(leaflet)

Other lines assume the user has already loaded a library into the environment. For example, this expects palmerpenguins to be already in the environment

#| fig.align: center
#| echo: false

penguins <- palmerpenguins::penguins

penguins |>
  ggplot(aes(bill_length_mm, bill_depth_mm, col = species)) +
  geom_point() +
  // ...
  theme_dime()