build_github: Build source package from source code in a GitHub repository.

Description Usage Arguments Value Examples

Description

Build source package from source code in a GitHub repository.

Usage

1
2
3
build_github(urls, destdir = ".")

download_github_zip(urls, destdir)

Arguments

urls

Character vector giving GitHub repositories with the format "owner/repo".

destdir

Length-1 character vector; path to directory where to save the output.

...

Arguments passed to devtools::build().

Value

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
urls <- c("maurolepore/toy1", "maurolepore/toy2")
tmp <- tempdir()

download_github_zip(urls, tmp)
fs::dir_ls(tmp, glob = "*.zip")

build_github(urls, tmp)
fs::dir_ls(tmp, glob = "*.tar.gz")

## End(Not run)

maurolepore/fgeo.build documentation built on May 16, 2019, 7:16 p.m.