Skip to content

Commit

Permalink
fix : Fixed for ggplot2 v. 3.4.0.
Browse files Browse the repository at this point in the history
* Fixed capped axis and braxis.
* Misc. bugfixes.
* Added vdiffr.
  • Loading branch information
Stefan McKinnon Edwards committed Dec 2, 2022
1 parent d5b88c9 commit d013a18
Show file tree
Hide file tree
Showing 53 changed files with 2,900 additions and 611 deletions.
3 changes: 2 additions & 1 deletion .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
^devel$
^cache/$
^cache\$
^vignettes/.*cache/
^cran-comments.md$
^.*.lnk$
^LICENSE$
^vignettes/lemon/.*$
^.*\.Rdata$
^.*\.Rdata$
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,10 @@ lib/
cache/
README/cache/
vignettes/*-cache/
vignettes/facet-rep-label*
vignettes/geoms*
vignettes/gtable_show_lemonade*
vignettes/lemon_print*


Rgui.lnk
12 changes: 7 additions & 5 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Type: Package
Title: Freshing Up your 'ggplot2' Plots
URL: https://github.com/stefanedwards/lemon
BugReports: https://github.com/stefanedwards/lemon/issues
Version: 0.4.2
Date: 2018-10-30
Version: 0.4.6
Date: 2022-11-29
Authors@R: c(
person('Stefan McKinnon', 'Edwards', email='sme@iysik.com',
comment=c(ORCID='0000-0002-4628-8148'),
Expand All @@ -23,7 +23,7 @@ Description: Functions for working with legends and axis lines of 'ggplot2',
Depends:
R (>= 3.1.0)
Imports:
ggplot2 (>= 2.2.0),
ggplot2 (>= 3.4.0),
plyr,
grid,
gridExtra,
Expand All @@ -34,7 +34,7 @@ Imports:
License: GPL-3
Encoding: UTF-8
LazyData: true
RoxygenNote: 6.1.0.9000
RoxygenNote: 7.2.0
Collate:
'ggplot2.r'
'lemon-plot.r'
Expand All @@ -58,5 +58,7 @@ Suggests:
rmarkdown,
stringr,
dplyr,
testthat
testthat,
vdiffr,
diffviewer
VignetteBuilder: knitr
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ export(coord_capped_flip)
export(coord_flex_cart)
export(coord_flex_fixed)
export(coord_flex_flip)
export(element_render)
export(facet_rep_grid)
export(facet_rep_wrap)
export(g_legend)
Expand Down
17 changes: 17 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,23 @@

* **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.

# lemon 0.4.6

* `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.

# lemon 0.4.3

* Bugfix on tests.

# lemon 0.4.2

* Added `element_render` and `render_gpar` that helps render grobs with the
ggplot2 themes applied. `render_gpar` simply returns a gpar object.

Expand Down
Loading

0 comments on commit d013a18

Please sign in to comment.