document: Document package.

Description Usage Arguments Examples

View source: R/document.R

Description

This function calls devtools::document() to update NAMESPACE and documentation and then calls write_dependencies() to update the DESCRIPTION file.

Usage

1
document(pkg = ".")

Arguments

pkg

The package to use, can be a file path to the package or a package object. See as.package() for more information.

Examples

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

## End(Not run)

markusdumke/pkghelper documentation built on Oct. 22, 2019, 6:16 p.m.