tests/testthat/test-reduce.R

test_that("reduce works", {
    assigned_data <- metabolyseR::analysisData(
        assignedData(assignment),
        tibble::tibble(sample = seq_len(nrow(assignments::feature_data)))
    ) 
    reduced_data <- reduce(assigned_data)
    
    expect_s4_class(reduced_data,'AnalysisData')
})
jasenfinch/metaboMisc documentation built on July 31, 2023, 2:28 a.m.