diff --git a/NEWS.md b/NEWS.md
index 23d9c16..69c75f9 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.
+
+# 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 882e7cd..bd42214 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 5ce7c7c..0000000
--- 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 250bcd3..3862c4c 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 250bcd3..3862c4c 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 4bd7e41..0fc3002 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 4bd7e41..0fc3002 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 97d91ec..8b46089 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 97d91ec..8b46089 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 8ee60a4..0a8d2de 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 8ee60a4..0a8d2de 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 1403c12..0e0ca61 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 1403c12..0e0ca61 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 e8ce683..59b2d87 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 e8ce683..59b2d87 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 d42c666..730ce56 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 d42c666..730ce56 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 45c4cae..a2388c1 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 45c4cae..a2388c1 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 64cc89f..3d1e216 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 64cc89f..3d1e216 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 0f6b979..edb3530 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 0f6b979..edb3530 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 ac10325..95a3aca 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 ac10325..95a3aca 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 8545c64..6777e50 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 8545c64..6777e50 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 b2fd132..d9df0c7 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 b2fd132..d9df0c7 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 ed0e35e..283579e 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 ed0e35e..283579e 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 1a1630d..31e1ddb 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 1a1630d..31e1ddb 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 39977c8..c22b7c4 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 39977c8..c22b7c4 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 71f3f1e..b50f4d1 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 71f3f1e..b50f4d1 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 1a219da..e221e76 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 1a219da..e221e76 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 495c69f..47dfc94 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 495c69f..47dfc94 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 204de0a..3ff19a6 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 204de0a..3ff19a6 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 fc89a69..3d4736e 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 fc89a69..3d4736e 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 8ca2fa9..26bd31c 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 8ca2fa9..26bd31c 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 26854ba..fb17483 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 26854ba..fb17483 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 0141f9f..50cbb32 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 0141f9f..50cbb32 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 01aa532..e08659b 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 01aa532..e08659b 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 eb0fe94..ef52f0d 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 eb0fe94..ef52f0d 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 b93a6cd..aaf2271 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 b93a6cd..aaf2271 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 ed61b64..005a931 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 ed61b64..005a931 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 7cbe268..1f3d8c3 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 7cbe268..1f3d8c3 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 3ae7537..2aab035 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 3ae7537..2aab035 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 de9c727..f0c46c9 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 de9c727..f0c46c9 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 984e93c..07a8117 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 984e93c..07a8117 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 9bf2b78..9b5cf47 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 9bf2b78..9b5cf47 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 34a5663..8573700 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 34a5663..8573700 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 de9c727..f0c46c9 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 de9c727..f0c46c9 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 984e93c..07a8117 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 984e93c..07a8117 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 982f5f7..a842a81 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 982f5f7..a842a81 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 b8f0cb4..f0723ba 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 b8f0cb4..f0723ba 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 0304163..81feba1 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 0304163..81feba1 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 d845693..b6a8c5c 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 d845693..b6a8c5c 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 3aa0878..68950f0 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 3aa0878..68950f0 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 3dd53aa..3e3dd14 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 3dd53aa..3e3dd14 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 f439459..02c99e2 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 f439459..02c99e2 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 ae1449b..5eaa0ad 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 ae1449b..5eaa0ad 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 b53e838..f2f79f0 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 b53e838..f2f79f0 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 de972c2..ec208ff 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 de972c2..ec208ff 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 029c01d..11db1eb 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 029c01d..11db1eb 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 d477efa..0898b74 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 d477efa..0898b74 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 007ceae..bb42259 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 007ceae..bb42259 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 899b623..74db42a 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 899b623..74db42a 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 2eac877..ec41b34 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 2eac877..ec41b34 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 3e1f87a..4a41925 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 3e1f87a..4a41925 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 0d83d49..6bdee48 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 0d83d49..6bdee48 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 f690d49..247237b 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 f690d49..247237b 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 afb56c9..cc48935 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 afb56c9..cc48935 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 31e54cc..fe9e4a7 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 31e54cc..fe9e4a7 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 6d6245d..86e7fc4 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 6d6245d..86e7fc4 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 7562350..b4fe039 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 7562350..b4fe039 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 5a250ae..fed5790 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 5a250ae..fed5790 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 a9144d7..c5ddbd8 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 a9144d7..c5ddbd8 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 1b4a76b..23264bb 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 1b4a76b..23264bb 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 0b1fb73..eed0c62 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 0b1fb73..eed0c62 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 60fea5d..154a14a 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)