knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

Website are built using the pkgdown package.

pkgdown::build_site()

To add a website follow the instructions here: https://pkgdown.r-lib.org/reference/deploy_site_github.html The key part is creating the gh-pages branch in bash/PowerShell:

git checkout --orphan gh-pages
git rm -rf .
git commit --allow-empty -m 'Initial gh-pages commit'
git push origin gh-pages
git checkout master


ITSLeeds/prioritiselinks documentation built on June 26, 2022, 4:38 p.m.