Description Usage Arguments Value Examples
Build source package from source code in a GitHub repository.
1 2 3 | build_github(urls, destdir = ".")
download_github_zip(urls, destdir)
|
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 |
download_github_zip()
outputs .zip files.
build_github()
outputs source-package files (.tar.gz).
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.