Skip to contents

rotemplate provides a custom pkgdown template for rOpenSci packages. We use this to render sites at Please don’t use it for your own package if it’s not an rOpenSci package (i.e. only use it for packages listed on

Inspired by tidytemplate and lockedatapkg.

How to use rotemplate

Documentation rOpenSci packages will automatically be generated from your master branch and published to You don’t have to do anything to make this work. If you want to test your site locally use this:


Everything else can be configured as usual via the _pkgdown.yml file as described in the pkgdown documentation.

If your website is not deploying or you run into another problem, please open an issue in the ropensci/docs repository.

Math rendering

Please refer to pkgdown documentation.