powered by
Help you to check if you have certain packages and return missing package names
checkNameSpace(packages, quietly = FALSE, from = "CRAN")
vector of strings
bool, give you warning on fail?
string, where this package is from like, "CRAN", "GitHub", only for output message display purpose
vector strings, of missing package names
# NOT RUN { checkNameSpace("ggplot2") checkNameSpace("random_pkg") checkNameSpace("random_pkg", quietly = TRUE) # }
Run the code above in your browser using DataLab