powered by
Check if a package is installed. If not, throw an error message
check_installed_package(package_name, check = FALSE)
Boolean value whether package is installed.
the name of the package (quoted)
the function should work as a boolean operator
check_installed_package("dplyr")
Run the code above in your browser using DataLab