check if package is installed
check_pkg_installed(pkg, raise_error = TRUE)
pkg
character, package name
raise_error
logical
check_pkg_installed("easyalluvial")