update_news | R Documentation |
Create or update the "NEWS.md" file. It will include a template for new sections if relevant, and update the version number.
update_news(
pkg = stringi::stri_extract_last_words(usethis::proj_path()),
pkg_path = usethis::proj_path(),
template = NULL
)
pkg |
[ |
pkg_path |
[ |
template |
[ |
Default is template = NULL
that will only update the version number.
Use template = "first"
to make the "NEWS.md" template for the first
release of the package. Use template = "develop"
to make the "NEWS.md"
template for the successive releases of the package.
None. Creates or updates the "NEWS.md" file in the package directory.
Petter Hopp Petter.Hopp@vetinst.no
## Not run:
# Create the first "NEWS.md" file
library(NVIpackager)
update_news(template = "first")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.