Description Usage Arguments Details Value Examples
Update the README.Rmd template file created by usethis::use_readme_rmd
.
1 | update_readme_rmd(repo, host = "github", public = TRUE)
|
repo |
character, the repository name, e.g. |
host |
character, options are |
public, |
logical, whether the remote repository is public or private. |
The file must exist. This function is for updating the Rmd file, not an md file.
It replaces the content in the Installation
section of the original template.
Replacement content is conditional on host
and whether or not public
is TRUE
or FALSE
.
The package name is also inserted as needed, taken from repo
.
side effect of updating file.
1 | ## Not run: update_readme_rmd
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.