R/error-utils.r
check_packages.RdCheck if required packages are installed with informative errors
check_packages(packages, reason = "for this functionality")
check_pkg(packages, reason = "for this functionality")Invisible TRUE if all packages are available, throws error otherwise