Skip to contents

Install package if not already installed.

Usage

install_or_not(package, CRAN = TRUE)

Arguments

package

Package name.

CRAN

Boolean, whether the package is from CRAN or Bioconductor.

Examples

## Not run:
# install_or_not("dplyr", CRAN = TRUE)
## End(Not run)