Check if required packages are installed with informative errors
Source:R/error-utils.r
check_packages.RdEnhanced package checking with better error messages and validation
Usage
check_packages(packages, reason = "for this functionality")
check_pkg(packages, reason = "for this functionality")See also
Other validate-utils:
check_directory(),
check_file(),
check_input(),
check_range()