check_man: Check documentation, as R CMD check does.

Description Usage Arguments Value Examples

View source: R/check-doc.R

Description

This function attempts to run the documentation related checks in the same way that R CMD check does. Unfortunately it can't run them all because some tests require the package to be loaded, and the way they attempt to load the code conflicts with how devtools does it.

Usage

1
check_man(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.

Value

Nothing. This function is called purely for it's side effects: if

Examples

1
2
3
4
## Not run: 
check_man("mypkg")

## End(Not run)

devtools documentation built on April 7, 2021, 5:10 p.m.