Check if a package is installed. If not, throw an error message
check_installed_package(package_name, check = FALSE)
the name of the package (quoted)
the function should work as a boolean operator
Boolean value whether package is installed.
check_installed_package("dplyr")