How to test whether a package or library is installed
PermalinkWhat I want to do is something like:
if ( IS_INSTALLED("packagename") && IS_AVAILABLE("libname")){ Loader::library("libname", "packagename"); //do stuff that depends on above }
if ( IS_INSTALLED("packagename") && IS_AVAILABLE("libname")){ Loader::library("libname", "packagename"); //do stuff that depends on above }
This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.