lib_master: Installation and Loading of Required Libraries

Description Usage Arguments Author(s) Examples

View source: R/lib_master.R

Description

Based on a plain-text file, this function installs and loads all libraries and packages.

Usage

1
lib_master(req_file, loc_lib = NULL)

Arguments

req_file

Path to file with list of libraries. Plain-text, one library per line.

loc_lib

(Optional) Determine the folder, where the local library should be installed. Defaults to the first element of .libPaths().

Author(s)

Sebastian Schweer

Examples

1
2
3
4
req_file <- "requirements.txt"
writeLines("dplyr", req_file)

lib_master(req_file)

sebastianschweer/sastibe documentation built on May 29, 2019, 9:33 a.m.