From 4dba36dcf2cd079df2ec1ad5441ae161f3f72fda Mon Sep 17 00:00:00 2001 From: Nicklas Hafiz Date: Tue, 14 Jan 2025 19:59:31 +0100 Subject: [PATCH] Update vdiffr checks --- eatPlot.Rproj | 1 + .../testthat/_snaps/vignettes/lineplot-1.svg | 270 +++++++++--------- .../testthat/_snaps/vignettes/lineplot-2.svg | 270 +++++++++--------- .../_snaps/vignettes/lineplot-germany-2.svg | 18 +- .../_snaps/vignettes/tableplot-6-6.svg | 20 +- .../_snaps/vignettes/tableplot-8-4.svg | 40 +-- .../_snaps/vignettes/tableplot-trend.svg | 20 +- vignettes/lineplots.Rmd | 2 - 8 files changed, 320 insertions(+), 321 deletions(-) diff --git a/eatPlot.Rproj b/eatPlot.Rproj index 69fafd4b..65aae2f3 100644 --- a/eatPlot.Rproj +++ b/eatPlot.Rproj @@ -1,4 +1,5 @@ Version: 1.0 +ProjectId: 4d4eb00c-3cce-4ecf-9444-7e16e3c71b72 RestoreWorkspace: No SaveWorkspace: No diff --git a/tests/testthat/_snaps/vignettes/lineplot-1.svg b/tests/testthat/_snaps/vignettes/lineplot-1.svg index e4a3ac40..4dd9d23e 100644 --- a/tests/testthat/_snaps/vignettes/lineplot-1.svg +++ b/tests/testthat/_snaps/vignettes/lineplot-1.svg @@ -37,6 +37,141 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -64,15 +199,6 @@ 2015 2022 Baden­Württemberg - - - - - - - - - @@ -100,15 +226,6 @@ 2015 2022 Bayern - - - - - - - - - @@ -137,15 +254,6 @@ 2015 2022 Berlin - - - - - - - - - @@ -173,15 +281,6 @@ 2015 2022 Brandenburg - - - - - - - - - @@ -210,15 +309,6 @@ 2015 2022 Bremen - - - - - - - - - @@ -247,15 +337,6 @@ 2015 2022 Hamburg - - - - - - - - - @@ -283,15 +364,6 @@ 2015 2022 Hessen - - - - - - - - - @@ -320,15 +392,6 @@ 2015 2022 Mecklenburg­Vorpommern - - - - - - - - - @@ -357,15 +420,6 @@ 2015 2022 Niedersachsen - - - - - - - - - @@ -393,15 +447,6 @@ 2015 2022 Nordrhein­Westfalen - - - - - - - - - @@ -429,15 +474,6 @@ 2015 2022 Rheinland­Pfalz - - - - - - - - - @@ -466,15 +502,6 @@ 2015 2022 Saarland - - - - - - - - - @@ -502,15 +529,6 @@ 2015 2022 Sachsen - - - - - - - - - @@ -538,15 +556,6 @@ 2015 2022 Sachsen­Anhalt - - - - - - - - - @@ -575,15 +584,6 @@ 2015 2022 Schleswig­Holstein - - - - - - - - - diff --git a/tests/testthat/_snaps/vignettes/lineplot-2.svg b/tests/testthat/_snaps/vignettes/lineplot-2.svg index 054f092b..f209ba85 100644 --- a/tests/testthat/_snaps/vignettes/lineplot-2.svg +++ b/tests/testthat/_snaps/vignettes/lineplot-2.svg @@ -37,6 +37,141 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -78,15 +213,6 @@ 2015 2022 Baden­Württemberg - - - - - - - - - @@ -127,15 +253,6 @@ 2015 2022 Bayern - - - - - - - - - @@ -178,15 +295,6 @@ 2015 2022 Berlin - - - - - - - - - @@ -228,15 +336,6 @@ 2015 2022 Brandenburg - - - - - - - - - @@ -278,15 +377,6 @@ 2015 2022 Bremen - - - - - - - - - @@ -328,15 +418,6 @@ 2015 2022 Hamburg - - - - - - - - - @@ -378,15 +459,6 @@ 2015 2022 Hessen - - - - - - - - - @@ -429,15 +501,6 @@ 2015 2022 Mecklenburg­Vorpommern - - - - - - - - - @@ -479,15 +542,6 @@ 2015 2022 Niedersachsen - - - - - - - - - @@ -528,15 +582,6 @@ 2015 2022 Nordrhein­Westfalen - - - - - - - - - @@ -578,15 +623,6 @@ 2015 2022 Rheinland­Pfalz - - - - - - - - - @@ -628,15 +664,6 @@ 2015 2022 Saarland - - - - - - - - - @@ -679,15 +706,6 @@ 2015 2022 Sachsen - - - - - - - - - @@ -729,15 +747,6 @@ 2015 2022 Sachsen­Anhalt - - - - - - - - - @@ -780,15 +789,6 @@ 2015 2022 Schleswig­Holstein - - - - - - - - - diff --git a/tests/testthat/_snaps/vignettes/lineplot-germany-2.svg b/tests/testthat/_snaps/vignettes/lineplot-germany-2.svg index c10166f4..5326d499 100644 --- a/tests/testthat/_snaps/vignettes/lineplot-germany-2.svg +++ b/tests/testthat/_snaps/vignettes/lineplot-germany-2.svg @@ -37,6 +37,15 @@ + + + + + + + + + @@ -71,15 +80,6 @@ 2015 2022 Hören - - - - - - - - - diff --git a/tests/testthat/_snaps/vignettes/tableplot-6-6.svg b/tests/testthat/_snaps/vignettes/tableplot-6-6.svg index ab87f7cc..bc1846cc 100644 --- a/tests/testthat/_snaps/vignettes/tableplot-6-6.svg +++ b/tests/testthat/_snaps/vignettes/tableplot-6-6.svg @@ -39,6 +39,16 @@ + + + + + + + + + + @@ -795,16 +805,6 @@ 60 70 - - - - - - - - - - diff --git a/tests/testthat/_snaps/vignettes/tableplot-8-4.svg b/tests/testthat/_snaps/vignettes/tableplot-8-4.svg index af8831d3..e4e136b4 100644 --- a/tests/testthat/_snaps/vignettes/tableplot-8-4.svg +++ b/tests/testthat/_snaps/vignettes/tableplot-8-4.svg @@ -39,6 +39,26 @@ + + + + + + + + + + + + + + + + + + + + @@ -410,16 +430,6 @@ 50 60 - - - - - - - - - - @@ -703,16 +713,6 @@ 50 60 - - - - - - - - - - diff --git a/tests/testthat/_snaps/vignettes/tableplot-trend.svg b/tests/testthat/_snaps/vignettes/tableplot-trend.svg index 942b2db2..99e7c258 100644 --- a/tests/testthat/_snaps/vignettes/tableplot-trend.svg +++ b/tests/testthat/_snaps/vignettes/tableplot-trend.svg @@ -39,6 +39,16 @@ + + + + + + + + + + @@ -574,16 +584,6 @@ 30 40 - - - - - - - - - - diff --git a/vignettes/lineplots.Rmd b/vignettes/lineplots.Rmd index edc04308..4d6f17c4 100644 --- a/vignettes/lineplots.Rmd +++ b/vignettes/lineplots.Rmd @@ -141,11 +141,9 @@ str(trend_p) ```{r} #| eval: FALSE - trend_p$TR_BUNDESLAND <- gsub("([a-z])([A-Z])", "\\1-\\2", trend_p$TR_BUNDESLAND) trend_p$TR_BUNDESLAND <- gsub("ue", "ü", trend_p$TR_BUNDESLAND) - lineplot_1_w <- plot_lineplot( trend_p, years_lines = list(c(2009, 2015), c(2015, 2022)),