Skip to content

Instantly share code, notes, and snippets.

@rohitfarmer
Created April 20, 2022 14:15
Show Gist options
  • Save rohitfarmer/00e8a63b4972ee257ffa85c87f09e80c to your computer and use it in GitHub Desktop.
Save rohitfarmer/00e8a63b4972ee257ffa85c87f09e80c to your computer and use it in GitHub Desktop.
Commands related to building an R package.

Pkgdown

Before you run pkgdown related commands use KnitR to compile the README.Rmd file to README.md as it will be used as the homepage of the website.

To build pkgdown website for github pages through github actions pkgdown::build_site_github_pages()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment