| isAvailable {EnrichmentBrowser} | R Documentation |
Convenience function for checking and installing required packages.
isAvailable(pkg, type = c("annotation", "software", "data"))
pkg |
Character vector of length 1. A valid name of an existing R package. |
type |
Character vector of length 1. What type of package is this? Choose one out of 'annotation', 'software', or 'data' package. |
Checks whether a required package is available in the library. If yes, the
package is loaded via require. If not, the package is
optionally installed via install and,
subsequently, loaded via require.
None. See details.
Ludwig Geistlinger <Ludwig.Geistlinger@sph.cuny.edu>
require, install
isAvailable("EnrichmentBrowser", type="software")