R/check.object.R

check.object <-
function (xobj, xobj.name, mark) 
{
    if (is.null(oldClass(xobj))) {
        warning(paste(xobj.name, " has no class, assumed to be", 
            mark))
        oldClass(xobj) <- mark
    }
    return(xobj)
}
Auburngrads/SMRD documentation built on Sept. 14, 2020, 2:21 a.m.