Nothing
# Tests for abstract_stat
#
# Author: mjskay
###############################################################################
test_that("make_stat works", {
stat = make_stat(StatSlabinterval, geom = "slabinterval")
args = setdiff(
c(
"mapping", "data", "geom", "position", "...",
names(StatSlabinterval$default_params),
names(StatSlabinterval$layer_args)
),
StatSlabinterval$hidden_params
)
expect_setequal(args, names(formals(stat)))
})
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.