Nothing
context("test-organizedata")
library(plotGrouper)
testthat::test_that("organizeData works", {
testthat::skip_on_os("windows")
df <- iris %>% dplyr::mutate(Species = as.character(Species)) %>%
dplyr::group_by(Species) %>%
dplyr::mutate(Sample = paste0(Species,
"_",
dplyr::row_number()),
Sheet = "iris") %>%
dplyr::select(Sample,
Sheet,
Species,
dplyr::everything()) %>%
plotGrouper::organizeData(
data = .,
exclude = c("Sample", "Sheet", "Species"),
comp = "Species",
comps = c("setosa", "versicolor", "virginica"),
variables = "Sepal.Length",
id = "Sample",
beadColumn = "none",
dilutionColumn = "none"
)
testthat::expect_is(df, class = c("tbl_df", "tbl", "data.frame"))
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.