inst/unitTests/test_checkClass.R

testCheckData_S3ExtendedDataFrame<- function() {
    df <- data.frame(foo=1:2)
    class(df) = c("bar", class(df))
    Biobase:::checkClass(df, "data.frame")
    checkTrue(TRUE)
}

Try the Biobase package in your browser

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

Biobase documentation built on Nov. 8, 2020, 6:52 p.m.