tests/testthat/test_dataSets.R

test_that("datasets load", {
    for (d in dataSetList()) {
        ds <- loadDataSet(d)
        expect(inherits(ds, "dimRedData"), "must be of class 'dimRedData'")
    }
})

Try the dimRed package in your browser

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

dimRed documentation built on July 11, 2022, 5:06 p.m.