abort_packages_not_installed | R Documentation |
Reports which packages need to be installed and the parent function name. See https://stackoverflow.com/questions/15595478/how-to-get-the-name-of-the-calling-function-inside-the-called-routine This is only intended to be used inside a function. It will error otherwise.
abort_packages_not_installed(...)
... |
names of packages to check |
Kelly Sovacool sovacool@umich.edu
## Not run:
abort_packages_not_installed("base")
abort_packages_not_installed("not-a-package-name", "caret", "dplyr", "non_package")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.