install: Install R packages

Description Usage Arguments Value Examples

View source: R/fgit.R

Description

Install R packages

Usage

1
install(pkg, gitee = FALSE, ...)

Arguments

pkg

A package name for Git(hub) package (e.g. ShixiangWang/ezcox) or a list of packages (e.g. c("dplyr", "maftools")) for normal packages.

gitee

If TRUE, install package from Gitee.

...

Other arguments passing to remotes::install_git, BiocManager::install or remotes::install_github based on input.

Value

Nothing.

Examples

1
2
3
4
5
6
## Not run: 
install("ShixiangWang/ezcox")
install("ShixiangWang/tinyscholar", gitee = TRUE)
install(c("ggplot2", "Biobase"))

## End(Not run)

ShixiangWang/wfun documentation built on Dec. 31, 2020, 4:31 p.m.