Description Usage Arguments Value Side effects
View source: R/package_tools.R
Takes a local package and assembles it
1 | assemble_package(package_name, my_version, my_dir, should_build = FALSE)
|
package_name |
string name of the package |
my_version |
string version the package should be named |
my_dir |
directory path to the package |
should_build |
flag to indicate whether a tar.gz should be built or not |
No return value
Modifies the version listed in the DESCRIPTION file
Deletes the tar file from any older packages
Runs roxygen on the package
Builds the package
Tries to load the package. If it doesn't work, the DESCRIPTION file version name is set back to what is was.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.