A note from the authors: Some of the information and instructions in this book are now out of date because of changes to Hugo and the blogdown package. If you have suggestions for improving this book, please file an issue in our GitHub repository. Thanks for your patience while we work to update the book, and please stay tuned for the revised version!
— Yihui, Amber, & Alison
We assume you have already installed:
- R (https://www.r-project.org) (R Core Team 2022) and
- the RStudio IDE (https://posit.co/download/rstudio-desktop/).
The blogdown package is available on CRAN and you can install it with:
Do you have an old version of blogdown? Compare your version against ours and upgrade if necessary.
##  '1.16'
To update blogdown, run
Do you have old versions of blogdown’s dependencies (such as rmarkdown)? If you are experiencing problems, you may first try to update all R packages:
update.packages(ask = FALSE, checkBuilt = TRUE)
If you are still experiencing issues with blogdown, you may try installing the development version from GitHub:
if (!requireNamespace("remotes")) install.packages("remotes") ::install_github("rstudio/blogdown")remotes
If you use RStudio, it will remind you of restarting R before installing or updating any packages currently in use. If you do not use RStudio, you may need to restart R by yourself.