Here, I used instructions from 2 different sources, 1) the blogdown website and 2) the documentation for the Hugo Academic theme. First install the Blogdown package in R:
library(blogdown) Navigate to the directory where your website files will reside on your computer,