Learn R Programming

spsUtil (version 0.1.0)

checkNameSpace: check namespace

Description

Help you to check if you have certain packages and return missing package names

Usage

checkNameSpace(packages, quietly = FALSE, from = "CRAN")

Arguments

packages

vector of strings

quietly

bool, give you warning on fail?

from

string, where this package is from like, "CRAN", "GitHub", only for output message display purpose

Value

vector strings, of missing package names

Examples

Run this code
# NOT RUN {
checkNameSpace("ggplot2")
checkNameSpace("random_pkg")
checkNameSpace("random_pkg", quietly = TRUE)
# }

Run the code above in your browser using DataLab