epitemplate is a pkgdown template package that provides consistent styling for all R package documentation sites maintained by the Economic Policy Institute.
Usage
To use this template for an EPI R package documentation site, add the following to your package’s _pkgdown.yml:
And add this to your DESCRIPTION so that GitHub Actions can install the template:
Config/Needs/website: economic/epitemplate
What it includes
- Color palette: dark blue navbar, light blue links, neutral grays
- Figtree font for body and headings (bundled, no CDN dependency)
- Fira Code font for code blocks (bundled)
- Flat design with minimal shadows
- Light footer with standard pkgdown attribution
Installation
Install from r-universe
# install from r-universe
install.packages(
"epitemplate",
repos = c("https://economic.r-universe.dev", getOptions("repos"))
)or install from GitHub
pak::pak("economic/epitemplate")