Skip to contents

ggsci 3.2.0

CRAN release: 2024-06-17

New features


  • Move internal color palette data from R/sysdata.rda to R/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 in data-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


  • 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


  • Detect ggplot2 version at runtime to determine if the argument scale_name is needed for all discrete_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


ggsci 3.0.1

CRAN release: 2024-03-02


ggsci 3.0.0

CRAN release: 2023-03-08

New features


  • Use a proper, three-component version number following Semantic Versioning.
  • Reduce output figure size in vignettes and README.Rmd by 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 size with linewidth in 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 LazyData field from DESCRIPTION.

ggsci 2.9

CRAN release: 2018-05-14


ggsci 2.8

CRAN release: 2017-09-30


  • Use system font stack instead of Google Fonts in vignettes to avoid pandoc SSL issue.

ggsci 2.7

CRAN release: 2017-06-12

New features

Two new discrete color palettes:

  • JAMA
  • Tron Legacy

One new collection of continuous palettes with 19 color options:

  • Material Design

ggsci 2.4

CRAN release: 2017-03-08

New features

Four new discrete color palettes:

  • NEJM
  • LocusZoom
  • IGV
  • Star Trek

ggsci 2.0

CRAN release: 2016-11-21

New features

Two new discrete color palettes:

  • D3.js (v3)
  • Futurama (Planet Express)

The first continuous color palette:

  • GSEA GenePattern

ggsci 1.0

New features

Eight discrete color palettes (2016-04-01):

  • NPG
  • AAAS
  • Lancet
  • JCO
  • UChicago
  • The Simpsons (Springfield)
  • Rick and Morty (Schwifty)