powered by
Check the installation of a package for some functions
check_pkg(pkg)
if the package is installed then it returns NULL else it returns error message
Package name
NULL
Run the code above in your browser using DataLab