We will use the usethis package (github.com/r-lib/usethis) to add pkgdown to the package using usethis::use_pkgdown.
Here we use the pkgdown package: pkgdown.r-lib.org/ to create a page like johnmuschelli.com/tester/. The main function we will use is pkgdown::build_site() or the RStudio Addin from pkgdown.
See github.com/muschellij2/tester for the output of the package.
GitHub Pages: pages.github.com/
Негізгі бет R Package Development 6: Creating a pkgdown site
Пікірлер: 4