Skip to contents

Use in tests to check if an object is a ggplot2::ggplot object.

Usage

expect_gg(x)

Arguments

x

ggplot2::ggplot object

Note

borrowed from bayesplot:::expect_gg