expect_gg: Check if an Object is a ggplot2 Plot

View source: R/helpers-testthat.R

expect_ggR Documentation

Check if an Object is a ggplot2 Plot

Description

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


maomlab/BayesPharma documentation built on Aug. 24, 2024, 8:45 a.m.