/satRday-roxygen-talk

Materials for "Level Up Your Package's Roxygen Documentation" Lightning Talk @ satRday Chicago 2019

Primary LanguageRCreative Commons Attribution 4.0 InternationalCC-BY-4.0

"Level Up Your Package's Roxygen Documentation" Talk

License: CC BY 4.0

This repository contains the materials for "Level Up Your Package's Roxygen Documentation," a lightning talk at the satRday Chicago 2019 conference.

The roxygen2 package is the standard for writing documentation for R packages. While the basics are intuitive enough to copy from seeing anybody else’s package, roxygen2 has some advanced tricks that aren’t so obvious. This lightning talk will show some of those tricks, including dummy articles, section and parameter inheritance, and package articles.

Presentation:

Demo Package pokemon

The source for the examples from the talk are available in the demo package pokemon. To install:

remotes::install_github("https://github.com/jayqi/satRday-roxygen-talk", subdir = "pokemon")

Then use the library function to load the package:

library(pokemon)

Source and Documentation Commands for Examples

Disclaimer: The author of this repository claims no ownership over Pokémon or related characters. Pokémon and all related characters are trademarks of Nintendo. The presentation and demo package uses Pokémon under fair use, and all materials should only be used for personal, noncommercial purposes.