Tidytemplate
A pkgdown template for core tidyverse packages
Install / Use
/learn @tidyverse/TidytemplateREADME
tidytemplate <img src="man/figures/logo.png" align="right" />
<!-- badges: start --> <!-- badges: end -->Overview
tidytemplate provides a custom pkgdown template for tidyverse, r-lib, tidymodels, and rmarkdown packages. Please don’t use it for your own package.
Templates
For all sites, ensure that DESCRIPTION contains:
Config/Needs/website: tidyverse/tidytemplate
tidyverse and r-lib
template:
package: tidytemplate
bootstrap: 5
includes:
in_header: |
<script defer data-domain="{YOUR DOMAIN},all.tidyverse.org" src="https://plausible.io/js/plausible.js"></script>
development:
mode: auto
Ping Hadley on slack to get your site added to plausible.
tidymodels
template:
package: tidytemplate
bootstrap: 5
bslib:
primary: "#CA225E"
includes:
in_header: |
<script defer data-domain="{YOUR DOMAIN},all.tidymodels.org" src="https://plausible.io/js/plausible.js"></script>
development:
mode: auto
Ping Hadley on slack to get your site added to plausible.
rmarkdown / quillt
template:
package: tidytemplate
bootstrap: 5
bslib:
primary: "#096B72"
navbar-background: "#e6f3fc"
trailing_slash_redirect: true
Updating
If you’re updating from a previous pkgdown config, use the following checklist to make sure everything is up to date:
* [ ] `usethis::use_pkgdown_github_pages()`
* [ ] Ensure Author includes RStudio as copyright holder and funder
* [ ] Update `DESCRIPTION` to include `Config/Needs/website: tidyverse/tidytemplate`
* [ ] Update `_pkgdown.yml` with appropriate template above.
* [ ] Ping Hadley to add plausible.io record
* [ ] Remove `strip_header: true`
* [ ] Remove algolia search, if used
* [ ] Eliminate superseded navbar customisation (`home: ~`, article re-ordering)
* [ ] Update `news` structure if needed
* [ ] Remove any author info for tidyverse folks (since now included in template)
Related Skills
node-connect
341.6kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
341.6kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.6kCommit, push, and open a PR
