Learn R Programming

kim (version 0.5.3)

check_req_pkg: Check for required packages

Description

Check whether required packages are installed.

Usage

check_req_pkg(pkg = NULL)

Value

there will be no output from this function. Rather, the function will check whether the packages given as inputs are installed.

Arguments

pkg

a character vector containing names of packages to check

Examples

Run this code
# \donttest{
check_req_pkg("data.table")
check_req_pkg(c("base", "utils", "ggplot2", "data.table"))
# }

Run the code above in your browser using DataLab