PackageCheck | R Documentation |
Check if a vector of packages is installed. If they are not, install and load them
PackageCheck(USE_THESE_PACKAGES, DEBUG = TRUE)
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 |
Installs any missing packages and loads of them into the current workspace
Abraham Mathew
Other Project Preparation:
CreateProjectFiles()
GoodeR::PackageCheck(c("ggplot2","data.table","lubridate","rms"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.