write_meta | R Documentation |
Write your metadata tags to an HTML file that can be manually included in your page.
write_meta(.meta, path = "meta.html", append = FALSE)
.meta |
A |
path |
The file to write into, defaults to |
append |
logical. Only used if the argument |
Returns .meta
invisibly.
Other meta_actions:
include_meta()
meta_html_snippet <- tempfile("metathis_example", fileext = ".html")
meta() %>%
meta_name("package" = "metathis") %>%
write_meta(meta_html_snippet)
readLines(meta_html_snippet, warn = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.