powered by
if the package has not changed (based on the md5sum file), does nothing
otherwise roxygenise the package using roxygen2::roxygenise
and update and save the new md5sum file
pkg_roxygenise(pkg_path, force = FALSE, quiet = FALSE, ...)
if the roxygenation has been performed
the package path, as a character
if force(d), do not use the md5-based system to detect package changes
whether to be quiet/silent
passed to devtools::document()
devtools::document()
N.B: has the side-effect of loading the package
pkg <- setup_and_get_dummy_srcpkg() pkg_roxygenise(pkg$path)
Run the code above in your browser using DataLab