Skip to contents

tidyplots (development version)

Breaking changes

Improvements

  • New parameter my_style in tidyplot() for providing a styling function.
  • Support for global options() taking affect on all tidyplots in the session. Supported options include tidyplots.width, tidyplots.height, tidyplots.unit, tidyplots.dodge_width, and tidyplots.my_style.
  • New parameter comparisons in add_test_pvalue() and add_test_asterisks() enables selected comparisons (#82).
  • add_annotation_text() now supports colored text (#86).

tidyplots 0.2.2

CRAN release: 2025-03-07

This is a patch release mainly focusing on preparing tidyplots for the upcoming release of ggplot2 3.6.0.

Breaking changes

  • Hard deprecation of as_tidyplot(). Converting a ggplot to a tidyplot probably never was a good idea.

Improvements

  • Support ordered factors provided to color (#75)
  • Prepare tidyplots for upcoming ggplot2 3.6.0 release (#60)
  • Switch from the magrittr pipe %>% to the base R pipe |> in both the documentation and code (#55, #56)
  • More meaningful error for invalid plotmath expressions.
  • Update documentation (@mthulin, #62)

tidyplots 0.2.1

CRAN release: 2025-01-19

Breaking changes

  • The energy dataset has been updated to contain the correct energy values in TWh. The variable power has been renamed to energy. This change will affect all code that uses the energy dataset.

Bug fixes

Improvements

tidyplots 0.2.0

CRAN release: 2024-12-16

Bug fixes

Improvements

tidyplots 0.1.2

CRAN release: 2024-11-08

  • Initial CRAN release
  • New S3 class tidycolor for color schemes. The print method of tidycolor sends a html preview of the color scheme to the RStudio viewer panel.
  • New new_color_scheme() to create custom color schemes.
  • New build-in color schemes using the prefix colors_discrete_, colors_continuous_ and colors_diverging_.
  • adjust_colors() now also works with too few or too many provided colors.
  • New function factory behind adjust_x_axis() and adjust_y_axis()
  • Updated README and documentation.

tidyplots 0.0.2

  • The package is still in early development. Expect user-facing and breaking changes.
  • Renaming functions to improve consistency.

tidyplots 0.0.1

  • The package is still in early development. Expect user-facing and breaking changes.
  • Initial release.