View source: R/package_update.R
update_package | R Documentation |
As our packages evolve, expectations about package structures
as well as templates might also change.
This function updates files for packages setup with setup_package()
.
update_package(package = NULL, name = NULL, path = getwd())
package |
The name of the package to be updated, optional. When not declared package name is extracted from description. |
name |
A list of vectors giving the package author(s)' name(s). Optional. Authors(s)last name(s) and first name(s) are separated by a comma. |
path |
The file path, optional. If not specified, function gets the current working directory. |
Some of the files in the .github folder, such as workflow actions, pull request templates, and issue templates, are automatically updated. The function also asks developers if other files such as the package license, contributing file, and code of conduct should be updated.
Updated files in correct structure for packages.
## Not run:
update_package("manystates")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.