Description Usage Arguments Value
Insert new line(s) into existing metadata files.
1 2 3 4 5 6 7 8 | insert_line(
file,
pattern,
newlines,
after = TRUE,
path = "./inst/extdata/datasets",
write_files = TRUE
)
|
file |
Filename, character |
pattern |
Pattern to search for, a regular expression |
newlines |
New line(s) to write, character vector |
after |
Insert new line(s) after pattern (T) or before (F)? Logical |
path |
Path to search; normally the metadata are in |
write_files |
Write resulting files back out? Logical |
Nothing; run for side effects
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.