knitr (version 0.8)

knit_rd: Knit package documentation

Description

Run examples in a package and insert output into the examples code.

Usage

knit_rd(pkg)

Arguments

pkg
package name

Value

  • All HTML pages corresponding to topics in the package are written under the current working directory. An index.html is also written as a table of content.

Examples

Run this code
knit_rd("maps")
knit_rd("rpart")
knit_rd("ggplot2")  # time-consuming!

Run the code above in your browser using DataCamp Workspace