View source: R/update_readme.R
update_readme | R Documentation |
README.md
Update README.md
from README.Rmd
and child templates in NVIpackager
. If the
file don't exist, it is created.
update_readme(
pkg = stringi::stri_extract_last_words(usethis::proj_path()),
pkg_path = usethis::proj_path()
)
pkg |
[ |
pkg_path |
[ |
The child templates are found in NVIpackager
. Any change in this
text must be done in the templates.
None. Writes the file README.md
.
Petter Hopp Petter.Hopp@vetinst.no
## Not run:
# Attach packages and set up with temporary directory
library(NVIpackager)
td <- tempdir()
if (!dir.exists(file.path(td, "NVItest"))) {
dir.create(file.path(td, "NVItest"))
}
update_readme(pkg = "NVItest",
pkg_path = file.path(td, "NVItest"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.