Using blogdown


First, make sure you have the latest version of the blogdown package installed from CRAN:


Restart your R session. If you use RStudio, use the menu item Session > Restart R or the associated keyboard shortcut:

  • Ctrl + Shift + F10 (Windows and Linux) or
  • Command + Shift + F10 (Mac OS).
[1] ‘1.0’

Create GitHub repo


Clone GitHub repo


✨ Commit & Push! ✨

You should be committing these files:

  • *.Rproj

  • .gitignore

Create a new blogdown site

We’ll be using a new Hugo theme that I made for us!

Inside your current blogdown project, use the R console:


Let’s start with making the website with the theme:

new_site(dir = ".", theme = "apreshill/blogophonic")

Configure your site

The first stop on this tour of your site is the config.yaml file.