R/CDM_require_namespace.R

Defines functions CDM_require_namespace

Documented in CDM_require_namespace

## File Name: CDM_require_namespace.R
## File Version: 0.08

CDM_require_namespace <- function(pkg)
{
    if ( ! requireNamespace( pkg, quietly=TRUE) ){
        stop( paste0("Package '", pkg, "' is needed for applying this
            function. Please install it." ), call.=FALSE)
    }
}

Try the CDM package in your browser

Any scripts or data that you put into this service are public.

CDM documentation built on Aug. 25, 2022, 5:08 p.m.