makeSureAllPackagesInstalled | R Documentation |
This function can be put at the start of project code.
It will only be necessary if there are multiple simInit
calls (i.e., the project doesn't use only one call).
It will check all modules in modulePath
for package dependencies.
It will prompt.
makeSureAllPackagesInstalled( modulePath, doInstalls = TRUE, verbose = getOption("Require.verbose") )
modulePath |
The path to modules, as per |
doInstalls |
logical. If |
verbose |
Numeric or logical indicating how verbose should the function
be. If -1 or -2, then as little verbosity as possible. If 0 or FALSE,
then minimal outputs; if |
## Not run: makeSureAllPackagesInstalled(modulePath = "modules") # Multiple modulePath makeSureAllPackagesInstalled(c( "~/GitHub/WBI_fireSense/modules/", "~/GitHub/SpaDES-modules/modules/" )) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.