Description Usage Arguments Examples
Removes a range numbered lines from a file
1 | git_remove_lines(location, start, end)
|
location |
Path to the file to be modified |
start |
First line to be removed |
end |
Last line to be removed |
1 2 3 4 5 6 7 8 9 10 11 12 13 | git_copy_repo("tidyverse/dbplyr")
git_copy_file("dbplyr/vignettes/dbplyr.Rmd",
"content/dplyr.Rmd")
git_replace_text("content/dplyr.Rmd",
"Introduction to dbplyr",
"Databases using dplyr" )
git_copy_file("dbplyr/vignettes/sql-translation.Rmd",
"content/translation.Rmd")
git_remove_lines("content/translation.Rmd", 247, 248)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.