Skip to content

Commit d013a18

Browse files
author
Stefan McKinnon Edwards
committed
fix : Fixed for ggplot2 v. 3.4.0.
* Fixed capped axis and braxis. * Misc. bugfixes. * Added vdiffr.
1 parent d5b88c9 commit d013a18

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+2900
-611
lines changed

.Rbuildignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@
1616
^devel$
1717
^cache/$
1818
^cache\$
19+
^vignettes/.*cache/
1920
^cran-comments.md$
2021
^.*.lnk$
2122
^LICENSE$
2223
^vignettes/lemon/.*$
23-
^.*\.Rdata$
24+
^.*\.Rdata$

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,10 @@ lib/
1414
cache/
1515
README/cache/
1616
vignettes/*-cache/
17+
vignettes/facet-rep-label*
18+
vignettes/geoms*
19+
vignettes/gtable_show_lemonade*
20+
vignettes/lemon_print*
21+
1722

1823
Rgui.lnk

DESCRIPTION

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Type: Package
33
Title: Freshing Up your 'ggplot2' Plots
44
URL: https://github.com/stefanedwards/lemon
55
BugReports: https://github.com/stefanedwards/lemon/issues
6-
Version: 0.4.2
7-
Date: 2018-10-30
6+
Version: 0.4.6
7+
Date: 2022-11-29
88
Authors@R: c(
99
person('Stefan McKinnon', 'Edwards', email='sme@iysik.com',
1010
comment=c(ORCID='0000-0002-4628-8148'),
@@ -23,7 +23,7 @@ Description: Functions for working with legends and axis lines of 'ggplot2',
2323
Depends:
2424
R (>= 3.1.0)
2525
Imports:
26-
ggplot2 (>= 2.2.0),
26+
ggplot2 (>= 3.4.0),
2727
plyr,
2828
grid,
2929
gridExtra,
@@ -34,7 +34,7 @@ Imports:
3434
License: GPL-3
3535
Encoding: UTF-8
3636
LazyData: true
37-
RoxygenNote: 6.1.0.9000
37+
RoxygenNote: 7.2.0
3838
Collate:
3939
'ggplot2.r'
4040
'lemon-plot.r'
@@ -58,5 +58,7 @@ Suggests:
5858
rmarkdown,
5959
stringr,
6060
dplyr,
61-
testthat
61+
testthat,
62+
vdiffr,
63+
diffviewer
6264
VignetteBuilder: knitr

NAMESPACE

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ export(coord_capped_flip)
3030
export(coord_flex_cart)
3131
export(coord_flex_fixed)
3232
export(coord_flex_flip)
33-
export(element_render)
3433
export(facet_rep_grid)
3534
export(facet_rep_wrap)
3635
export(g_legend)

NEWS.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,23 @@
66

77
* **TODO:** Extend `lemon_print` to work on cross-tabulation tables.
88

9+
* **TODO:** Add curly brackets to the axis-brackets.
10+
See package https://cran.r-project.org/web/packages/pBrackets/index.html for drawing braces.
11+
12+
# lemon 0.4.6
13+
14+
* `element_render` is not exported, but available from ggplot2.
15+
16+
* Fixed facet's, capped axes and brackets cf. ggplot2 v. 3.4.0.
17+
18+
* Added `vdiffr` to test suite.
19+
20+
# lemon 0.4.3
21+
22+
* Bugfix on tests.
23+
24+
# lemon 0.4.2
25+
926
* Added `element_render` and `render_gpar` that helps render grobs with the
1027
ggplot2 themes applied. `render_gpar` simply returns a gpar object.
1128

0 commit comments

Comments
 (0)