talira

Citations, evaluated examples and updates for R documentation

open sourceGPL-2.0-or-laterfree

Rdpack is an R package for writing and maintaining R package documentation. Its Rd macros insert BibTeX references and citations from a package's REFERENCES.bib into Rd files and roxygen2 comments (insertRef, insertCite, insertAllCited), insert R code with its evaluated output (printExample), and create figures on the fly (insertFig). reprompt() and ereprompt() update existing Rd documentation for functions, methods and classes, and other functions manipulate references and Rd files.

Problems it solves

  • add citations from a BibTeX file to my R package documentation
  • keep my R package's Rd help files in sync after changing a function
  • show example output in R documentation

Features

  • insert BibTeX references and citations into Rd files and roxygen2 comments
  • insert R code examples with their evaluated output
  • generate figures in documentation on the fly
  • reprompt() updates existing Rd docs for functions, methods and classes

Alternatives

The same job

These do what Rdpack does.

  1. lifecycle Tools and conventions for managing the life cycle of an R package's functions

Compare Rdpack with the top 3