0
votes

In the "Hello R Markdown" post included in the blogdown ghostwriter theme, the pie chart renders in Rstudio viewer, but not when deployed on Netlify. Rstudio view: Rstudio view Netlify view Deployed with Hugo version 0.27.1. GitHub

1

1 Answers

4
votes

You should commit the static/ folder in GIT, as mentioned in Section C.6 in the blogdown book.

As we mentioned in Section C.4, R plots will be copied to static/, so you may see new files in GIT after you render an Rmd file that has graphics output. You need to add and commit these new files in GIT, because the website will use them.