tests/testthat/test_rmarkdown_functions.R

context("R Markdown Functions")



# prepareSingleCellTemplate ====================================================
test_that("prepareSingleCellTemplate", {
    files <- c(
        "_footer.Rmd",
        "_header.Rmd",
        "_output.yaml",
        "_setup.R",
        "bibliography.bib"
    )
    expect_silent(prepareSingleCellTemplate())
    expect_true(all(file.exists(files)))
    unlink(files)
})
roryk/bcbioSinglecell documentation built on May 27, 2019, 10:44 p.m.