write_meta {metathis} | R Documentation |
Write Metadata Tags to a File
Description
Write your metadata tags to an HTML file that can be manually included in your page.
Usage
write_meta(.meta, path = "meta.html", append = FALSE)
Arguments
.meta |
A |
path |
The file to write into, defaults to |
append |
logical. Only used if the argument |
Value
Returns .meta
invisibly.
See Also
Other meta_actions:
include_meta()
Examples
meta_html_snippet <- tempfile("metathis_example", fileext = ".html")
meta() %>%
meta_name("package" = "metathis") %>%
write_meta(meta_html_snippet)
readLines(meta_html_snippet, warn = FALSE)
[Package metathis version 1.1.4 Index]