NEWS


ggpp 0.5.8-1 (2024-07-01)

ggpp 0.5.7 (2024-05-06)

Track changes in 'ggplot2' 3.5.0 and 3,5,1. Fix a couple of minor incompatibilities. Add some new features matching those new in 'ggplot2'. General improvements and bug fixes.

= 3.5.0.

ggpp 0.5.6 (2024-01-09)

ggpp 0.5.5 (2023-11-07)

ggpp 0.5.4 (2023-08-12)

ggpp 0.5.3 (2023-07-16)

ggpp 0.5.2 (2023-04-01)

ggpp 0.5.1 (2023-02-03)

ggpp 0.5.0 (2022-12-05)

ggpp 0.4.5 (2022-09-30)

ggpp 0.4.4 (2022-04-10)

Multiple grobs and grob trees sharing the same name result in only the first one being rendered. This caused problems when multiple layers created with the same geometry were added to a plot.

ggpp 0.4.3 (2021-12-17)

Based on issues raised in the GitHub repository of 'ggrepel' and the nudge functions added some time ago to package 'ggpp' it became obvious that nudging can help in achieving good repulsion outcomes without need of tailored repulsion algorithms for specific cases. Obviously developing new ggplot position functions is much easier than tweaking the repulsion algorithm. It is also clear that not being able to combine nudging with stack, jitter and dodge positions made difficult to produce some types of plots. One case is replacing a key or legend with direct labels to plot elements, which is important in plots aimed at audiences outside academia.

In one of the issues in the GitHub repository of 'ggrepel' an answer by M. Krassowski included code that provided an elegant and simple approach to implementing combined position functions without duplicating code already in 'ggplot2' by instead calling methods of the parent class. I edited this code and included it in the package.

Except for the position functions with names ending in _keep, for which normal counterparts exist, the keeping of the original position can be disabled by passing kept.origin = "none" when they are called.

The renaming of geom_text_linked() to geom_text_s() is code breaking but I am now fairly confident this shorter name is easy to remember with s for segment.

With 12 new and four partly rewritten functions there is quite a lot of new code in this update, so even if tested and checked, it is possible that bugs may have slipped through. Please, do report them if you encounter any.

ggpp 0.4.2 (2021-07-31)

The initial implementation and user interface of three apply statistics first introduced in 'ggpmisc' 0.3.6 has been revised to expand their usefulness and to make them less error-prone, while the fourth one is now defunct. Note: The default argument for geom instat_centroid() is likely to change in the near future. Otherwise, the three statistics can be considered now stable.

ggpp 0.4.1 (2021-07-14)

ggpp 0.4.0 (2021-05-28)

This new package is the result of splitting package 'ggpmisc' into two packages: 'ggpp' containing extensions to the grammar of graphics and 'ggpmisc' containing extensions to 'ggplot2' related to plot decorations based on model fits, statistical summaries and other descriptors of the data being plotted. Package 'ggpmisc' depends on 'ggpp' with no visible changes for users. Package 'ggpp' can be loaded instead of 'ggpmisc' when only the extensions it contains are needed. Package 'gginnards' containing tools for editing ggplot objects as well as tools for inspecting them is an earlier spin-off from 'gpmisc'.

Compared to 'ggpmisc' 0.3.9, the following changes have been introduced. New justification styles have being implemented to complement position_nudge_center() . They are supported in geom_text_s(), geom_plot(), geom_table(), geom_grob() and geom_marging_grob(). In the current implementation all rows in data should contain the same hjust or vjust value when using the new types of justification described here, this seems reasonable as they compute the individual justification values from the data. All other justification values, either numeric or character do not have this restriction and can be used as in geoms from 'ggplot2'. These new features may change in the near future.

ggpp 0.3.9

ggpp 0.3.8-1

ggpp 0.3.8

ggpp 0.3.7

ggpp 0.3.6

ggpp 0.3.5

ggpp 0.3.4

ggpp 0.3.3

ggpp 0.3.2

This version implements some new features and fixes bugs in the features introduced in version 0.3.1, please do rise an issue if you notice any remaining bugs! Some reported weaknesses in the documentation have been addressed. This updated version depends on 'ggplot2' (>= 3.2.1).

ggpp 0.3.1

This is a major update, with a few cases in which old code may need to be revised to work, and many cases in which there will be subtle differences in the positions of labels used as annotations. The many new features may still have some bugs, please do rise an issue if you notice one!

Version requiring 'ggplot2' (>= 3.1.0).

Add new geometries, several of them accepting x and y in npc units through the new aesthetics npcx and npcy, allowing positioning relative to plotting area irrespective of native data units and scale limits. These geometries are useful on their own for annotations in particular they allow consistent positioning of textual summaries. By default they do not inherit the plot's aesthetic mappings making their behaviour remain by default in-between that of true geometries and that of annotate().

ggpp 0.3.0

Version requiring 'ggplot2' (>= 3.0.0), now in CRAN. Low level manipulation and debug methods and functions moved to new package 'gginnards' available through CRAN.

ggpp 0.2.17.9902

Non-CRAN version with additional functionality, but requiring the development version of 'ggplot2'.

ggpp 0.2.17.9900

Non-CRAN version with additional functionality, but requiring the development version of 'ggplot2' >= 2.2.1.9000 (>= commit of 2017-02-09) from Github. Visit

ggpp 0.2.17

CRAN version

ggpp 0.2.16

ggpp 0.2.15

Add stat_fit_tidy() implemented using broom::tidy(). Makes it possible to add the fitted equation for any fitted model supported by package 'broom', as long as the user supplies within aes() the code to build a label string. Update user guide.

ggpp 0.2.14

Fix bug in stat_poly_equation() eq.x.rhs argument ignored when using expressions.

ggpp 0.2.13

ggpp 0.2.12

ggpp 0.2.11

ggpp 0.2.10

ggpp 0.2.9

ggpp 0.2.8

ggpp 0.2.7

ggpp 0.2.6

ggpp 0.2.5

ggpp 0.2.4

ggpp 0.2.3

ggpp 0.2.2

ggpp 0.2.1

ggpp 0.1.0

First version.