Package: ggpackets 0.2.2

ggpackets: Package Plot Layers for Easier Portability and Modularization

Create groups of 'ggplot2' layers that can be easily migrated from one plot to another, reducing redundant code and improving the ability to format many plots that draw from the same source 'ggpacket' layers.

Authors:Doug Kelkhoff [aut, cre]

ggpackets_0.2.2.tar.gz
ggpackets_0.2.2.zip(r-4.7)ggpackets_0.2.2.zip(r-4.6)ggpackets_0.2.2.zip(r-4.5)
ggpackets_0.2.2.tgz(r-4.6-any)ggpackets_0.2.2.tgz(r-4.5-any)
ggpackets_0.2.2.tar.gz(r-4.7-any)ggpackets_0.2.2.tar.gz(r-4.6-any)
ggpackets_0.2.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
ggpackets/json (API)
NEWS

# Install 'ggpackets' in R:
install.packages('ggpackets', repos = c('https://dgkf.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/dgkf/ggpackets/issues

Pkgdown/docs site:https://dgkf.github.io

On CRAN:

Conda:

ggplotplotting

6.70 score 69 stars 1 packages 16 scripts 215 downloads 2 exports 17 dependencies

Last updated from:1f2f913dba. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK180
source / vignettesOK171
linux-release-x86_64OK142
macos-release-arm64OK161
macos-oldrel-arm64OK136
windows-develOK91
windows-releaseOK92
windows-oldrelOK92
wasm-releaseOK111

Exports:%+%ggpacket

Dependencies:clicpp11farverggplot2gluegtableisobandlabelinglifecycleR6RColorBrewerrlangS7scalesvctrsviridisLitewithr

Composing Templates & Functions

Rendered fromcomposing-functions.Rmdusingknitr::rmarkdownon May 31 2026.

Last update: 2025-03-02
Started: 2018-01-16

Getting Started with ggpackets

Rendered fromggpackets.Rmdusingknitr::rmarkdownon May 31 2026.

Last update: 2025-03-02
Started: 2018-01-16

Miscellaneous Examples

Rendered frommiscellaneous-examples.Rmdusingknitr::rmarkdownon May 31 2026.

Last update: 2025-03-02
Started: 2018-03-31

Readme and manuals

Help Manual

Help pageTopics
ggpackets: Package Plot Layers for Easier Portability and Modularizationggpackets-package ggpackets
Extracted .all_aesthetics from internal ggplot2 with hardcoded fallback.all_aesthetics
Index into a ggpacket object[,ggpacket-method
Subset a ggpacket for a selection of ggcalls[.ggpacket
Index into a ggpacket object[[,ggpacket-method
Subset a ggpacket for a selection of ggcalls[[.ggpacket
Lazy handler for ggplot addition%+%
Convert a ggpacket to a list of ggcallsas.list,ggpacket-method
Collapse data argumentscollapse_data
Collapse aesthetic mappings argumentscollapse_mappings
Remove arguments with duplciated namesdeduplicate_params
Expand dot arguments into named argumentsexpand_dots
Filter a named list by idsfilter_by_ggcall_ids
Add a gg object to a ggpacket objectgg_plus_ggpacket
A container for lazy ggplot layersggpacket
The function used when a 'ggpacket' is called as a functionggpacket_call
Swallow calls when a ggpacket is added to any expressionggpacket_plus_ANY
A ggpacket object+,ggpacket,ANY-method ggpacket-class ggpacket-method show, show,ggpacket-method
Specific handling of ..reset.. aesthetichandle_reset_mapping
Get the number of ggcalls within a ggpacketlength,ggpacket-method
Match unnamed argumentsmatch_unnamed_args
Fetch the ids associated with each ggcallnames,ggpacket-method
Filter for only arguments that can be accepted by a given functiononly_formals_and_dots
Check a ggpacket object for required aesthetic argumentsrequired_aesthetics
Returning the calling object from within a functionself
Mimic ggplot2 behavior of intelligently interpretting first layer argumentsmart_swap_mapping_data
Substitute a ggcall's dot aesthetics with their redirected valuessubstitute_ggcall_dot_aes
Substitute a quoted expression in a given environmmentsubstitute_quote
Reduce data parameters, iteratively applying functions or maskingupdate_data
Reduce a list of mappings, iteratively routing aestheticsupdate_mapping
Evaluate an expression, ignoring warnings about unknown parameterswith_ignore_unknown_params
Evaluate a call, ignore base R errors for unused argumentswith_ignore_unused_argument