NEWS.md
TODO: Create grobHeight on gtables.
TODO: Create CITATION file.
TODO: Extend lemon_print to work on cross-tabulation tables.
TODO: Add curly brackets to the axis-brackets. See package https://cran.r-project.org/web/packages/pBrackets/index.html for drawing braces.
geom_pointpath is deprecated. Users are referred to Teun van den Brand ggh4x (https://cloud.r-project.org/web/packages/ggh4x/index.html)Fixed compability with ggplot2 > 3.4.2 (see https://github.com/stefanedwards/lemon/pull/30) @teunbrand
%||% is no longer an exported function for R > 4.4, as it should be included into R’s base from v. 4.5.
Minor bugfix when no labels used.
element_render is not exported, but available from ggplot2.
Fixed facet’s, capped axes and brackets cf. ggplot2 v. 3.4.0.
Added vdiffr to test suite.
Added element_render and render_gpar that helps render grobs with the ggplot2 themes applied. render_gpar simply returns a gpar object.
Exports the function %||% which is simply a “x if not null else y” operator.
Added axis annotations, simple commands that can annotate on the axis areas. See annotate_x_axis and annotate_y_axis. The command extends the ggplot2 object to a ‘lemon_plot’-class, which allows the object to have additional plotting routines. See ?lemon_plot.
More axes! scale_x_symmetric and scale_y_symmetric to ensure your axis is symmetric around some value.
guidebox_as_column: Reorders the keys and labels in a legend to a single-column gtable.New feature: geom_siderange which kinda works like geom_rug, but displays a line within the plotting area and follows usual rules of aesthetics i.e. colour, and with added benefit of defining starting and ending point symbol.
Bug fix Some sort of rounding error in geom_pointpath and geom_pointline causes the connecting lines to appear in the wrong direction. The connecting lines are drawn by two different algorithms; when distance between points exceeds the threshold, the offset is calculated based on the points’ size. When the distance is lower than the threshold, the lines are shortened by the proportion given by shorten.
Added argument offset to reposition_legend to better nudge legend into place.
brackets_horizontal and brackets_vertical now uses ‘npc’ as default unit, as well as defaults to this unit if given a numeric.
brackets_horizontal and brackets_vertical skips changing ticks to brackets if theme(axis.ticks = element_blank()) and thus not created at all.
‘horisontal’ is not an English word. Has been thoroughly replaced by ‘horizontal’. Functions with not-English word in names are still available, but not advertised.
Extended facet_rep_grid and facet_rep_wrap to allow user to specify which sided tick labels should be kept. Can still use logicals for repeat.tick.labels.
coord_capped_* and coord_flex_* now checks if the provided brackets_* and capped_* functions corresponds to the correct orientation.
New feature geom_pointpath and geom_pointline that combines geom_point with geom_path and geom_line, respectively. These geoms apply any position adjustments (e.g. position_jitter) to both points and lines. Also adds a gap between point and end of lines that grows with pointsize.
grid_arrange_shared_legend can now accept other grobs in the … arguments. It can therefore make a bit more complex plots, as shown under ‘Examples’ in the legend-vignette.reposition_legend now places legend under axis lines, and further accepts x and y arguments for nudging.Added .dot functions for supplying setwd() safe relative file paths.
knit_print functions are removed (without deprecating them) and replaced by lemon_print. lemon_print has been extended to also work on tables (i.e. a summary), but does not work nicely for cross-tabulation tables.
g_legend, grid_arrange_shared_legend, reposition_legend). Two first functions provided by Baptiste Auguié and Shaun Jackson.Capped axis functions (capped_horisontal, capped_vertical), the flexible Cartesian coordinates (coord_capped_cart, coord_capped_flip, coord_flex_cart, coord_flex_flip, coord_flex_fixed), and brackets (brackets_horisontal, brackets_vertical).
Facets that repeat the labels (facet_rep_grid, facet_rep_wrap).
knitr printing functions (knit_print.data.frame, etc.) [REMOVED per 0.2.9000].