pff_check_install_pkgs: Checks and installs a single package

Description Usage Arguments Value Examples

View source: R/pff_utils.R

Description

This function will check if input package in pkg.in is installed and, if not, installs it from a chosen repository

Usage

1
2
3
pff_check_install_pkgs(pkg.in, my.available.packages,
  my.library.path = .libPaths()[1],
  my.repository = "https://cloud.r-project.org")

Arguments

pkg.in

Name of the package to be installed

my.available.packages

Names of locally available (installed) packages

my.library.path

Library to search for installed packages (default = .libPaths()[1])

my.repository

Url of CRAN repository (default = "https://cloud.r-project.org" )

Value

A dataframe with information about the result of the installation

Examples

1

PkgsFromFiles documentation built on Oct. 29, 2018, 1:03 a.m.