View source: R/core_use_readme_qmd.R
use_readme_qmd | R Documentation |
README.qmd
will be automatically
added to .Rbuildignore
. The resulting README is populated with default
YAML frontmatter and R fenced code chunks (qmd
).
Your readme should contain:
a high-level description of the package and its goals
R code to install from GitHub, if GitHub usage detected
a basic example
use_readme_qmd(pkg = ".", render_readme = TRUE)
pkg |
package description, can be path or package name. See
|
render_readme |
should the README.qmd be directly rendered to a github markdown document? default: TRUE |
## Not run:
use_readme_qmd()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.