install.dependencies(pkg = NULL, all = FALSE, ..., dryrun = FALSE)
install.packages
.Install all dependencies from a package source directory or package source file.
try( install.dependencies('Matrix', dryrun=TRUE) )Package dependencies for Matrix: 'stats', 'methods', 'utils', 'lattice', 'graphics', 'grid' Missing: none## Not run:# install.dependencies("mypackage_1.0.tar.gz", dryrun=TRUE)# ## End(Not run)