From 5e7bc0a22744ec9d3488e1d317222e0919e21fd9 Mon Sep 17 00:00:00 2001
From: Arnaud Feldmann <60670870+arnaud-feldmann@users.noreply.github.com>
Date: Sun, 3 Mar 2024 14:02:39 +0100
Subject: [PATCH] Compatibility with ggplot 3.5 (#102)
---
NEWS.md | 8 ++++++-
R/plot.R | 15 +++++++------
cran-comments.md | 4 ----
.../plot/gg-benchmark-2008-4-2012-7-gt44.svg | 2 ++
.../plot/gg-benchmark-2008-4-2012-7-lt43.svg | 2 ++
.../_snaps/plot/gg-benchmark-lab-bar-gt44.svg | 2 ++
.../_snaps/plot/gg-benchmark-lab-bar-lt43.svg | 2 ++
.../plot/gg-benchmark-lab-foo-bar-gt44.svg | 2 ++
.../plot/gg-benchmark-lab-foo-bar-lt43.svg | 2 ++
.../_snaps/plot/gg-benchmark-lab-foo-gt44.svg | 4 +++-
.../_snaps/plot/gg-benchmark-lab-foo-lt43.svg | 4 +++-
.../_snaps/plot/gg-benchmark-nowin-gt44.svg | 4 +++-
.../_snaps/plot/gg-benchmark-nowin-lt43.svg | 4 +++-
.../plot/gg-benchmark-showlegendf-gt44.svg | 2 +-
.../plot/gg-benchmark-showlegendf-lt43.svg | 2 +-
...g-indicator-changes-2008-4-2012-7-gt44.svg | 2 ++
...g-indicator-changes-2008-4-2012-7-lt43.svg | 2 ++
...ator-changes-2008-4-2012-7-smooth-gt44.svg | 2 ++
...ator-changes-2008-4-2012-7-smooth-lt43.svg | 2 ++
.../plot/gg-indicator-changes-nowin-gt44.svg | 2 ++
.../plot/gg-indicator-changes-nowin-lt43.svg | 2 ++
...gg-indicator-changes-nowin-smooth-gt44.svg | 2 ++
...gg-indicator-changes-nowin-smooth-lt43.svg | 2 ++
...cator-contributions-2008-4-2012-7-gt44.svg | 3 +++
...cator-contributions-2008-4-2012-7-lt43.svg | 3 +++
...ontributions-2008-4-2012-7-smooth-gt44.svg | 2 ++
...ontributions-2008-4-2012-7-smooth-lt43.svg | 2 ++
.../gg-indicator-contributions-nowin-gt44.svg | 3 +++
.../gg-indicator-contributions-nowin-lt43.svg | 3 +++
...icator-contributions-nowin-smooth-gt44.svg | 2 ++
...icator-contributions-nowin-smooth-lt43.svg | 2 ++
...gg-indicator-levels-2008-4-2012-7-gt44.svg | 2 ++
...gg-indicator-levels-2008-4-2012-7-lt43.svg | 2 ++
...cator-levels-2008-4-2012-7-smooth-gt44.svg | 2 ++
...cator-levels-2008-4-2012-7-smooth-lt43.svg | 2 ++
.../plot/gg-indicator-levels-nowin-gt44.svg | 2 ++
.../plot/gg-indicator-levels-nowin-lt43.svg | 2 ++
.../gg-indicator-levels-nowin-smooth-gt44.svg | 2 ++
.../gg-indicator-levels-nowin-smooth-lt43.svg | 2 ++
...ator-levels-rebased-2008-4-2012-7-gt44.svg | 2 ++
...ator-levels-rebased-2008-4-2012-7-lt43.svg | 2 ++
...vels-rebased-2008-4-2012-7-smooth-gt44.svg | 2 ++
...vels-rebased-2008-4-2012-7-smooth-lt43.svg | 2 ++
...gg-indicator-levels-rebased-nowin-gt44.svg | 2 ++
...gg-indicator-levels-rebased-nowin-lt43.svg | 2 ++
...cator-levels-rebased-nowin-smooth-gt44.svg | 2 ++
...cator-levels-rebased-nowin-smooth-lt43.svg | 2 ++
...inrevisions-changes-2008-4-2012-7-gt44.svg | 1 +
...inrevisions-changes-2008-4-2012-7-lt43.svg | 1 +
...ions-changes-2008-4-2012-7-smooth-gt44.svg | 1 +
...ions-changes-2008-4-2012-7-smooth-lt43.svg | 1 +
.../gg-inrevisions-changes-nowin-gt44.svg | 1 +
.../gg-inrevisions-changes-nowin-lt43.svg | 1 +
...-inrevisions-changes-nowin-smooth-gt44.svg | 1 +
...-inrevisions-changes-nowin-smooth-lt43.svg | 1 +
...sions-contributions-2008-4-2012-7-gt44.svg | 3 +++
...sions-contributions-2008-4-2012-7-lt43.svg | 3 +++
...ontributions-2008-4-2012-7-smooth-gt44.svg | 2 ++
...ontributions-2008-4-2012-7-smooth-lt43.svg | 2 ++
...g-inrevisions-contributions-nowin-gt44.svg | 3 +++
...g-inrevisions-contributions-nowin-lt43.svg | 3 +++
...isions-contributions-nowin-smooth-gt44.svg | 2 ++
...isions-contributions-nowin-smooth-lt43.svg | 2 ++
...-inrevisions-levels-2008-4-2012-7-gt44.svg | 1 +
...-inrevisions-levels-2008-4-2012-7-lt43.svg | 1 +
...sions-levels-2008-4-2012-7-smooth-gt44.svg | 1 +
...sions-levels-2008-4-2012-7-smooth-lt43.svg | 1 +
.../plot/gg-inrevisions-levels-nowin-gt44.svg | 1 +
.../plot/gg-inrevisions-levels-nowin-lt43.svg | 1 +
...g-inrevisions-levels-nowin-smooth-gt44.svg | 1 +
...g-inrevisions-levels-nowin-smooth-lt43.svg | 1 +
...ions-levels-rebased-2008-4-2012-7-gt44.svg | 1 +
...ions-levels-rebased-2008-4-2012-7-lt43.svg | 1 +
...vels-rebased-2008-4-2012-7-smooth-gt44.svg | 1 +
...vels-rebased-2008-4-2012-7-smooth-lt43.svg | 1 +
...-inrevisions-levels-rebased-nowin-gt44.svg | 1 +
...-inrevisions-levels-rebased-nowin-lt43.svg | 1 +
...sions-levels-rebased-nowin-smooth-gt44.svg | 1 +
...sions-levels-rebased-nowin-smooth-lt43.svg | 1 +
.../gg-insample-changes-2008-2012-gt44.svg | 2 ++
.../gg-insample-changes-2008-2012-lt43.svg | 2 ++
.../plot/gg-insample-changes-nowin-gt44.svg | 2 ++
.../plot/gg-insample-changes-nowin-lt43.svg | 2 ++
.../gg-insample-levels-2008-2012-gt44.svg | 2 ++
.../gg-insample-levels-2008-2012-lt43.svg | 2 ++
.../plot/gg-insample-levels-nowin-gt44.svg | 2 ++
.../plot/gg-insample-levels-nowin-lt43.svg | 2 ++
.../_snaps/plot/gg-main-ctb-smooth-gt44.svg | 2 ++
.../_snaps/plot/gg-main-ctb-smooth-lt43.svg | 2 ++
.../_snaps/plot/gg-main-inrev-smooth-gt44.svg | 1 +
.../_snaps/plot/gg-main-inrev-smooth-lt43.svg | 1 +
.../_snaps/plot/gg-main-insample-gt44.svg | 2 ++
.../_snaps/plot/gg-main-insample-lt43.svg | 2 ++
.../plot/gg-main-scatter-smooth-gt44.svg | 5 +++++
.../plot/gg-main-scatter-smooth-lt43.svg | 5 +++++
.../testthat/_snaps/plot/gg-mts-ctb-gt44.svg | 4 ++++
.../testthat/_snaps/plot/gg-mts-ctb-lt43.svg | 4 ++++
.../_snaps/plot/gg-mts-indic-gt44.svg | 6 ++++-
.../_snaps/plot/gg-mts-indic-lt43.svg | 6 ++++-
.../testthat/_snaps/plot/gg-mts-ins-gt44.svg | 2 ++
.../testthat/_snaps/plot/gg-mts-ins-lt43.svg | 2 ++
.../testthat/_snaps/plot/gg-mts-rev-gt44.svg | 1 +
.../testthat/_snaps/plot/gg-mts-rev-lt43.svg | 1 +
.../_snaps/plot/gg-nowin-smooth-gt44.svg | 4 +++-
.../_snaps/plot/gg-nowin-smooth-lt43.svg | 4 +++-
.../_snaps/plot/gg-plot-main-ctb-gt44.svg | 3 +++
.../_snaps/plot/gg-plot-main-ctb-lt43.svg | 3 +++
.../_snaps/plot/gg-plot-main-inrev-gt44.svg | 1 +
.../_snaps/plot/gg-plot-main-inrev-lt43.svg | 1 +
.../_snaps/plot/gg-plot-main-scatter-gt44.svg | 5 +++++
.../_snaps/plot/gg-plot-main-scatter-lt43.svg | 5 +++++
.../plot/gg-plot-scatter-2008-2012-gt44.svg | 4 ++++
.../plot/gg-plot-scatter-2008-2012-lt43.svg | 4 ++++
.../gg-plot-scatter-coeff-2008-2012-gt44.svg | 5 +++++
.../gg-plot-scatter-coeff-2008-2012-lt43.svg | 5 +++++
.../plot/gg-scatter-2008-2012-smooth-gt44.svg | 4 ++++
.../plot/gg-scatter-2008-2012-smooth-lt43.svg | 4 ++++
.../gg-smooth-2008-4-2012-7-smooth-gt44.svg | 2 ++
.../gg-smooth-2008-4-2012-7-smooth-lt43.svg | 2 ++
.../ggplot-indicator-changes-outlier-gt44.svg | 2 ++
.../ggplot-indicator-changes-outlier-lt43.svg | 2 ++
...t-indicator-contributions-outlier-gt44.svg | 3 +++
...t-indicator-contributions-outlier-lt43.svg | 3 +++
.../ggplot-indicator-levels-outlier-gt44.svg | 2 ++
.../ggplot-indicator-levels-outlier-lt43.svg | 2 ++
...-indicator-levels-rebased-outlier-gt44.svg | 2 ++
...-indicator-levels-rebased-outlier-lt43.svg | 2 ++
tests/testthat/test-plot.R | 22 +++++++++++++++----
128 files changed, 303 insertions(+), 26 deletions(-)
delete mode 100644 cran-comments.md
diff --git a/NEWS.md b/NEWS.md
index 23d9c16e..a6bcf85c 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -1,6 +1,12 @@
+# disaggR 1.0.5.3
+* Compatibility with ggplot 3.5.0 : Removed the "scale\_name" argument within scales that is now deprecated, new test snapshots (PR #102).
+
+# disaggR 1.0.5.2
+* Nothing changed besides the maintener.
+
# disaggR 1.0.5.1
* Internal change to check package version with character instead of numeric.
-* Internal minor change to in_disaggr (incohesive parameters)
+* Internal minor change to in\_disaggr (incohesive parameters)
* A more informative error message if one tries to differentiate a time-series with only one observation
* A more informative error message if the rank becomes imperfect after decorrelation
diff --git a/R/plot.R b/R/plot.R
index 882e7cd0..bd422141 100644
--- a/R/plot.R
+++ b/R/plot.R
@@ -660,7 +660,8 @@ ggscatter <- function(object,show.legend, theme, start, end, xlab,ylab,
# These are the parts before and after the coefficients calc window
}
- g <- g + ggplot2::continuous_scale("colour","gradient",function(x) col(length(x)),
+ g <- g + ggplot2::continuous_scale("colour",
+ palette = function(x) col(length(x)),
limits = lims,
breaks = break_arrows(as.numeric(time(object)[-1])),
minor_breaks = numeric(),
@@ -704,8 +705,8 @@ autoplot_with_lf <- function(object, xlab, ylab,
lims = gglims(hfbench),
verysmall = getOption("ts.eps")/frequency(model$hfserie),
...) +
- ggplot2::discrete_scale("colour","hue",col,na.translate = FALSE) +
- ggplot2::discrete_scale("linetype","hue",lty,na.translate = FALSE) +
+ ggplot2::discrete_scale("colour", palette = col,na.translate = FALSE) +
+ ggplot2::discrete_scale("linetype", palette = lty,na.translate = FALSE) +
ggplot2::ggtitle(main)
}
@@ -781,7 +782,7 @@ autoplot.tscomparison <- function(object, xlab = NULL, ylab = NULL,
start = start, end = end,
xlab = xlab, ylab = ylab, ...) +
ggplot2::labs(fill=type_label) +
- ggplot2::discrete_scale("fill","hue",col,na.translate = FALSE) +
+ ggplot2::discrete_scale("fill", palette = col,na.translate = FALSE) +
ggplot2::ggtitle(main)
}
else switch(attr(object,"func"),
@@ -791,7 +792,7 @@ autoplot.tscomparison <- function(object, xlab = NULL, ylab = NULL,
start = start, end = end,
xlab = xlab, ylab = ylab, ...) +
ggplot2::labs(colour=type_label) +
- ggplot2::discrete_scale("colour","hue",col,na.translate = FALSE) +
+ ggplot2::discrete_scale("colour", palette = col,na.translate = FALSE) +
ggplot2::ggtitle(main)
},
in_scatter = {
@@ -807,8 +808,8 @@ autoplot.tscomparison <- function(object, xlab = NULL, ylab = NULL,
xlab = xlab, ylab = ylab, ...) +
ggplot2::labs(linetype=type_label) +
ggplot2::labs(colour=type_label) +
- ggplot2::discrete_scale("colour","hue",col,na.translate = FALSE) +
- ggplot2::discrete_scale("linetype", "linetype_d", lty,na.translate = FALSE) +
+ ggplot2::discrete_scale("colour", palette = col,na.translate = FALSE) +
+ ggplot2::discrete_scale("linetype", palette = lty,na.translate = FALSE) +
ggplot2::ggtitle(main)
)
}
diff --git a/cran-comments.md b/cran-comments.md
deleted file mode 100644
index 5ce7c7c8..00000000
--- a/cran-comments.md
+++ /dev/null
@@ -1,4 +0,0 @@
-## New maintener
-
-The package is the same than previous version, the maintainer has been changed
-to Pauline Meinzel.
diff --git a/tests/testthat/_snaps/plot/gg-benchmark-2008-4-2012-7-gt44.svg b/tests/testthat/_snaps/plot/gg-benchmark-2008-4-2012-7-gt44.svg
index 250bcd37..3862c4ca 100644
--- a/tests/testthat/_snaps/plot/gg-benchmark-2008-4-2012-7-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-benchmark-2008-4-2012-7-gt44.svg
@@ -66,7 +66,9 @@
2012
Variables
+
+
Benchmark
Low-frequency serie
diff --git a/tests/testthat/_snaps/plot/gg-benchmark-2008-4-2012-7-lt43.svg b/tests/testthat/_snaps/plot/gg-benchmark-2008-4-2012-7-lt43.svg
index 250bcd37..3862c4ca 100644
--- a/tests/testthat/_snaps/plot/gg-benchmark-2008-4-2012-7-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-benchmark-2008-4-2012-7-lt43.svg
@@ -66,7 +66,9 @@
2012
Variables
+
+
Benchmark
Low-frequency serie
diff --git a/tests/testthat/_snaps/plot/gg-benchmark-lab-bar-gt44.svg b/tests/testthat/_snaps/plot/gg-benchmark-lab-bar-gt44.svg
index 4bd7e41d..0fc3002b 100644
--- a/tests/testthat/_snaps/plot/gg-benchmark-lab-bar-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-benchmark-lab-bar-gt44.svg
@@ -127,7 +127,9 @@
bar
Variables
+
+
Benchmark
Low-frequency serie
diff --git a/tests/testthat/_snaps/plot/gg-benchmark-lab-bar-lt43.svg b/tests/testthat/_snaps/plot/gg-benchmark-lab-bar-lt43.svg
index 4bd7e41d..0fc3002b 100644
--- a/tests/testthat/_snaps/plot/gg-benchmark-lab-bar-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-benchmark-lab-bar-lt43.svg
@@ -127,7 +127,9 @@
bar
Variables
+
+
Benchmark
Low-frequency serie
diff --git a/tests/testthat/_snaps/plot/gg-benchmark-lab-foo-bar-gt44.svg b/tests/testthat/_snaps/plot/gg-benchmark-lab-foo-bar-gt44.svg
index 97d91ecf..8b460897 100644
--- a/tests/testthat/_snaps/plot/gg-benchmark-lab-foo-bar-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-benchmark-lab-foo-bar-gt44.svg
@@ -128,7 +128,9 @@
bar
Variables
+
+
Benchmark
Low-frequency serie
diff --git a/tests/testthat/_snaps/plot/gg-benchmark-lab-foo-bar-lt43.svg b/tests/testthat/_snaps/plot/gg-benchmark-lab-foo-bar-lt43.svg
index 97d91ecf..8b460897 100644
--- a/tests/testthat/_snaps/plot/gg-benchmark-lab-foo-bar-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-benchmark-lab-foo-bar-lt43.svg
@@ -128,7 +128,9 @@
bar
Variables
+
+
Benchmark
Low-frequency serie
diff --git a/tests/testthat/_snaps/plot/gg-benchmark-lab-foo-gt44.svg b/tests/testthat/_snaps/plot/gg-benchmark-lab-foo-gt44.svg
index 8ee60a48..0a8d2dea 100644
--- a/tests/testthat/_snaps/plot/gg-benchmark-lab-foo-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-benchmark-lab-foo-gt44.svg
@@ -18,7 +18,7 @@
-
+
@@ -127,7 +127,9 @@
foo
Variables
+
+
Benchmark
Low-frequency serie
diff --git a/tests/testthat/_snaps/plot/gg-benchmark-lab-foo-lt43.svg b/tests/testthat/_snaps/plot/gg-benchmark-lab-foo-lt43.svg
index 8ee60a48..0a8d2dea 100644
--- a/tests/testthat/_snaps/plot/gg-benchmark-lab-foo-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-benchmark-lab-foo-lt43.svg
@@ -18,7 +18,7 @@
-
+
@@ -127,7 +127,9 @@
foo
Variables
+
+
Benchmark
Low-frequency serie
diff --git a/tests/testthat/_snaps/plot/gg-benchmark-nowin-gt44.svg b/tests/testthat/_snaps/plot/gg-benchmark-nowin-gt44.svg
index 1403c123..0e0ca61a 100644
--- a/tests/testthat/_snaps/plot/gg-benchmark-nowin-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-benchmark-nowin-gt44.svg
@@ -18,7 +18,7 @@
-
+
@@ -126,7 +126,9 @@
2020
Variables
+
+
Benchmark
Low-frequency serie
diff --git a/tests/testthat/_snaps/plot/gg-benchmark-nowin-lt43.svg b/tests/testthat/_snaps/plot/gg-benchmark-nowin-lt43.svg
index 1403c123..0e0ca61a 100644
--- a/tests/testthat/_snaps/plot/gg-benchmark-nowin-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-benchmark-nowin-lt43.svg
@@ -18,7 +18,7 @@
-
+
@@ -126,7 +126,9 @@
2020
Variables
+
+
Benchmark
Low-frequency serie
diff --git a/tests/testthat/_snaps/plot/gg-benchmark-showlegendf-gt44.svg b/tests/testthat/_snaps/plot/gg-benchmark-showlegendf-gt44.svg
index e8ce683a..59b2d874 100644
--- a/tests/testthat/_snaps/plot/gg-benchmark-showlegendf-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-benchmark-showlegendf-gt44.svg
@@ -18,7 +18,7 @@
-
+
diff --git a/tests/testthat/_snaps/plot/gg-benchmark-showlegendf-lt43.svg b/tests/testthat/_snaps/plot/gg-benchmark-showlegendf-lt43.svg
index e8ce683a..59b2d874 100644
--- a/tests/testthat/_snaps/plot/gg-benchmark-showlegendf-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-benchmark-showlegendf-lt43.svg
@@ -18,7 +18,7 @@
-
+
diff --git a/tests/testthat/_snaps/plot/gg-indicator-changes-2008-4-2012-7-gt44.svg b/tests/testthat/_snaps/plot/gg-indicator-changes-2008-4-2012-7-gt44.svg
index d42c6661..730ce566 100644
--- a/tests/testthat/_snaps/plot/gg-indicator-changes-2008-4-2012-7-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-indicator-changes-2008-4-2012-7-gt44.svg
@@ -56,7 +56,9 @@
2012
Changes
+
+
Benchmark
High-frequency serie
diff --git a/tests/testthat/_snaps/plot/gg-indicator-changes-2008-4-2012-7-lt43.svg b/tests/testthat/_snaps/plot/gg-indicator-changes-2008-4-2012-7-lt43.svg
index d42c6661..730ce566 100644
--- a/tests/testthat/_snaps/plot/gg-indicator-changes-2008-4-2012-7-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-indicator-changes-2008-4-2012-7-lt43.svg
@@ -56,7 +56,9 @@
2012
Changes
+
+
Benchmark
High-frequency serie
diff --git a/tests/testthat/_snaps/plot/gg-indicator-changes-2008-4-2012-7-smooth-gt44.svg b/tests/testthat/_snaps/plot/gg-indicator-changes-2008-4-2012-7-smooth-gt44.svg
index 45c4cae4..a2388c1c 100644
--- a/tests/testthat/_snaps/plot/gg-indicator-changes-2008-4-2012-7-smooth-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-indicator-changes-2008-4-2012-7-smooth-gt44.svg
@@ -56,7 +56,9 @@
2012
Changes
+
+
Benchmark
High-frequency serie
diff --git a/tests/testthat/_snaps/plot/gg-indicator-changes-2008-4-2012-7-smooth-lt43.svg b/tests/testthat/_snaps/plot/gg-indicator-changes-2008-4-2012-7-smooth-lt43.svg
index 45c4cae4..a2388c1c 100644
--- a/tests/testthat/_snaps/plot/gg-indicator-changes-2008-4-2012-7-smooth-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-indicator-changes-2008-4-2012-7-smooth-lt43.svg
@@ -56,7 +56,9 @@
2012
Changes
+
+
Benchmark
High-frequency serie
diff --git a/tests/testthat/_snaps/plot/gg-indicator-changes-nowin-gt44.svg b/tests/testthat/_snaps/plot/gg-indicator-changes-nowin-gt44.svg
index 64cc89fa..3d1e2160 100644
--- a/tests/testthat/_snaps/plot/gg-indicator-changes-nowin-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-indicator-changes-nowin-gt44.svg
@@ -107,7 +107,9 @@
2020
Changes
+
+
Benchmark
High-frequency serie
diff --git a/tests/testthat/_snaps/plot/gg-indicator-changes-nowin-lt43.svg b/tests/testthat/_snaps/plot/gg-indicator-changes-nowin-lt43.svg
index 64cc89fa..3d1e2160 100644
--- a/tests/testthat/_snaps/plot/gg-indicator-changes-nowin-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-indicator-changes-nowin-lt43.svg
@@ -107,7 +107,9 @@
2020
Changes
+
+
Benchmark
High-frequency serie
diff --git a/tests/testthat/_snaps/plot/gg-indicator-changes-nowin-smooth-gt44.svg b/tests/testthat/_snaps/plot/gg-indicator-changes-nowin-smooth-gt44.svg
index 0f6b979c..edb35306 100644
--- a/tests/testthat/_snaps/plot/gg-indicator-changes-nowin-smooth-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-indicator-changes-nowin-smooth-gt44.svg
@@ -107,7 +107,9 @@
2020
Changes
+
+
Benchmark
High-frequency serie
diff --git a/tests/testthat/_snaps/plot/gg-indicator-changes-nowin-smooth-lt43.svg b/tests/testthat/_snaps/plot/gg-indicator-changes-nowin-smooth-lt43.svg
index 0f6b979c..edb35306 100644
--- a/tests/testthat/_snaps/plot/gg-indicator-changes-nowin-smooth-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-indicator-changes-nowin-smooth-lt43.svg
@@ -107,7 +107,9 @@
2020
Changes
+
+
Benchmark
High-frequency serie
diff --git a/tests/testthat/_snaps/plot/gg-indicator-contributions-2008-4-2012-7-gt44.svg b/tests/testthat/_snaps/plot/gg-indicator-contributions-2008-4-2012-7-gt44.svg
index ac103250..95a3aca7 100644
--- a/tests/testthat/_snaps/plot/gg-indicator-contributions-2008-4-2012-7-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-indicator-contributions-2008-4-2012-7-gt44.svg
@@ -223,8 +223,11 @@
2012
Contributions
+
+
+
High-frequency serie
Smoothed part
diff --git a/tests/testthat/_snaps/plot/gg-indicator-contributions-2008-4-2012-7-lt43.svg b/tests/testthat/_snaps/plot/gg-indicator-contributions-2008-4-2012-7-lt43.svg
index ac103250..95a3aca7 100644
--- a/tests/testthat/_snaps/plot/gg-indicator-contributions-2008-4-2012-7-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-indicator-contributions-2008-4-2012-7-lt43.svg
@@ -223,8 +223,11 @@
2012
Contributions
+
+
+
High-frequency serie
Smoothed part
diff --git a/tests/testthat/_snaps/plot/gg-indicator-contributions-2008-4-2012-7-smooth-gt44.svg b/tests/testthat/_snaps/plot/gg-indicator-contributions-2008-4-2012-7-smooth-gt44.svg
index 8545c641..6777e506 100644
--- a/tests/testthat/_snaps/plot/gg-indicator-contributions-2008-4-2012-7-smooth-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-indicator-contributions-2008-4-2012-7-smooth-gt44.svg
@@ -159,7 +159,9 @@
2012
Contributions
+
+
High-frequency serie
Smoothed part
diff --git a/tests/testthat/_snaps/plot/gg-indicator-contributions-2008-4-2012-7-smooth-lt43.svg b/tests/testthat/_snaps/plot/gg-indicator-contributions-2008-4-2012-7-smooth-lt43.svg
index 8545c641..6777e506 100644
--- a/tests/testthat/_snaps/plot/gg-indicator-contributions-2008-4-2012-7-smooth-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-indicator-contributions-2008-4-2012-7-smooth-lt43.svg
@@ -159,7 +159,9 @@
2012
Contributions
+
+
High-frequency serie
Smoothed part
diff --git a/tests/testthat/_snaps/plot/gg-indicator-contributions-nowin-gt44.svg b/tests/testthat/_snaps/plot/gg-indicator-contributions-nowin-gt44.svg
index b2fd1323..d9df0c7e 100644
--- a/tests/testthat/_snaps/plot/gg-indicator-contributions-nowin-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-indicator-contributions-nowin-gt44.svg
@@ -838,8 +838,11 @@
2020
Contributions
+
+
+
High-frequency serie
Smoothed part
diff --git a/tests/testthat/_snaps/plot/gg-indicator-contributions-nowin-lt43.svg b/tests/testthat/_snaps/plot/gg-indicator-contributions-nowin-lt43.svg
index b2fd1323..d9df0c7e 100644
--- a/tests/testthat/_snaps/plot/gg-indicator-contributions-nowin-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-indicator-contributions-nowin-lt43.svg
@@ -838,8 +838,11 @@
2020
Contributions
+
+
+
High-frequency serie
Smoothed part
diff --git a/tests/testthat/_snaps/plot/gg-indicator-contributions-nowin-smooth-gt44.svg b/tests/testthat/_snaps/plot/gg-indicator-contributions-nowin-smooth-gt44.svg
index ed0e35e5..283579e4 100644
--- a/tests/testthat/_snaps/plot/gg-indicator-contributions-nowin-smooth-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-indicator-contributions-nowin-smooth-gt44.svg
@@ -594,7 +594,9 @@
2020
Contributions
+
+
High-frequency serie
Smoothed part
diff --git a/tests/testthat/_snaps/plot/gg-indicator-contributions-nowin-smooth-lt43.svg b/tests/testthat/_snaps/plot/gg-indicator-contributions-nowin-smooth-lt43.svg
index ed0e35e5..283579e4 100644
--- a/tests/testthat/_snaps/plot/gg-indicator-contributions-nowin-smooth-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-indicator-contributions-nowin-smooth-lt43.svg
@@ -594,7 +594,9 @@
2020
Contributions
+
+
High-frequency serie
Smoothed part
diff --git a/tests/testthat/_snaps/plot/gg-indicator-levels-2008-4-2012-7-gt44.svg b/tests/testthat/_snaps/plot/gg-indicator-levels-2008-4-2012-7-gt44.svg
index 1a1630d5..31e1ddba 100644
--- a/tests/testthat/_snaps/plot/gg-indicator-levels-2008-4-2012-7-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-indicator-levels-2008-4-2012-7-gt44.svg
@@ -59,7 +59,9 @@
2012
Levels
+
+
Benchmark
High-frequency serie
diff --git a/tests/testthat/_snaps/plot/gg-indicator-levels-2008-4-2012-7-lt43.svg b/tests/testthat/_snaps/plot/gg-indicator-levels-2008-4-2012-7-lt43.svg
index 1a1630d5..31e1ddba 100644
--- a/tests/testthat/_snaps/plot/gg-indicator-levels-2008-4-2012-7-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-indicator-levels-2008-4-2012-7-lt43.svg
@@ -59,7 +59,9 @@
2012
Levels
+
+
Benchmark
High-frequency serie
diff --git a/tests/testthat/_snaps/plot/gg-indicator-levels-2008-4-2012-7-smooth-gt44.svg b/tests/testthat/_snaps/plot/gg-indicator-levels-2008-4-2012-7-smooth-gt44.svg
index 39977c87..c22b7c42 100644
--- a/tests/testthat/_snaps/plot/gg-indicator-levels-2008-4-2012-7-smooth-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-indicator-levels-2008-4-2012-7-smooth-gt44.svg
@@ -59,7 +59,9 @@
2012
Levels
+
+
Benchmark
High-frequency serie
diff --git a/tests/testthat/_snaps/plot/gg-indicator-levels-2008-4-2012-7-smooth-lt43.svg b/tests/testthat/_snaps/plot/gg-indicator-levels-2008-4-2012-7-smooth-lt43.svg
index 39977c87..c22b7c42 100644
--- a/tests/testthat/_snaps/plot/gg-indicator-levels-2008-4-2012-7-smooth-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-indicator-levels-2008-4-2012-7-smooth-lt43.svg
@@ -59,7 +59,9 @@
2012
Levels
+
+
Benchmark
High-frequency serie
diff --git a/tests/testthat/_snaps/plot/gg-indicator-levels-nowin-gt44.svg b/tests/testthat/_snaps/plot/gg-indicator-levels-nowin-gt44.svg
index 71f3f1e4..b50f4d1d 100644
--- a/tests/testthat/_snaps/plot/gg-indicator-levels-nowin-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-indicator-levels-nowin-gt44.svg
@@ -110,7 +110,9 @@
2020
Levels
+
+
Benchmark
High-frequency serie
diff --git a/tests/testthat/_snaps/plot/gg-indicator-levels-nowin-lt43.svg b/tests/testthat/_snaps/plot/gg-indicator-levels-nowin-lt43.svg
index 71f3f1e4..b50f4d1d 100644
--- a/tests/testthat/_snaps/plot/gg-indicator-levels-nowin-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-indicator-levels-nowin-lt43.svg
@@ -110,7 +110,9 @@
2020
Levels
+
+
Benchmark
High-frequency serie
diff --git a/tests/testthat/_snaps/plot/gg-indicator-levels-nowin-smooth-gt44.svg b/tests/testthat/_snaps/plot/gg-indicator-levels-nowin-smooth-gt44.svg
index 1a219da3..e221e76c 100644
--- a/tests/testthat/_snaps/plot/gg-indicator-levels-nowin-smooth-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-indicator-levels-nowin-smooth-gt44.svg
@@ -110,7 +110,9 @@
2020
Levels
+
+
Benchmark
High-frequency serie
diff --git a/tests/testthat/_snaps/plot/gg-indicator-levels-nowin-smooth-lt43.svg b/tests/testthat/_snaps/plot/gg-indicator-levels-nowin-smooth-lt43.svg
index 1a219da3..e221e76c 100644
--- a/tests/testthat/_snaps/plot/gg-indicator-levels-nowin-smooth-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-indicator-levels-nowin-smooth-lt43.svg
@@ -110,7 +110,9 @@
2020
Levels
+
+
Benchmark
High-frequency serie
diff --git a/tests/testthat/_snaps/plot/gg-indicator-levels-rebased-2008-4-2012-7-gt44.svg b/tests/testthat/_snaps/plot/gg-indicator-levels-rebased-2008-4-2012-7-gt44.svg
index 495c69f8..47dfc945 100644
--- a/tests/testthat/_snaps/plot/gg-indicator-levels-rebased-2008-4-2012-7-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-indicator-levels-rebased-2008-4-2012-7-gt44.svg
@@ -65,7 +65,9 @@
2012
Rebased levels
+
+
Benchmark
High-frequency serie
diff --git a/tests/testthat/_snaps/plot/gg-indicator-levels-rebased-2008-4-2012-7-lt43.svg b/tests/testthat/_snaps/plot/gg-indicator-levels-rebased-2008-4-2012-7-lt43.svg
index 495c69f8..47dfc945 100644
--- a/tests/testthat/_snaps/plot/gg-indicator-levels-rebased-2008-4-2012-7-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-indicator-levels-rebased-2008-4-2012-7-lt43.svg
@@ -65,7 +65,9 @@
2012
Rebased levels
+
+
Benchmark
High-frequency serie
diff --git a/tests/testthat/_snaps/plot/gg-indicator-levels-rebased-2008-4-2012-7-smooth-gt44.svg b/tests/testthat/_snaps/plot/gg-indicator-levels-rebased-2008-4-2012-7-smooth-gt44.svg
index 204de0ae..3ff19a62 100644
--- a/tests/testthat/_snaps/plot/gg-indicator-levels-rebased-2008-4-2012-7-smooth-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-indicator-levels-rebased-2008-4-2012-7-smooth-gt44.svg
@@ -62,7 +62,9 @@
2012
Rebased levels
+
+
Benchmark
High-frequency serie
diff --git a/tests/testthat/_snaps/plot/gg-indicator-levels-rebased-2008-4-2012-7-smooth-lt43.svg b/tests/testthat/_snaps/plot/gg-indicator-levels-rebased-2008-4-2012-7-smooth-lt43.svg
index 204de0ae..3ff19a62 100644
--- a/tests/testthat/_snaps/plot/gg-indicator-levels-rebased-2008-4-2012-7-smooth-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-indicator-levels-rebased-2008-4-2012-7-smooth-lt43.svg
@@ -62,7 +62,9 @@
2012
Rebased levels
+
+
Benchmark
High-frequency serie
diff --git a/tests/testthat/_snaps/plot/gg-indicator-levels-rebased-nowin-gt44.svg b/tests/testthat/_snaps/plot/gg-indicator-levels-rebased-nowin-gt44.svg
index fc89a69c..3d4736ed 100644
--- a/tests/testthat/_snaps/plot/gg-indicator-levels-rebased-nowin-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-indicator-levels-rebased-nowin-gt44.svg
@@ -104,7 +104,9 @@
2020
Rebased levels
+
+
Benchmark
High-frequency serie
diff --git a/tests/testthat/_snaps/plot/gg-indicator-levels-rebased-nowin-lt43.svg b/tests/testthat/_snaps/plot/gg-indicator-levels-rebased-nowin-lt43.svg
index fc89a69c..3d4736ed 100644
--- a/tests/testthat/_snaps/plot/gg-indicator-levels-rebased-nowin-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-indicator-levels-rebased-nowin-lt43.svg
@@ -104,7 +104,9 @@
2020
Rebased levels
+
+
Benchmark
High-frequency serie
diff --git a/tests/testthat/_snaps/plot/gg-indicator-levels-rebased-nowin-smooth-gt44.svg b/tests/testthat/_snaps/plot/gg-indicator-levels-rebased-nowin-smooth-gt44.svg
index 8ca2fa92..26bd31c3 100644
--- a/tests/testthat/_snaps/plot/gg-indicator-levels-rebased-nowin-smooth-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-indicator-levels-rebased-nowin-smooth-gt44.svg
@@ -104,7 +104,9 @@
2020
Rebased levels
+
+
Benchmark
High-frequency serie
diff --git a/tests/testthat/_snaps/plot/gg-indicator-levels-rebased-nowin-smooth-lt43.svg b/tests/testthat/_snaps/plot/gg-indicator-levels-rebased-nowin-smooth-lt43.svg
index 8ca2fa92..26bd31c3 100644
--- a/tests/testthat/_snaps/plot/gg-indicator-levels-rebased-nowin-smooth-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-indicator-levels-rebased-nowin-smooth-lt43.svg
@@ -104,7 +104,9 @@
2020
Rebased levels
+
+
Benchmark
High-frequency serie
diff --git a/tests/testthat/_snaps/plot/gg-inrevisions-changes-2008-4-2012-7-gt44.svg b/tests/testthat/_snaps/plot/gg-inrevisions-changes-2008-4-2012-7-gt44.svg
index 26854ba5..fb174832 100644
--- a/tests/testthat/_snaps/plot/gg-inrevisions-changes-2008-4-2012-7-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-inrevisions-changes-2008-4-2012-7-gt44.svg
@@ -106,6 +106,7 @@
2012
Changes
+
Benchmark
diff --git a/tests/testthat/_snaps/plot/gg-inrevisions-changes-2008-4-2012-7-lt43.svg b/tests/testthat/_snaps/plot/gg-inrevisions-changes-2008-4-2012-7-lt43.svg
index 26854ba5..fb174832 100644
--- a/tests/testthat/_snaps/plot/gg-inrevisions-changes-2008-4-2012-7-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-inrevisions-changes-2008-4-2012-7-lt43.svg
@@ -106,6 +106,7 @@
2012
Changes
+
Benchmark
diff --git a/tests/testthat/_snaps/plot/gg-inrevisions-changes-2008-4-2012-7-smooth-gt44.svg b/tests/testthat/_snaps/plot/gg-inrevisions-changes-2008-4-2012-7-smooth-gt44.svg
index 0141f9f9..50cbb324 100644
--- a/tests/testthat/_snaps/plot/gg-inrevisions-changes-2008-4-2012-7-smooth-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-inrevisions-changes-2008-4-2012-7-smooth-gt44.svg
@@ -109,6 +109,7 @@
2012
Changes
+
Benchmark
diff --git a/tests/testthat/_snaps/plot/gg-inrevisions-changes-2008-4-2012-7-smooth-lt43.svg b/tests/testthat/_snaps/plot/gg-inrevisions-changes-2008-4-2012-7-smooth-lt43.svg
index 0141f9f9..50cbb324 100644
--- a/tests/testthat/_snaps/plot/gg-inrevisions-changes-2008-4-2012-7-smooth-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-inrevisions-changes-2008-4-2012-7-smooth-lt43.svg
@@ -109,6 +109,7 @@
2012
Changes
+
Benchmark
diff --git a/tests/testthat/_snaps/plot/gg-inrevisions-changes-nowin-gt44.svg b/tests/testthat/_snaps/plot/gg-inrevisions-changes-nowin-gt44.svg
index 01aa532b..e08659b5 100644
--- a/tests/testthat/_snaps/plot/gg-inrevisions-changes-nowin-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-inrevisions-changes-nowin-gt44.svg
@@ -349,6 +349,7 @@
2020
Changes
+
Benchmark
diff --git a/tests/testthat/_snaps/plot/gg-inrevisions-changes-nowin-lt43.svg b/tests/testthat/_snaps/plot/gg-inrevisions-changes-nowin-lt43.svg
index 01aa532b..e08659b5 100644
--- a/tests/testthat/_snaps/plot/gg-inrevisions-changes-nowin-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-inrevisions-changes-nowin-lt43.svg
@@ -349,6 +349,7 @@
2020
Changes
+
Benchmark
diff --git a/tests/testthat/_snaps/plot/gg-inrevisions-changes-nowin-smooth-gt44.svg b/tests/testthat/_snaps/plot/gg-inrevisions-changes-nowin-smooth-gt44.svg
index eb0fe94d..ef52f0dc 100644
--- a/tests/testthat/_snaps/plot/gg-inrevisions-changes-nowin-smooth-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-inrevisions-changes-nowin-smooth-gt44.svg
@@ -355,6 +355,7 @@
2020
Changes
+
Benchmark
diff --git a/tests/testthat/_snaps/plot/gg-inrevisions-changes-nowin-smooth-lt43.svg b/tests/testthat/_snaps/plot/gg-inrevisions-changes-nowin-smooth-lt43.svg
index eb0fe94d..ef52f0dc 100644
--- a/tests/testthat/_snaps/plot/gg-inrevisions-changes-nowin-smooth-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-inrevisions-changes-nowin-smooth-lt43.svg
@@ -355,6 +355,7 @@
2020
Changes
+
Benchmark
diff --git a/tests/testthat/_snaps/plot/gg-inrevisions-contributions-2008-4-2012-7-gt44.svg b/tests/testthat/_snaps/plot/gg-inrevisions-contributions-2008-4-2012-7-gt44.svg
index b93a6cdd..aaf22715 100644
--- a/tests/testthat/_snaps/plot/gg-inrevisions-contributions-2008-4-2012-7-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-inrevisions-contributions-2008-4-2012-7-gt44.svg
@@ -217,8 +217,11 @@
2012
Contributions
+
+
+
High-frequency serie
Smoothed part
diff --git a/tests/testthat/_snaps/plot/gg-inrevisions-contributions-2008-4-2012-7-lt43.svg b/tests/testthat/_snaps/plot/gg-inrevisions-contributions-2008-4-2012-7-lt43.svg
index b93a6cdd..aaf22715 100644
--- a/tests/testthat/_snaps/plot/gg-inrevisions-contributions-2008-4-2012-7-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-inrevisions-contributions-2008-4-2012-7-lt43.svg
@@ -217,8 +217,11 @@
2012
Contributions
+
+
+
High-frequency serie
Smoothed part
diff --git a/tests/testthat/_snaps/plot/gg-inrevisions-contributions-2008-4-2012-7-smooth-gt44.svg b/tests/testthat/_snaps/plot/gg-inrevisions-contributions-2008-4-2012-7-smooth-gt44.svg
index ed61b64a..005a9315 100644
--- a/tests/testthat/_snaps/plot/gg-inrevisions-contributions-2008-4-2012-7-smooth-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-inrevisions-contributions-2008-4-2012-7-smooth-gt44.svg
@@ -162,7 +162,9 @@
2012
Contributions
+
+
High-frequency serie
Smoothed part
diff --git a/tests/testthat/_snaps/plot/gg-inrevisions-contributions-2008-4-2012-7-smooth-lt43.svg b/tests/testthat/_snaps/plot/gg-inrevisions-contributions-2008-4-2012-7-smooth-lt43.svg
index ed61b64a..005a9315 100644
--- a/tests/testthat/_snaps/plot/gg-inrevisions-contributions-2008-4-2012-7-smooth-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-inrevisions-contributions-2008-4-2012-7-smooth-lt43.svg
@@ -162,7 +162,9 @@
2012
Contributions
+
+
High-frequency serie
Smoothed part
diff --git a/tests/testthat/_snaps/plot/gg-inrevisions-contributions-nowin-gt44.svg b/tests/testthat/_snaps/plot/gg-inrevisions-contributions-nowin-gt44.svg
index 7cbe2682..1f3d8c38 100644
--- a/tests/testthat/_snaps/plot/gg-inrevisions-contributions-nowin-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-inrevisions-contributions-nowin-gt44.svg
@@ -835,8 +835,11 @@
2020
Contributions
+
+
+
High-frequency serie
Smoothed part
diff --git a/tests/testthat/_snaps/plot/gg-inrevisions-contributions-nowin-lt43.svg b/tests/testthat/_snaps/plot/gg-inrevisions-contributions-nowin-lt43.svg
index 7cbe2682..1f3d8c38 100644
--- a/tests/testthat/_snaps/plot/gg-inrevisions-contributions-nowin-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-inrevisions-contributions-nowin-lt43.svg
@@ -835,8 +835,11 @@
2020
Contributions
+
+
+
High-frequency serie
Smoothed part
diff --git a/tests/testthat/_snaps/plot/gg-inrevisions-contributions-nowin-smooth-gt44.svg b/tests/testthat/_snaps/plot/gg-inrevisions-contributions-nowin-smooth-gt44.svg
index 3ae75373..2aab035e 100644
--- a/tests/testthat/_snaps/plot/gg-inrevisions-contributions-nowin-smooth-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-inrevisions-contributions-nowin-smooth-gt44.svg
@@ -600,7 +600,9 @@
2020
Contributions
+
+
High-frequency serie
Smoothed part
diff --git a/tests/testthat/_snaps/plot/gg-inrevisions-contributions-nowin-smooth-lt43.svg b/tests/testthat/_snaps/plot/gg-inrevisions-contributions-nowin-smooth-lt43.svg
index 3ae75373..2aab035e 100644
--- a/tests/testthat/_snaps/plot/gg-inrevisions-contributions-nowin-smooth-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-inrevisions-contributions-nowin-smooth-lt43.svg
@@ -600,7 +600,9 @@
2020
Contributions
+
+
High-frequency serie
Smoothed part
diff --git a/tests/testthat/_snaps/plot/gg-inrevisions-levels-2008-4-2012-7-gt44.svg b/tests/testthat/_snaps/plot/gg-inrevisions-levels-2008-4-2012-7-gt44.svg
index de9c7278..f0c46c92 100644
--- a/tests/testthat/_snaps/plot/gg-inrevisions-levels-2008-4-2012-7-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-inrevisions-levels-2008-4-2012-7-gt44.svg
@@ -112,6 +112,7 @@
2012
Levels
+
Benchmark
diff --git a/tests/testthat/_snaps/plot/gg-inrevisions-levels-2008-4-2012-7-lt43.svg b/tests/testthat/_snaps/plot/gg-inrevisions-levels-2008-4-2012-7-lt43.svg
index de9c7278..f0c46c92 100644
--- a/tests/testthat/_snaps/plot/gg-inrevisions-levels-2008-4-2012-7-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-inrevisions-levels-2008-4-2012-7-lt43.svg
@@ -112,6 +112,7 @@
2012
Levels
+
Benchmark
diff --git a/tests/testthat/_snaps/plot/gg-inrevisions-levels-2008-4-2012-7-smooth-gt44.svg b/tests/testthat/_snaps/plot/gg-inrevisions-levels-2008-4-2012-7-smooth-gt44.svg
index 984e93ce..07a81171 100644
--- a/tests/testthat/_snaps/plot/gg-inrevisions-levels-2008-4-2012-7-smooth-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-inrevisions-levels-2008-4-2012-7-smooth-gt44.svg
@@ -115,6 +115,7 @@
2012
Levels
+
Benchmark
diff --git a/tests/testthat/_snaps/plot/gg-inrevisions-levels-2008-4-2012-7-smooth-lt43.svg b/tests/testthat/_snaps/plot/gg-inrevisions-levels-2008-4-2012-7-smooth-lt43.svg
index 984e93ce..07a81171 100644
--- a/tests/testthat/_snaps/plot/gg-inrevisions-levels-2008-4-2012-7-smooth-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-inrevisions-levels-2008-4-2012-7-smooth-lt43.svg
@@ -115,6 +115,7 @@
2012
Levels
+
Benchmark
diff --git a/tests/testthat/_snaps/plot/gg-inrevisions-levels-nowin-gt44.svg b/tests/testthat/_snaps/plot/gg-inrevisions-levels-nowin-gt44.svg
index 9bf2b78d..9b5cf47e 100644
--- a/tests/testthat/_snaps/plot/gg-inrevisions-levels-nowin-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-inrevisions-levels-nowin-gt44.svg
@@ -350,6 +350,7 @@
2020
Levels
+
Benchmark
diff --git a/tests/testthat/_snaps/plot/gg-inrevisions-levels-nowin-lt43.svg b/tests/testthat/_snaps/plot/gg-inrevisions-levels-nowin-lt43.svg
index 9bf2b78d..9b5cf47e 100644
--- a/tests/testthat/_snaps/plot/gg-inrevisions-levels-nowin-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-inrevisions-levels-nowin-lt43.svg
@@ -350,6 +350,7 @@
2020
Levels
+
Benchmark
diff --git a/tests/testthat/_snaps/plot/gg-inrevisions-levels-nowin-smooth-gt44.svg b/tests/testthat/_snaps/plot/gg-inrevisions-levels-nowin-smooth-gt44.svg
index 34a56637..8573700a 100644
--- a/tests/testthat/_snaps/plot/gg-inrevisions-levels-nowin-smooth-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-inrevisions-levels-nowin-smooth-gt44.svg
@@ -353,6 +353,7 @@
2020
Levels
+
Benchmark
diff --git a/tests/testthat/_snaps/plot/gg-inrevisions-levels-nowin-smooth-lt43.svg b/tests/testthat/_snaps/plot/gg-inrevisions-levels-nowin-smooth-lt43.svg
index 34a56637..8573700a 100644
--- a/tests/testthat/_snaps/plot/gg-inrevisions-levels-nowin-smooth-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-inrevisions-levels-nowin-smooth-lt43.svg
@@ -353,6 +353,7 @@
2020
Levels
+
Benchmark
diff --git a/tests/testthat/_snaps/plot/gg-inrevisions-levels-rebased-2008-4-2012-7-gt44.svg b/tests/testthat/_snaps/plot/gg-inrevisions-levels-rebased-2008-4-2012-7-gt44.svg
index de9c7278..f0c46c92 100644
--- a/tests/testthat/_snaps/plot/gg-inrevisions-levels-rebased-2008-4-2012-7-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-inrevisions-levels-rebased-2008-4-2012-7-gt44.svg
@@ -112,6 +112,7 @@
2012
Levels
+
Benchmark
diff --git a/tests/testthat/_snaps/plot/gg-inrevisions-levels-rebased-2008-4-2012-7-lt43.svg b/tests/testthat/_snaps/plot/gg-inrevisions-levels-rebased-2008-4-2012-7-lt43.svg
index de9c7278..f0c46c92 100644
--- a/tests/testthat/_snaps/plot/gg-inrevisions-levels-rebased-2008-4-2012-7-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-inrevisions-levels-rebased-2008-4-2012-7-lt43.svg
@@ -112,6 +112,7 @@
2012
Levels
+
Benchmark
diff --git a/tests/testthat/_snaps/plot/gg-inrevisions-levels-rebased-2008-4-2012-7-smooth-gt44.svg b/tests/testthat/_snaps/plot/gg-inrevisions-levels-rebased-2008-4-2012-7-smooth-gt44.svg
index 984e93ce..07a81171 100644
--- a/tests/testthat/_snaps/plot/gg-inrevisions-levels-rebased-2008-4-2012-7-smooth-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-inrevisions-levels-rebased-2008-4-2012-7-smooth-gt44.svg
@@ -115,6 +115,7 @@
2012
Levels
+
Benchmark
diff --git a/tests/testthat/_snaps/plot/gg-inrevisions-levels-rebased-2008-4-2012-7-smooth-lt43.svg b/tests/testthat/_snaps/plot/gg-inrevisions-levels-rebased-2008-4-2012-7-smooth-lt43.svg
index 984e93ce..07a81171 100644
--- a/tests/testthat/_snaps/plot/gg-inrevisions-levels-rebased-2008-4-2012-7-smooth-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-inrevisions-levels-rebased-2008-4-2012-7-smooth-lt43.svg
@@ -115,6 +115,7 @@
2012
Levels
+
Benchmark
diff --git a/tests/testthat/_snaps/plot/gg-inrevisions-levels-rebased-nowin-gt44.svg b/tests/testthat/_snaps/plot/gg-inrevisions-levels-rebased-nowin-gt44.svg
index 982f5f7a..a842a816 100644
--- a/tests/testthat/_snaps/plot/gg-inrevisions-levels-rebased-nowin-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-inrevisions-levels-rebased-nowin-gt44.svg
@@ -347,6 +347,7 @@
2020
Rebased levels
+
Benchmark
diff --git a/tests/testthat/_snaps/plot/gg-inrevisions-levels-rebased-nowin-lt43.svg b/tests/testthat/_snaps/plot/gg-inrevisions-levels-rebased-nowin-lt43.svg
index 982f5f7a..a842a816 100644
--- a/tests/testthat/_snaps/plot/gg-inrevisions-levels-rebased-nowin-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-inrevisions-levels-rebased-nowin-lt43.svg
@@ -347,6 +347,7 @@
2020
Rebased levels
+
Benchmark
diff --git a/tests/testthat/_snaps/plot/gg-inrevisions-levels-rebased-nowin-smooth-gt44.svg b/tests/testthat/_snaps/plot/gg-inrevisions-levels-rebased-nowin-smooth-gt44.svg
index b8f0cb48..f0723ba7 100644
--- a/tests/testthat/_snaps/plot/gg-inrevisions-levels-rebased-nowin-smooth-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-inrevisions-levels-rebased-nowin-smooth-gt44.svg
@@ -353,6 +353,7 @@
2020
Rebased levels
+
Benchmark
diff --git a/tests/testthat/_snaps/plot/gg-inrevisions-levels-rebased-nowin-smooth-lt43.svg b/tests/testthat/_snaps/plot/gg-inrevisions-levels-rebased-nowin-smooth-lt43.svg
index b8f0cb48..f0723ba7 100644
--- a/tests/testthat/_snaps/plot/gg-inrevisions-levels-rebased-nowin-smooth-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-inrevisions-levels-rebased-nowin-smooth-lt43.svg
@@ -353,6 +353,7 @@
2020
Rebased levels
+
Benchmark
diff --git a/tests/testthat/_snaps/plot/gg-insample-changes-2008-2012-gt44.svg b/tests/testthat/_snaps/plot/gg-insample-changes-2008-2012-gt44.svg
index 0304163d..81feba1d 100644
--- a/tests/testthat/_snaps/plot/gg-insample-changes-2008-2012-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-insample-changes-2008-2012-gt44.svg
@@ -56,7 +56,9 @@
2012
Changes
+
+
Benchmark
Predicted value
diff --git a/tests/testthat/_snaps/plot/gg-insample-changes-2008-2012-lt43.svg b/tests/testthat/_snaps/plot/gg-insample-changes-2008-2012-lt43.svg
index 0304163d..81feba1d 100644
--- a/tests/testthat/_snaps/plot/gg-insample-changes-2008-2012-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-insample-changes-2008-2012-lt43.svg
@@ -56,7 +56,9 @@
2012
Changes
+
+
Benchmark
Predicted value
diff --git a/tests/testthat/_snaps/plot/gg-insample-changes-nowin-gt44.svg b/tests/testthat/_snaps/plot/gg-insample-changes-nowin-gt44.svg
index d8456937..b6a8c5c4 100644
--- a/tests/testthat/_snaps/plot/gg-insample-changes-nowin-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-insample-changes-nowin-gt44.svg
@@ -101,7 +101,9 @@
2019
Changes
+
+
Benchmark
Predicted value
diff --git a/tests/testthat/_snaps/plot/gg-insample-changes-nowin-lt43.svg b/tests/testthat/_snaps/plot/gg-insample-changes-nowin-lt43.svg
index d8456937..b6a8c5c4 100644
--- a/tests/testthat/_snaps/plot/gg-insample-changes-nowin-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-insample-changes-nowin-lt43.svg
@@ -101,7 +101,9 @@
2019
Changes
+
+
Benchmark
Predicted value
diff --git a/tests/testthat/_snaps/plot/gg-insample-levels-2008-2012-gt44.svg b/tests/testthat/_snaps/plot/gg-insample-levels-2008-2012-gt44.svg
index 3aa08783..68950f08 100644
--- a/tests/testthat/_snaps/plot/gg-insample-levels-2008-2012-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-insample-levels-2008-2012-gt44.svg
@@ -62,7 +62,9 @@
2012
Levels
+
+
Benchmark
Predicted value
diff --git a/tests/testthat/_snaps/plot/gg-insample-levels-2008-2012-lt43.svg b/tests/testthat/_snaps/plot/gg-insample-levels-2008-2012-lt43.svg
index 3aa08783..68950f08 100644
--- a/tests/testthat/_snaps/plot/gg-insample-levels-2008-2012-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-insample-levels-2008-2012-lt43.svg
@@ -62,7 +62,9 @@
2012
Levels
+
+
Benchmark
Predicted value
diff --git a/tests/testthat/_snaps/plot/gg-insample-levels-nowin-gt44.svg b/tests/testthat/_snaps/plot/gg-insample-levels-nowin-gt44.svg
index 3dd53aa4..3e3dd145 100644
--- a/tests/testthat/_snaps/plot/gg-insample-levels-nowin-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-insample-levels-nowin-gt44.svg
@@ -107,7 +107,9 @@
2019
Levels
+
+
Benchmark
Predicted value
diff --git a/tests/testthat/_snaps/plot/gg-insample-levels-nowin-lt43.svg b/tests/testthat/_snaps/plot/gg-insample-levels-nowin-lt43.svg
index 3dd53aa4..3e3dd145 100644
--- a/tests/testthat/_snaps/plot/gg-insample-levels-nowin-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-insample-levels-nowin-lt43.svg
@@ -107,7 +107,9 @@
2019
Levels
+
+
Benchmark
Predicted value
diff --git a/tests/testthat/_snaps/plot/gg-main-ctb-smooth-gt44.svg b/tests/testthat/_snaps/plot/gg-main-ctb-smooth-gt44.svg
index f439459b..02c99e27 100644
--- a/tests/testthat/_snaps/plot/gg-main-ctb-smooth-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-main-ctb-smooth-gt44.svg
@@ -594,7 +594,9 @@
2020
Contributions
+
+
High-frequency serie
Smoothed part
diff --git a/tests/testthat/_snaps/plot/gg-main-ctb-smooth-lt43.svg b/tests/testthat/_snaps/plot/gg-main-ctb-smooth-lt43.svg
index f439459b..02c99e27 100644
--- a/tests/testthat/_snaps/plot/gg-main-ctb-smooth-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-main-ctb-smooth-lt43.svg
@@ -594,7 +594,9 @@
2020
Contributions
+
+
High-frequency serie
Smoothed part
diff --git a/tests/testthat/_snaps/plot/gg-main-inrev-smooth-gt44.svg b/tests/testthat/_snaps/plot/gg-main-inrev-smooth-gt44.svg
index ae1449b3..5eaa0ad4 100644
--- a/tests/testthat/_snaps/plot/gg-main-inrev-smooth-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-main-inrev-smooth-gt44.svg
@@ -355,6 +355,7 @@
2020
Changes
+
Benchmark
title in rev
diff --git a/tests/testthat/_snaps/plot/gg-main-inrev-smooth-lt43.svg b/tests/testthat/_snaps/plot/gg-main-inrev-smooth-lt43.svg
index ae1449b3..5eaa0ad4 100644
--- a/tests/testthat/_snaps/plot/gg-main-inrev-smooth-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-main-inrev-smooth-lt43.svg
@@ -355,6 +355,7 @@
2020
Changes
+
Benchmark
title in rev
diff --git a/tests/testthat/_snaps/plot/gg-main-insample-gt44.svg b/tests/testthat/_snaps/plot/gg-main-insample-gt44.svg
index b53e8386..f2f79f0c 100644
--- a/tests/testthat/_snaps/plot/gg-main-insample-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-main-insample-gt44.svg
@@ -101,7 +101,9 @@
2019
Changes
+
+
Benchmark
Predicted value
diff --git a/tests/testthat/_snaps/plot/gg-main-insample-lt43.svg b/tests/testthat/_snaps/plot/gg-main-insample-lt43.svg
index b53e8386..f2f79f0c 100644
--- a/tests/testthat/_snaps/plot/gg-main-insample-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-main-insample-lt43.svg
@@ -101,7 +101,9 @@
2019
Changes
+
+
Benchmark
Predicted value
diff --git a/tests/testthat/_snaps/plot/gg-main-scatter-smooth-gt44.svg b/tests/testthat/_snaps/plot/gg-main-scatter-smooth-gt44.svg
index de972c22..ec208ff5 100644
--- a/tests/testthat/_snaps/plot/gg-main-scatter-smooth-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-main-scatter-smooth-gt44.svg
@@ -98,14 +98,19 @@
1400
Time
+
+
+
+
+
2001
diff --git a/tests/testthat/_snaps/plot/gg-main-scatter-smooth-lt43.svg b/tests/testthat/_snaps/plot/gg-main-scatter-smooth-lt43.svg
index de972c22..ec208ff5 100644
--- a/tests/testthat/_snaps/plot/gg-main-scatter-smooth-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-main-scatter-smooth-lt43.svg
@@ -98,14 +98,19 @@
1400
Time
+
+
+
+
+
2001
diff --git a/tests/testthat/_snaps/plot/gg-mts-ctb-gt44.svg b/tests/testthat/_snaps/plot/gg-mts-ctb-gt44.svg
index 029c01d3..11db1eb1 100644
--- a/tests/testthat/_snaps/plot/gg-mts-ctb-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-mts-ctb-gt44.svg
@@ -1321,9 +1321,13 @@
2025
Contributions
+
+
+
+
a
b
diff --git a/tests/testthat/_snaps/plot/gg-mts-ctb-lt43.svg b/tests/testthat/_snaps/plot/gg-mts-ctb-lt43.svg
index 029c01d3..11db1eb1 100644
--- a/tests/testthat/_snaps/plot/gg-mts-ctb-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-mts-ctb-lt43.svg
@@ -1321,9 +1321,13 @@
2025
Contributions
+
+
+
+
a
b
diff --git a/tests/testthat/_snaps/plot/gg-mts-indic-gt44.svg b/tests/testthat/_snaps/plot/gg-mts-indic-gt44.svg
index d477efa8..0898b74d 100644
--- a/tests/testthat/_snaps/plot/gg-mts-indic-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-mts-indic-gt44.svg
@@ -18,7 +18,7 @@
-
+
@@ -121,9 +121,13 @@
2025
Rebased levels
+
+
+
+
Benchmark
a
diff --git a/tests/testthat/_snaps/plot/gg-mts-indic-lt43.svg b/tests/testthat/_snaps/plot/gg-mts-indic-lt43.svg
index d477efa8..0898b74d 100644
--- a/tests/testthat/_snaps/plot/gg-mts-indic-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-mts-indic-lt43.svg
@@ -18,7 +18,7 @@
-
+
@@ -121,9 +121,13 @@
2025
Rebased levels
+
+
+
+
Benchmark
a
diff --git a/tests/testthat/_snaps/plot/gg-mts-ins-gt44.svg b/tests/testthat/_snaps/plot/gg-mts-ins-gt44.svg
index 007ceaed..bb422599 100644
--- a/tests/testthat/_snaps/plot/gg-mts-ins-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-mts-ins-gt44.svg
@@ -107,7 +107,9 @@
2019
Levels
+
+
Benchmark
Predicted value
diff --git a/tests/testthat/_snaps/plot/gg-mts-ins-lt43.svg b/tests/testthat/_snaps/plot/gg-mts-ins-lt43.svg
index 007ceaed..bb422599 100644
--- a/tests/testthat/_snaps/plot/gg-mts-ins-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-mts-ins-lt43.svg
@@ -107,7 +107,9 @@
2019
Levels
+
+
Benchmark
Predicted value
diff --git a/tests/testthat/_snaps/plot/gg-mts-rev-gt44.svg b/tests/testthat/_snaps/plot/gg-mts-rev-gt44.svg
index 899b6237..74db42ae 100644
--- a/tests/testthat/_snaps/plot/gg-mts-rev-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-mts-rev-gt44.svg
@@ -424,6 +424,7 @@
2025
Levels
+
Benchmark
diff --git a/tests/testthat/_snaps/plot/gg-mts-rev-lt43.svg b/tests/testthat/_snaps/plot/gg-mts-rev-lt43.svg
index 899b6237..74db42ae 100644
--- a/tests/testthat/_snaps/plot/gg-mts-rev-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-mts-rev-lt43.svg
@@ -424,6 +424,7 @@
2025
Levels
+
Benchmark
diff --git a/tests/testthat/_snaps/plot/gg-nowin-smooth-gt44.svg b/tests/testthat/_snaps/plot/gg-nowin-smooth-gt44.svg
index 2eac8778..ec41b34b 100644
--- a/tests/testthat/_snaps/plot/gg-nowin-smooth-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-nowin-smooth-gt44.svg
@@ -18,7 +18,7 @@
-
+
@@ -126,7 +126,9 @@
2020
Variables
+
+
Smooth
Low-frequency serie
diff --git a/tests/testthat/_snaps/plot/gg-nowin-smooth-lt43.svg b/tests/testthat/_snaps/plot/gg-nowin-smooth-lt43.svg
index 2eac8778..ec41b34b 100644
--- a/tests/testthat/_snaps/plot/gg-nowin-smooth-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-nowin-smooth-lt43.svg
@@ -18,7 +18,7 @@
-
+
@@ -126,7 +126,9 @@
2020
Variables
+
+
Smooth
Low-frequency serie
diff --git a/tests/testthat/_snaps/plot/gg-plot-main-ctb-gt44.svg b/tests/testthat/_snaps/plot/gg-plot-main-ctb-gt44.svg
index 3e1f87af..4a419258 100644
--- a/tests/testthat/_snaps/plot/gg-plot-main-ctb-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-plot-main-ctb-gt44.svg
@@ -838,8 +838,11 @@
2020
Contributions
+
+
+
High-frequency serie
Smoothed part
diff --git a/tests/testthat/_snaps/plot/gg-plot-main-ctb-lt43.svg b/tests/testthat/_snaps/plot/gg-plot-main-ctb-lt43.svg
index 3e1f87af..4a419258 100644
--- a/tests/testthat/_snaps/plot/gg-plot-main-ctb-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-plot-main-ctb-lt43.svg
@@ -838,8 +838,11 @@
2020
Contributions
+
+
+
High-frequency serie
Smoothed part
diff --git a/tests/testthat/_snaps/plot/gg-plot-main-inrev-gt44.svg b/tests/testthat/_snaps/plot/gg-plot-main-inrev-gt44.svg
index 0d83d49c..6bdee48b 100644
--- a/tests/testthat/_snaps/plot/gg-plot-main-inrev-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-plot-main-inrev-gt44.svg
@@ -349,6 +349,7 @@
2020
Changes
+
Benchmark
title in rev
diff --git a/tests/testthat/_snaps/plot/gg-plot-main-inrev-lt43.svg b/tests/testthat/_snaps/plot/gg-plot-main-inrev-lt43.svg
index 0d83d49c..6bdee48b 100644
--- a/tests/testthat/_snaps/plot/gg-plot-main-inrev-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-plot-main-inrev-lt43.svg
@@ -349,6 +349,7 @@
2020
Changes
+
Benchmark
title in rev
diff --git a/tests/testthat/_snaps/plot/gg-plot-main-scatter-gt44.svg b/tests/testthat/_snaps/plot/gg-plot-main-scatter-gt44.svg
index f690d498..247237b9 100644
--- a/tests/testthat/_snaps/plot/gg-plot-main-scatter-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-plot-main-scatter-gt44.svg
@@ -91,14 +91,19 @@
100
Time
+
+
+
+
+
2002
diff --git a/tests/testthat/_snaps/plot/gg-plot-main-scatter-lt43.svg b/tests/testthat/_snaps/plot/gg-plot-main-scatter-lt43.svg
index f690d498..247237b9 100644
--- a/tests/testthat/_snaps/plot/gg-plot-main-scatter-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-plot-main-scatter-lt43.svg
@@ -91,14 +91,19 @@
100
Time
+
+
+
+
+
2002
diff --git a/tests/testthat/_snaps/plot/gg-plot-scatter-2008-2012-gt44.svg b/tests/testthat/_snaps/plot/gg-plot-scatter-2008-2012-gt44.svg
index afb56c93..cc489358 100644
--- a/tests/testthat/_snaps/plot/gg-plot-scatter-2008-2012-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-plot-scatter-2008-2012-gt44.svg
@@ -69,12 +69,16 @@
50
Time
+
+
+
+
2009
diff --git a/tests/testthat/_snaps/plot/gg-plot-scatter-2008-2012-lt43.svg b/tests/testthat/_snaps/plot/gg-plot-scatter-2008-2012-lt43.svg
index afb56c93..cc489358 100644
--- a/tests/testthat/_snaps/plot/gg-plot-scatter-2008-2012-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-plot-scatter-2008-2012-lt43.svg
@@ -69,12 +69,16 @@
50
Time
+
+
+
+
2009
diff --git a/tests/testthat/_snaps/plot/gg-plot-scatter-coeff-2008-2012-gt44.svg b/tests/testthat/_snaps/plot/gg-plot-scatter-coeff-2008-2012-gt44.svg
index 31e54cc2..fe9e4a7a 100644
--- a/tests/testthat/_snaps/plot/gg-plot-scatter-coeff-2008-2012-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-plot-scatter-coeff-2008-2012-gt44.svg
@@ -99,30 +99,35 @@
1400
Time
+
+
+
+
+
diff --git a/tests/testthat/_snaps/plot/gg-plot-scatter-coeff-2008-2012-lt43.svg b/tests/testthat/_snaps/plot/gg-plot-scatter-coeff-2008-2012-lt43.svg
index 31e54cc2..fe9e4a7a 100644
--- a/tests/testthat/_snaps/plot/gg-plot-scatter-coeff-2008-2012-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-plot-scatter-coeff-2008-2012-lt43.svg
@@ -99,30 +99,35 @@
1400
Time
+
+
+
+
+
diff --git a/tests/testthat/_snaps/plot/gg-scatter-2008-2012-smooth-gt44.svg b/tests/testthat/_snaps/plot/gg-scatter-2008-2012-smooth-gt44.svg
index 6d6245d9..86e7fc4d 100644
--- a/tests/testthat/_snaps/plot/gg-scatter-2008-2012-smooth-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-scatter-2008-2012-smooth-gt44.svg
@@ -68,12 +68,16 @@
1240
Time
+
+
+
+
2009
diff --git a/tests/testthat/_snaps/plot/gg-scatter-2008-2012-smooth-lt43.svg b/tests/testthat/_snaps/plot/gg-scatter-2008-2012-smooth-lt43.svg
index 6d6245d9..86e7fc4d 100644
--- a/tests/testthat/_snaps/plot/gg-scatter-2008-2012-smooth-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-scatter-2008-2012-smooth-lt43.svg
@@ -68,12 +68,16 @@
1240
Time
+
+
+
+
2009
diff --git a/tests/testthat/_snaps/plot/gg-smooth-2008-4-2012-7-smooth-gt44.svg b/tests/testthat/_snaps/plot/gg-smooth-2008-4-2012-7-smooth-gt44.svg
index 7562350b..b4fe039c 100644
--- a/tests/testthat/_snaps/plot/gg-smooth-2008-4-2012-7-smooth-gt44.svg
+++ b/tests/testthat/_snaps/plot/gg-smooth-2008-4-2012-7-smooth-gt44.svg
@@ -66,7 +66,9 @@
2012
Variables
+
+
Smooth
Low-frequency serie
diff --git a/tests/testthat/_snaps/plot/gg-smooth-2008-4-2012-7-smooth-lt43.svg b/tests/testthat/_snaps/plot/gg-smooth-2008-4-2012-7-smooth-lt43.svg
index 7562350b..b4fe039c 100644
--- a/tests/testthat/_snaps/plot/gg-smooth-2008-4-2012-7-smooth-lt43.svg
+++ b/tests/testthat/_snaps/plot/gg-smooth-2008-4-2012-7-smooth-lt43.svg
@@ -66,7 +66,9 @@
2012
Variables
+
+
Smooth
Low-frequency serie
diff --git a/tests/testthat/_snaps/plot/ggplot-indicator-changes-outlier-gt44.svg b/tests/testthat/_snaps/plot/ggplot-indicator-changes-outlier-gt44.svg
index 5a250ae7..fed5790e 100644
--- a/tests/testthat/_snaps/plot/ggplot-indicator-changes-outlier-gt44.svg
+++ b/tests/testthat/_snaps/plot/ggplot-indicator-changes-outlier-gt44.svg
@@ -107,7 +107,9 @@
2020
Changes
+
+
Benchmark
High-frequency serie
diff --git a/tests/testthat/_snaps/plot/ggplot-indicator-changes-outlier-lt43.svg b/tests/testthat/_snaps/plot/ggplot-indicator-changes-outlier-lt43.svg
index 5a250ae7..fed5790e 100644
--- a/tests/testthat/_snaps/plot/ggplot-indicator-changes-outlier-lt43.svg
+++ b/tests/testthat/_snaps/plot/ggplot-indicator-changes-outlier-lt43.svg
@@ -107,7 +107,9 @@
2020
Changes
+
+
Benchmark
High-frequency serie
diff --git a/tests/testthat/_snaps/plot/ggplot-indicator-contributions-outlier-gt44.svg b/tests/testthat/_snaps/plot/ggplot-indicator-contributions-outlier-gt44.svg
index a9144d7c..c5ddbd8d 100644
--- a/tests/testthat/_snaps/plot/ggplot-indicator-contributions-outlier-gt44.svg
+++ b/tests/testthat/_snaps/plot/ggplot-indicator-contributions-outlier-gt44.svg
@@ -835,8 +835,11 @@
2020
Contributions
+
+
+
High-frequency serie
LS2005
diff --git a/tests/testthat/_snaps/plot/ggplot-indicator-contributions-outlier-lt43.svg b/tests/testthat/_snaps/plot/ggplot-indicator-contributions-outlier-lt43.svg
index a9144d7c..c5ddbd8d 100644
--- a/tests/testthat/_snaps/plot/ggplot-indicator-contributions-outlier-lt43.svg
+++ b/tests/testthat/_snaps/plot/ggplot-indicator-contributions-outlier-lt43.svg
@@ -835,8 +835,11 @@
2020
Contributions
+
+
+
High-frequency serie
LS2005
diff --git a/tests/testthat/_snaps/plot/ggplot-indicator-levels-outlier-gt44.svg b/tests/testthat/_snaps/plot/ggplot-indicator-levels-outlier-gt44.svg
index 1b4a76b8..23264bb9 100644
--- a/tests/testthat/_snaps/plot/ggplot-indicator-levels-outlier-gt44.svg
+++ b/tests/testthat/_snaps/plot/ggplot-indicator-levels-outlier-gt44.svg
@@ -110,7 +110,9 @@
2020
Levels
+
+
Benchmark
High-frequency serie
diff --git a/tests/testthat/_snaps/plot/ggplot-indicator-levels-outlier-lt43.svg b/tests/testthat/_snaps/plot/ggplot-indicator-levels-outlier-lt43.svg
index 1b4a76b8..23264bb9 100644
--- a/tests/testthat/_snaps/plot/ggplot-indicator-levels-outlier-lt43.svg
+++ b/tests/testthat/_snaps/plot/ggplot-indicator-levels-outlier-lt43.svg
@@ -110,7 +110,9 @@
2020
Levels
+
+
Benchmark
High-frequency serie
diff --git a/tests/testthat/_snaps/plot/ggplot-indicator-levels-rebased-outlier-gt44.svg b/tests/testthat/_snaps/plot/ggplot-indicator-levels-rebased-outlier-gt44.svg
index 0b1fb73b..eed0c622 100644
--- a/tests/testthat/_snaps/plot/ggplot-indicator-levels-rebased-outlier-gt44.svg
+++ b/tests/testthat/_snaps/plot/ggplot-indicator-levels-rebased-outlier-gt44.svg
@@ -104,7 +104,9 @@
2020
Rebased levels
+
+
Benchmark
High-frequency serie
diff --git a/tests/testthat/_snaps/plot/ggplot-indicator-levels-rebased-outlier-lt43.svg b/tests/testthat/_snaps/plot/ggplot-indicator-levels-rebased-outlier-lt43.svg
index 0b1fb73b..eed0c622 100644
--- a/tests/testthat/_snaps/plot/ggplot-indicator-levels-rebased-outlier-lt43.svg
+++ b/tests/testthat/_snaps/plot/ggplot-indicator-levels-rebased-outlier-lt43.svg
@@ -104,7 +104,9 @@
2020
Rebased levels
+
+
Benchmark
High-frequency serie
diff --git a/tests/testthat/test-plot.R b/tests/testthat/test-plot.R
index 60fea5d4..154a14a6 100644
--- a/tests/testthat/test-plot.R
+++ b/tests/testthat/test-plot.R
@@ -7,12 +7,26 @@ skips <- function() {
as.character(sessionInfo()[c("BLAS","LAPACK")]))
)
)
+ skip_if(packageVersion("ggplot2") < "3.5.0")
}
-expect_doppelganger <- function(title, fig) vdiffr::expect_doppelganger(
- paste0(title, "-", if (getRversion() < "4.4.0") "lt43" else "gt44"),
- fig
-)
+# taken from the non exported of vdiffr
+str_standardise <- function (s, sep = "-") {
+ stopifnot(is.character(s) && length(s) == 1)
+ s <- gsub("[^a-z0-9]", sep, tolower(s))
+ s <- gsub(paste0(sep, sep, "+"), sep, s)
+ s <- gsub(paste0("^", sep, "|", sep, "$"), "", s)
+ s
+}
+
+expect_doppelganger <- function(title, fig) {
+ this_version <- paste0(title, "-", if (getRversion() < "4.4.0") "lt43" else "gt44")
+ other_version <- paste0(title, "-", if (getRversion() < "4.4.0") "gt44" else "lt43")
+ fig_name <- str_standardise(other_version)
+ file <- paste0(fig_name, ".svg")
+ testthat::announce_snapshot_file(name = file)
+ vdiffr::expect_doppelganger(this_version, fig)
+}
test_that("function_if_it_isnt_one works", {
expect_identical(function_if_it_isnt_one(seq_len),seq_len)