newsrdown
includes functions that facilitate building documentation websites for news-r packages.
You can install newsrdown
from Github with:
# install.packages("remotes")
remotes::install_github("news-r/newsrdown")
Use in _pkgdown.yml
.
template:
package: newsrdown
Helper functions:
# create _pkgdown.yml
newsrdown::create_pkgdown()
# Create template of `index.Rmd`
newsrdown::create_index_page()
Feel free to use this package although it's probably not of use outside of news-r package. It's being used for the following packages: