This function is a wrapper for the roxygen2::roxygenize()
function from the roxygen2 package. See the documentation and vignettes of
that package to learn how to use roxygen.
Arguments
- pkg
The package to use, can be a file path to the package or a package object. See
as.package()for more information.- roclets
Character vector of roclets to use.
The default,
NULL, uses the roxygenrocletsoption, which defaults toc("collate", "namespace", "rd"). This will update (if needed) theCollatefield withupdate_collate(), produce theNAMESPACEfile withnamespace_roclet(), and produce the Rd files withrd_roclet().(Note that
update_collate()is not technically a roclet but is still controlled with this argument for historical reasons.)- quiet
if
TRUEsuppresses output from this function.
See also
roxygen2::roxygenize(),
browseVignettes("roxygen2")
