View source: R/helpers-testthat.R
expect_gg | R Documentation |
Use in tests to check if an object is a ggplot2::ggplot object.
expect_gg(x)
x |
ggplot2::ggplot object |
borrowed from bayesplot:::expect_gg
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.