ggsci 4.1.0
CRAN release: 2025-10-25
Improvements
-
Synchronize the iTerm color palettes with upstream (#72).
This update adds 8 new palettes to
iterm_palettes(): Hot Dog Stand variations, Matte Black, Poimandres variations, and Selenized Black. These palettes are now usable bypal_iterm(),scale_color_iterm(), andscale_fill_iterm().Additionally, the color values for 40+ existing iTerm palettes have been updated to match the latest upstream color specifications.
Documentation
- Add the ggsci iterm palettes microsite link to
vignette("ggsci")(#70). This microsite helps users preview all iTerm color palettes available in ggsci.
ggsci 4.0.0
CRAN release: 2025-09-23
New features
- Add the Primer design system (from GitHub) palette in
scale_color_primer()andscale_fill_primer()(#62, #63). - Add the Atlassian Design System palette in
scale_color_atlassian()andscale_fill_atlassian()(#64). - Add 400+ iTerm palettes in
scale_color_iterm()andscale_fill_iterm()(#67).
Improvements
- Add
example_scatterplot()andexample_barplot()to simplify discrete scale examples in documentation. This reduces boilerplate code and makes it easier to maintain the examples. Also improves graphical appearance of the examples by using a minimalist theme with alternative data subsets (#61).
ggsci 3.2.0
CRAN release: 2024-06-17
New features
- Add the Observable 10 palette in
scale_color_observable()andscale_fill_observable()(#41). - Add Bootstrap 5 color palettes (continuous) in
scale_color_bs5()andscale_fill_bs5()(#18). - Add Tailwind CSS color palettes (continuous) in
scale_color_tw3()andscale_fill_tw3()(#19).
Improvements
- Move internal color palette data from
R/sysdata.rdatoR/palettes.R. This change enhances package development transparency, reduces unnecessary indirection, and simplifies contributions by avoiding the construction of the palette data using the R script indata-raw/(#42). - For continuous palette examples, remove the reshape2 dependency and use more compact grid layout to reduce output image size (#45).
ggsci 3.1.0
CRAN release: 2024-05-21
New features
- The BMJ color palettes are implemented in
scale_color_bmj()andscale_fill_bmj()(thanks, @huichen99, #32).
Documentation
- Convert Rd syntax to Markdown in roxygen2 documentation. This simplifies documentation formatting and makes it much easier to add new color scales for contributors (#35).
ggsci 3.0.3
CRAN release: 2024-03-25
Improvements
- Detect ggplot2 version at runtime to determine if the argument
scale_nameis needed for alldiscrete_scale()calls. This ensures ggsci always works regardless of the ggplot2 version installed (thanks, @flyingicedragon, #29).
ggsci 3.0.2
CRAN release: 2024-03-18
Improvements
- Remove
scale_namefrom alldiscrete_scale()calls because the argument has been deprecated in ggplot2 3.5.0 (thanks, @DanChaltiel, #25).
ggsci 3.0.1
CRAN release: 2024-03-02
Improvements
- Expand the FAQ vignette to include a solution for customizing color selection and ordering in a palette with self-defined color scale functions (#23).
- Fix “lost braces” check notes on r-devel by using Unicode characters (nanxstats/ggsci@a91faf1).
ggsci 3.0.0
CRAN release: 2023-03-08
New features
Improvements
- Use a proper, three-component version number following Semantic Versioning.
- Reduce output figure size in vignettes and
README.Rmdby switching to the ragg PNG device and using pngquant for compression. - Added a new vignette on frequently asked questions.
- A simple solution to interpolate the color palettes when the data has more categories than the number of colors in a discrete color scale.
- A note on using a color scale consistently for multiple ggplot2 plots by setting global options (thanks, @DanChaltiel, #13).
- Replace
sizewithlinewidthin code examples for ggplot2 >= 3.4.0. - Replaced the previous logo with a new hex sticker logo.
- Replaced previous CI/CD solutions with GitHub Actions workflows.
- Fixed broken or moved links in function documentation and vignettes.
- Removed the
LazyDatafield fromDESCRIPTION.
ggsci 2.9
CRAN release: 2018-05-14
Improvements
- New URL for the documentation website: https://nanx.me/ggsci/.
