installAll: install all packages that may be required by the package
Description
This function facilitates to install the required packages that some functions are dependent on in the sdm package. It first checks whether the package is already installed, and if not, it installs the packages. If update=TRUE is used, the packages re-installed if they were already installed.
Usage
installAll(pkgs,update,...)
Arguments
pkgs
optional. the user provided list of packages (not required for the purpose of this function)
update
logical (default=FALSE), specifies whether the packages re-installed if they are already installed on the machine