Check whether a package is available
check_pkg(pkg, bioc = FALSE)
The name of the package.
Whether it is a Bioconductor package.
One of the suggestions to avoid heavy dependencies is to put parent packages that are not frequently used
to 'Suggests' and to load them when the corresponding functions are used. Here the
function helps to check whether these parent packages are avaiable and if not, it prints messages to guide users to install the corresponding packages.
# There is no example
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.