Description Usage Arguments Examples
Copy a repository from GitHub
1 | git_copy_repo(github_repo, copy_to = "repos")
|
github_repo |
The user and repository name |
copy_to |
Subfolder in the project where the repo will be copied to. Defaults to: "repos" |
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.