Forked R pkgdown library
Reason of forking:
The original pkgdown
package doesn't allow paged data frame rendering.
# Install development version from GitHub
devtools::install_github("Paradigm4/pkgdown")
Get started with usethis:
# Run once to configure your package to use pkgdown
usethis::use_pkgdown()
Use pkgdown to update your website:
# Run to build the website
pkgdown::build_site()
This generates a docs/
directory containing a website. Your
README.md
becomes the homepage, documentation in man/
generates a
function reference, and vignettes will be rendered into articles/
.
Read vignette("pkgdown")
for more details and to learn how to
customise your site.
Any extra assets for the generated static site should placed inside R_package_root/pkgdown/
prefixed with extra
, e.g. extra.css
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.