check_ggplot: Test ggplot call

View source: R/check-ggplot.R

check_ggplotR Documentation

Test ggplot call

Description

Test ggplot call

Usage

check_ggplot(state, index = 1, all_fail_msg = NULL,
  check_data = TRUE, data_fail_msg = NULL, check_aes = TRUE,
  aes_fail_msg = NULL, exact_aes = FALSE, check_geom = TRUE,
  geom_fail_msg = NULL, exact_geom = FALSE, check_geom_params = NULL,
  check_facet = TRUE, facet_fail_msg = NULL, check_scale = TRUE,
  scale_fail_msg = NULL, exact_scale = FALSE, check_coord = TRUE,
  coord_fail_msg = NULL, exact_coord = FALSE, check_stat = TRUE,
  stat_fail_msg = NULL, exact_stat = FALSE, check_extra = NULL,
  extra_fail_msg = NULL, exact_extra = NULL, check = NULL)

Arguments

state

the state to start from

index

which call to check

all_fail_msg

Message if all fails

check_data

Whether or not to check data layer

data_fail_msg

Message in case data layer fails

check_aes

Whether or not to check aes layer

aes_fail_msg

Message in case aes layer fails

exact_aes

Should the aesthetics be exact?

check_geom

Whether or not to check geom layer

geom_fail_msg

Message in case geom layer fails

exact_geom

Should the geoms be exact?

check_geom_params

Should the geom parameters be checked?

check_facet

Whether or not to check facet layer

facet_fail_msg

Message in case facet layer fails

check_scale

Whether or not to check scale layer

scale_fail_msg

Message in case scale layer fails

exact_scale

Whether or not scales should be defined exactly

check_coord

Whether or not to check coord layer

coord_fail_msg

Message in case coord layer fails

exact_coord

Whether or not coords should be defined exactly

check_stat

Whether or not to check stat layer

stat_fail_msg

Message in case stat layer fails

exact_stat

Whether or not stats should be defined exactly

check_extra

Whether to check extra stuff

extra_fail_msg

Message in case extra stuff fails

exact_extra

Whether or not extra info should be exactly specified.

check

Which layers to check


Data-Camp/testwhat documentation built on June 24, 2022, 9:59 p.m.