Skip to contents

All functions

as.list(<ggpacket>)
Convert a ggpacket to a list of ggcalls
as_gg_call()
Convert an expression into a call as a list of quosure components
collapse_data()
Collapse data arguments
collapse_mappings()
Collapse aesthetic mappings arguments
deduplicate_params()
Remove arguments with duplciated names
.all_aesthetics
Extracted .all_aesthetics from internal ggplot2 with hardcoded fallback
.plus_gg()
ggplot2 internal gg addition method
expand_dots()
Expand dot arguments into named arguments
filter_by_ggcall_ids()
Filter a named list by ids
gg_plus_ggpacket()
Add a gg object to a ggpacket object
`+`(<ggpacket>,<ANY>) show(<ggpacket>)
A ggpacket object
ggpacket()
A container for lazy ggplot layers
ggpacket_call()
The function used when a ggpacket is called as a function
ggpacket_plus_ANY()
Swallow calls when a ggpacket is added to any expression
ggpackets-package
ggpackets: Package Plot Layers for Easier Portability and Modularization
`%+%`
Lazy handler for ggplot addition
handle_reset_mapping()
Specific handling of ..reset.. aesthetic
infer_ggcall_id()
Convert ggplot geom layers to friendly names
infer_ggcall_name()
Label ggcall with function name if it can be deduced
length(<ggpacket>)
Get the number of ggcalls within a ggpacket
match_unnamed_args()
Match unnamed arguments
names(<ggpacket>)
Fetch the ids associated with each ggcall
only_formals_and_dots()
Filter for only arguments that can be accepted by a given function
`+`(<gg>)
Intercept ggplot2 ggproto plus operator
required_aesthetics()
Check a ggpacket object for required aesthetic arguments
self()
Returning the calling object from within a function
smart_swap_mapping_data()
Mimic ggplot2 behavior of intelligently interpretting first layer argument
`[`(<ggpacket>)
Subset a ggpacket for a selection of ggcalls
`[`(<ggpacket>)
Index into a ggpacket object
`[[`(<ggpacket>)
Subset a ggpacket for a selection of ggcalls
`[[`(<ggpacket>)
Index into a ggpacket object
substitute_ggcall_dot_aes()
Substitute a ggcall's dot aesthetics with their redirected values
substitute_quote()
Substitute a quoted expression in a given environmment
update_data()
Reduce data parameters, iteratively applying functions or masking
update_mapping()
Reduce a list of mappings, iteratively routing aesthetics
with_ignore_unknown_params()
Evaluate an expression, ignoring warnings about unknown parameters