Skip to content

Economic/epitemplate

Repository files navigation

epitemplate

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:

template:
  package: epitemplate

And add this to your DESCRIPTION so that GitHub Actions can install the template:

Config/Needs/website: economic/epitemplate

Packages using this template

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")

About

EPI template for R packages

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors