test_that("Number of groups in cor_test", {
cor_test <- make_corLong(snps1 = test_snps, BrainTable1 = test_BrTable, ID_col1 = "Sample")
g <- grouper(cor_test)
expect_equal(length(g), 2)
})
test_that("Error on Missing Cols", {
expect_error(grouper(corTest, s1 = "Error_col"))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.