PackageCheck: PackageCheck

PackageCheckR Documentation

PackageCheck

Description

Check if a vector of packages is installed. If they are not, install and load them

Usage

PackageCheck(USE_THESE_PACKAGES, DEBUG = TRUE)

Arguments

USE_THESE_PACKAGES

A vector of strings which describe the packages that will be used during the project

DEBUG

If TRUE, the function will run in debug mode

Value

Installs any missing packages and loads of them into the current workspace

Author(s)

Abraham Mathew

See Also

Other Project Preparation: CreateProjectFiles()

Examples




     GoodeR::PackageCheck(c("ggplot2","data.table","lubridate","rms"))




abmathewks/GoodeR documentation built on June 12, 2025, 1:48 a.m.