Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

ghclass (version 0.1.0)

local_repo_clone: Local repository tools

Description

Clones repositories from GitHub to a local directory.

Usage

local_repo_clone(
  repo,
  local_path = ".",
  branch = "master",
  mirror = FALSE,
  verbose = FALSE
)

Arguments

repo

GitHub repo address with the form owner/name.

local_path

Local directory to store cloned repos.

branch

Repository branch to use.

mirror

Use equivalent of --mirror when cloning.

verbose

Display verbose output.

Examples

Run this code
# NOT RUN {
g = org_repos("Sta323-Sp18","hw3-")
local_repo_clone(g, "hw3")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab