Nothing
# Snapshot Test
# Edge case tests for advanced features
test_that("db_compute_boxplot works with vars() syntax", {
result <- mtcars |>
db_compute_boxplot(vars(am, gear), mpg)
expect_s3_class(result, "data.frame")
expect_true("am" %in% names(result))
expect_true("gear" %in% names(result))
})
test_that("dbplot_line works with single named aggregation", {
# This exercises the length(vars) == 1 path
p <- mtcars |>
dbplot_line(cyl, avg_mpg = mean(mpg, na.rm = TRUE))
expect_s3_class(p, "ggplot")
})
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.