View source: R/update_license.R
update_license | R Documentation |
Update copyright year in the LICENSE file. The copyright years are given as a range from the first year to the current year.
update_license(
pkg = stringi::stri_extract_last_words(usethis::proj_path()),
pkg_path = usethis::proj_path(),
copyright_owner = "Norwegian Veterinary Institute"
)
pkg |
[ |
pkg_path |
[ |
copyright_owner |
[ |
The copyright years will only be updated for the given copyright owner This to avoid that copyright for other copyright owners are updated if more than one.
None. Writes the LICENSE file.
Petter Hopp Petter.Hopp@vetinst.no
## Not run:
# Used when are in the package directory
update_license()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.