19.2 usethis::use_pkgdown - Initiate a site

  • usethis::use_pkgdown() is run once and will create a minimal setup where we can then start to use pkgdown
  • This will:
    • Create a _pkgdown.yml file (the main config file for pkgdown)
    • Adds things to .Rbuildignore (stops pkgdown things being included in your package bundle)
    • Adds docs/ to .gitignore. This co-opts you into building and deploying your website elsewhere (GitHub Actions & Pages). docs/ would just be used to render as a local preview