powered by
This function checks whether a package is installed. If the package is not installed, it informs the user that the package is missing.
check_package(package)
A logical value: TRUE if the package is installed, FALSE otherwise.
The name of the package to check.
Sora Yoon, PhD
check_package('dplyr')
Run the code above in your browser using DataLab