testwhat (version 4.2.2)

test_ggplot: Test ggplot call

Description

Test ggplot call

Usage

test_ggplot(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

index
which call to check
all_fail_msg
Message if all fails
check_data
Whether or not to check data latyer
data_fail_msg
Message in case data layer fails
check_aes
Whether or not to check aes latyer
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 latyer
facet_fail_msg
Message in case facet layer fails
check_scale
Whether or not to check scale latyer
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 latyer
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 latyer
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