Nothing
test_that("stat_n_text works as expected", {
p <- ggplot(mtcars, aes(x = factor(cyl), y = mpg, color = factor(cyl))) +
geom_point() +
labs(x = "Number of Cylinders", y = "Miles per Gallon")
result <- expect_silent(
p + stat_n_text()
)
expect_s3_class(result, "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.