View source: R/use_metadata_template.R
use_metadata_template | R Documentation |
This function places a metadata template at the address specified by "file"
,
defaulting to "metadata.Rmd"
in the working directory. The template is
built in such a way that standard rendering with rmarkdown
or Quarto to
HTML or PDF will function; but also that it renders to valid EML when
processed using read_md()
and write_eml()
.
use_metadata_template(file = NULL, overwrite = FALSE, quiet = FALSE)
file |
(string) A name for the resulting file, with either |
overwrite |
(logical) Should any existing file be overwritten? Defaults
to |
quiet |
(logical) Should messages be suppressed? Defaults to |
Doesn't return anything to the workspace; called for the side-effect of placing a metadata statement in the working directory.
use_metadata_template("example.Rmd")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.