R/assert.r

assert <- function(cond, msg="error encountered") {
    if ( !cond ) {
        stop(msg);
    }
}
wmchad/BayesKnockdown documentation built on May 4, 2019, 9:45 a.m.