Clones repositories from GitHub to a local directory.
local_repo_clone(
repo,
local_path = ".",
branch = "master",
mirror = FALSE,
verbose = FALSE
)
GitHub repo address with the form owner/name
.
Local directory to store cloned repos.
Repository branch to use.
Use equivalent of --mirror
when cloning.
Display verbose output.
# NOT RUN {
g = org_repos("Sta323-Sp18","hw3-")
local_repo_clone(g, "hw3")
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab