Changelog
Source:NEWS.md
penngradlings 0.2.2
New functions
-
fct_derive()
to derive levels from another factor with unique pair-wise matches
Enhancements
-
read_pcibex()
gains anencoding
argument for specifying the file’s character encoding (#18) -
theme_pgl_minimal()
has been re-written to scale better, default value forbase_size
changed to 12
penngradlings 0.2.1
New functions
-
raggsave_auto()
to save any arbitrary plot withragg::agg_png()
Enhancements
-
read_pcibex()
gains anencoding
argument for specifying the file’s character encoding. -
ggsave_auto()
supports auto rendering of grobs
penngradlings 0.2.0
Enhancements
- Overhaul of
pgl_pals()
. It’s now a function factory
penngradlings 0.1.1
New functions
name_self()
list-constructor function, mostly to help with naming multiple columns when passing a list of functions todplyr::across()
.read_pcibex()
for reading in the results from a PCIbex experiment.
Enhancements
You can now set global options for
ggsave_auto()
withoptions(ggsave_auto.*)
. The package now also comes with an RStudio addin for callingggsave_auto()
(one possible keyboard binding is Ctrl/Cmd+Shift+G, which overwrites the “Find Previous” shortcut).theme_pgl_minimal()
getsstrip.placement = outside
to hack margins into the space between facet and panel with a blank secondary axis.
penngradlings 0.1.0
First release.
New functions
Fonts
- The package packs 8 open source font families: Atkinson
Hyperlegible, Bootstrap Icons, Charis SIL,
Font Awesome 5 Free, Inter, Material Icons,
Piazzolla, Piazzolla SC. Fonts are automatically
registered on package load. See
.pgl_fonts()
for details. - A
font_*()
family of helper functions for inspecting, registering, and shaping fonts -font_hoist()
,font_pluck()
,font_info()
,font_exists()
, andfont_path()
.
Themes
-
theme_pgl_basic()
, a low-ink theme design built on top ofggplot2::theme_minimal()
, with options for turning on/off axis and grid lines.
Layers
- Stylized panel annotations with
geom_text_outline()
andannotation_textbox()
.
Save/render
-
ggsave_auto()
, a wrapper aroundggplot2::ggsave()
offering convenience for interactive plotting. Accumulates all plots rendered with the function in a separate ./ggsave_auto directory and opens the saved figure back using the system’s default photo-viewing app. Includes option for reading the saved figure back as a {magick} object.