Nothing
testthat::test_that("get_dataset_prefixed_col_names returns vector of columns", {
data_test <- data.frame()
attr(data_test, "filter_and_columns") <- list(columns = c("col_1"))
testthat::expect_identical(".col_1", get_dataset_prefixed_col_names(data_test))
})
testthat::test_that("get_dataset_prefixed_col_names returns vector of multiple columns", {
data_test <- data.frame()
attr(data_test, "filter_and_columns") <- list(columns = c("col_1", "col_2"))
testthat::expect_identical(c(".col_1", ".col_2"), get_dataset_prefixed_col_names(data_test))
})
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.