clone_github: Clone a GitHub repositoru
Description
Clone a specified GitHub.
Usage
clone_github(repo_url = "https://github.com/phuse-org/phuse-scripts.git",
repo_dir = NULL, repo_name = NULL, upd_opt = NULL)
Arguments
repo_url
a URL for a remote repository and default to
'https://github.com/phuse-org/phuse-scripts.git'
repo_dir
a local directory to host the repository;
default to work_dir from crt_workdir if not specified
repo_name
repo name; default to the repo name in repo_url.
Examples
Run this code# NOT RUN {
r1 <- clone_github()
# }
Run the code above in your browser using DataLab