View source: R/check_req_pkg.R
check_req_pkg | R Documentation |
Check whether required packages are installed.
check_req_pkg(pkg = NULL)
pkg |
a character vector containing names of packages to check |
there will be no output from this function. Rather, the function will check whether the packages given as inputs are installed.
check_req_pkg("data.table")
check_req_pkg(c("base", "utils", "ggplot2", "data.table"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.