R/utilities.R

Defines functions stopifnot_simplify_ok

stopifnot_simplify_ok <-
    function(simplify, nargs)
{
    nms <- names(formals(simplify))
    if ((length(nms) < nargs) && !("..." %in% nms))
        stop("'simplify*()' must accept ", nargs, " arguments")
}        
Bioconductor/RaggedExperiment documentation built on Oct. 31, 2024, 7:02 a.m.