cloneRepo: clone bookdown master repo

Description Usage Arguments Value See Also Examples

View source: R/git_utils.R

Description

clone bookdown master repo

Usage

1

Arguments

...

passed directly to git2r::clone

Value

a repository object

See Also

clone

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
repo = cloneRepo('https://github.com/Bioconductor/BiocWorkshops2019', 'bioc2019')
repo$path
dirname(repo$path)

# find "HEAD"
git2r::repository_head(repo)

# latest commit
com = git2r::commits(repo)[[1]]
print(com$sha)
print(com$summary)

seandavi/CollaborativeBookdown documentation built on Aug. 22, 2019, 4:48 a.m.