doxy: Calls doxygen for an R package

Description Usage Arguments Value Examples

View source: R/doxygen_tools.R

Description

Triggers doxygen documentation for the code in src/. Triggers also the setup (with doxy_init()) at the first run.

Usage

1
2
doxy(doxygen = file.exists("src"), roxygen = FALSE,
  pathToDoxyfile = "./inst/doxygen/Doxyfile")

Arguments

doxygen

A boolean: should doxygen be ran on documents in src/? Default: TRUE if a src folder exist and FALSE if not

roxygen

A boolean: should devtools::document() be ran after the creation of the doxygen documentation? Default: FALSE

pathToDoxyfile

A string with the relative path to the Doxyfile. Default: "./inst/doxygen/Doxyfile"

Value

NULL or the value returned by devtools::document()

Examples

1
2
3
4
## Not run: 
  doxy()

## End(Not run)

rdoxygen documentation built on May 2, 2019, 11:04 a.m.