tests/testthat/test_info.R

test_that("infoTCGA() function works properly", {
    expect_equal( dim(infoTCGA()), c(38, 13) )
    expect_is( infoTCGA(), "data.frame" )
    expect_equal("ACC" %in% (sub("-counts", "", x= rownames( infoTCGA()  ) ) ), T)
        
})

Try the RTCGA package in your browser

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

RTCGA documentation built on Nov. 8, 2020, 5:11 p.m.