tests/testthat/test-sampleDirs.R

test_that("sampleDirs", {
    expect_identical(
        object = sampleDirs(uploadDir),
        expected = c(
            "sample_1" = file.path(uploadDir, "sample_1"),
            "sample_2" = file.path(uploadDir, "sample_2")
        )
    )
})
hbc/bcbioBase documentation built on Oct. 18, 2023, 1:02 p.m.