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.

check_man(pkg = ".")



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


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


if (FALSE) { check_man("mypkg") }