We have a package with one function and tests.
That function has a local manual page.
⚠️ rmarkdown and pkgdown needs your package to be installed.
install.packages("rmarkdown")
, usethis::use_readme_rmd()
, write stuff, knit, commit+push, look at GitHub repository.
usethis::use_vignette("minipkg")
, write stuff. Vignette vs article.
install.packages("pkgdown")
, usethis::use_pkgdown()
, pkgdown::build_site()
. Locally.
🧰 Repeat the steps!
usethis::use_github_action("pkgdown")
, change GitHub pages settings of the repo, add URL to pkgdown config and to DESCRIPTION.👀 usethis support for GitHub Actions setup
🧰 Repeat the steps!