ggpp 0.4.3

Documentation web site at includes all help pages, with output from all examples, vignettes as well as a changelog in HTML format.


Functions included in this update provide enhamcements on existing ones. Combining nudging with stack, jitter and dodge positions was not possible within the grammar of graphics as implemented in package ‘ggplot2’. This made it difficult to add data labels to some types of plots. Which for example, can be important in plots aimed at audiences outside academia. These functions are based, with permission, on code written by by M. Krassowski in the GitHub repository for ‘ggrepel’.

Other new position functions with names ending in _keep, for which normal counterparts exist, keep the original position in data, allowing the drawing of connecting segments with the geometries from package ‘ggrepel’ and with the updated geometries listed below.

Changes from version 0.4.2 the most recent CRAN release, are:

  • Add functions position_stack_keep()position_fill_keep(), position_jitter_keep(), position_dodge_keep() and position_dodge2_keep().
  • Add functions position_stacknudge(), position_fillnudge(),
    position_jitternudge(), position_dodgenudge() and position_dodge2nudge() based on code by M. Krassowski for position_stack_and_nudge().
  • Revise functions position_nudge_to(), position_nudge_center() and position_nudge_line() adding support for disabling keeping of the original positions.
  • Add geom_point_s() and geom_label_s() and update geom_text_s() renamed from geom_text_linked(). This is a code-breaking change with respect to the previous (unstable) version.
  • Update geom_plot(), geom_table() and geom_grob() to support plotting of segments when positions change, e.g., with nudging.


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.

Please raise issues concerning bugs or enhancements to this package through GitHub at Pull requests are also welcome.

NOTE: The updated ‘ggpp’ (0.4.3) is on its way to CRAN.

Share with

Leave a Reply