Skip to content

Commit 28275fb

Browse files
committed
minor rendering differences in ggplot2 v4
1 parent 1982427 commit 28275fb

11 files changed

Lines changed: 1058 additions & 1262 deletions

DESCRIPTION

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,15 @@ Imports:
3636
utils,
3737
stats,
3838
xfun (>= 0.15)
39-
RoxygenNote: 7.3.2
39+
RoxygenNote: 7.3.3
4040
Suggests:
4141
covr,
4242
knitr,
4343
testthat (>= 3.0.0),
4444
codemetar,
45-
vdiffr
45+
vdiffr,
46+
shiny,
47+
diffviewer
4648
VignetteBuilder: knitr
4749
Config/testthat/edition: 3
4850
Roxygen: list(markdown = TRUE)

R/reports.R

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,10 @@ plot_overview_heatmap_static <- function(agg_fields,
400400
hjust = 1,
401401
size = 7
402402
),
403-
axis.text.y = ggplot2::element_text(size = 7),
403+
axis.text.y = ggplot2::element_text(
404+
size = 7,
405+
margin = ggplot2::margin(r = 5)
406+
),
404407
legend.position = "none",
405408
)
406409

@@ -540,7 +543,10 @@ plot_subcat_heatmap_static <- function(agg_field,
540543
hjust = 1,
541544
size = 7
542545
),
543-
axis.text.y = ggplot2::element_text(size = 7),
546+
axis.text.y = ggplot2::element_text(
547+
size = 7,
548+
margin = ggplot2::margin(r = 5)
549+
),
544550
legend.position = "none",
545551
)
546552

@@ -625,7 +631,10 @@ plot_stratified_facetgrid_static <- function(agg_field_stratified,
625631
hjust = 1,
626632
size = 7
627633
),
628-
axis.text.y = ggplot2::element_text(size = 7),
634+
axis.text.y = ggplot2::element_text(
635+
size = 7,
636+
margin = ggplot2::margin(r = 5)
637+
),
629638
plot.title = ggplot2::element_text(size = 8, face = "bold", hjust = 0.5),
630639
legend.position = "none",
631640
)

tests/testthat/_snaps/reports/plot-overview-combo-static.svg

Lines changed: 375 additions & 429 deletions
Loading

tests/testthat/_snaps/reports/plot-overview-heatmap-static.svg

Lines changed: 308 additions & 362 deletions
Loading

tests/testthat/_snaps/reports/plot-overview-totals-static-empty.svg

Lines changed: 0 additions & 22 deletions
Loading

tests/testthat/_snaps/reports/plot-overview-totals-static.svg

Lines changed: 1 addition & 1 deletion
Loading

tests/testthat/_snaps/reports/plot-stratified-combo-static.svg

Lines changed: 1 addition & 1 deletion
Loading

tests/testthat/_snaps/reports/plot-stratified-totals-static.svg

Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)