safe_install_github: Safe installation of R packages from GitHub

Description Usage Arguments Value Examples

View source: R/safe_install.R

Description

Safe installation of R packages from GitHub

Usage

1
safe_install_github(user.repo = NULL, ..., verbose = TRUE)

Arguments

user.repo

Repository address in the format username/repo.

...

Further options passed to remotes::install_github().

verbose

Logical. Show verbose output?

Value

If no unsafe code is detected, the package is installed. Otherwise, an error message calling to inspect the repository for potential problems.

Examples

1
2
3
4
5
6
## Not run: 
library(safeinstall)
safe_install_github("Pakillo/safeinstall")
safe_install_github("ropenscilabs/testevil")

## End(Not run)

Pakillo/safeinstall documentation built on Oct. 30, 2019, 9:37 p.m.