refreshPackage.RdPackage handling function Detach a custom packages, re-document, re-install, and re-load. Useful if I'm debugging packages and want to try the new version. Expects it to be in the $CODE folder by default
refreshPackage(pkg, path = Sys.getenv("CODE"), compileAttributes = TRUE, roxygenize = TRUE)
| pkg | Package name |
|---|---|
| path | Local path to package folder |
| compileAttributes | Should I Rcpp:compileAttributes to refresh Rcpp code before installing? |
| roxygenize | Should I roxygen2::roxygenize it to refresh documentation before installing? |