install_remote_binaries: Install Binaries from Remotes

Description Usage Arguments Value Examples

View source: R/install_remote_binaries.R

Description

Gets Remotes, gets Binaries form GH, and installs them, then drops them from Remotes field

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
install_remote_binaries(
  path = "DESCRIPTION",
  remotes = NULL,
  package = NULL,
  check_r_version = TRUE,
  force_sha = TRUE,
  verbose = TRUE,
  method = ifelse(.Platform$OS.type == "unix", "wget", "auto"),
  ...
)

Arguments

path

Path to DESCRIPTION file passed to remote_binaries

remotes

Remotes to get binaries for - in case not going from DESCRIPTION, passed to remote_binaries

package

Specific package to install

check_r_version

Check if R version is in the name of the tarball

force_sha

Should the SHA be checked when trying to get binaries

verbose

Print diagnostic messages

method

method to download, passed to download.file

...

additional arguments passed to install.packages

Value

Invisible NULL

Examples

1
2
3
4
5
## Not run: 
path = example_description_file()
install_remote_binaries(path = path, method = "wget")

## End(Not run)

muschellij2/ghtravis documentation built on April 1, 2021, 5:22 p.m.