From 9dd49c72eeca7ae7a382a40f92b653fd29fd8013 Mon Sep 17 00:00:00 2001 From: Don van den Bergh Date: Thu, 29 Feb 2024 11:59:25 +0100 Subject: [PATCH] Fix test figures for ggplot2 update (#290) --- .../prior-and-posterior-subplot-2.svg | 4 +- .../prior-and-posterior-subplot-4.svg | 16 ++--- .../sequential-analysis-subplot-2.svg | 4 +- .../generalizedlinearmodel/devresvsxplot.svg | 2 +- .../generalizedlinearmodel/devresvsyplot.svg | 2 +- .../generalizedlinearmodel/prsresvsxplot.svg | 2 +- .../generalizedlinearmodel/prsresvsyplot.svg | 2 +- .../generalizedlinearmodel/quanresvsxplot.svg | 2 +- .../generalizedlinearmodel/quanresvsyplot.svg | 2 +- .../field-residuals-predicted.svg | 20 +++--- .../regressionlinear/residuals-covariates.svg | 16 ++--- .../regressionlinear/residuals-dependent.svg | 16 ++--- .../regressionlinear/residuals-predicted.svg | 16 ++--- .../socialanxiety-residuals-vs-predicted.svg | 20 +++--- .../inclusionprobabilities.svg | 64 +++++++++---------- ...coefficients-with-95-credible-interval.svg | 2 +- 16 files changed, 95 insertions(+), 95 deletions(-) diff --git a/tests/testthat/_snaps/correlationbayesian/prior-and-posterior-subplot-2.svg b/tests/testthat/_snaps/correlationbayesian/prior-and-posterior-subplot-2.svg index 1a8c144e..a25dea8c 100644 --- a/tests/testthat/_snaps/correlationbayesian/prior-and-posterior-subplot-2.svg +++ b/tests/testthat/_snaps/correlationbayesian/prior-and-posterior-subplot-2.svg @@ -36,8 +36,8 @@ - - + + data | H0 data | H1 diff --git a/tests/testthat/_snaps/correlationbayesian/prior-and-posterior-subplot-4.svg b/tests/testthat/_snaps/correlationbayesian/prior-and-posterior-subplot-4.svg index 371d2f58..859a5c68 100644 --- a/tests/testthat/_snaps/correlationbayesian/prior-and-posterior-subplot-4.svg +++ b/tests/testthat/_snaps/correlationbayesian/prior-and-posterior-subplot-4.svg @@ -71,14 +71,14 @@ ρ Density - - - - - - -Posterior -Prior + + + + + + +Posterior +Prior prior-and-posterior-subplot-4 diff --git a/tests/testthat/_snaps/correlationbayesian/sequential-analysis-subplot-2.svg b/tests/testthat/_snaps/correlationbayesian/sequential-analysis-subplot-2.svg index c1bf109a..19708e6e 100644 --- a/tests/testthat/_snaps/correlationbayesian/sequential-analysis-subplot-2.svg +++ b/tests/testthat/_snaps/correlationbayesian/sequential-analysis-subplot-2.svg @@ -36,8 +36,8 @@ - - + + data | H0 data | H1 diff --git a/tests/testthat/_snaps/generalizedlinearmodel/devresvsxplot.svg b/tests/testthat/_snaps/generalizedlinearmodel/devresvsxplot.svg index 4456ffec..367ec0b9 100644 --- a/tests/testthat/_snaps/generalizedlinearmodel/devresvsxplot.svg +++ b/tests/testthat/_snaps/generalizedlinearmodel/devresvsxplot.svg @@ -18,7 +18,7 @@ - + diff --git a/tests/testthat/_snaps/generalizedlinearmodel/devresvsyplot.svg b/tests/testthat/_snaps/generalizedlinearmodel/devresvsyplot.svg index 92babcb1..cd9fe046 100644 --- a/tests/testthat/_snaps/generalizedlinearmodel/devresvsyplot.svg +++ b/tests/testthat/_snaps/generalizedlinearmodel/devresvsyplot.svg @@ -18,7 +18,7 @@ - + diff --git a/tests/testthat/_snaps/generalizedlinearmodel/prsresvsxplot.svg b/tests/testthat/_snaps/generalizedlinearmodel/prsresvsxplot.svg index 0db1e7bb..e1537e01 100644 --- a/tests/testthat/_snaps/generalizedlinearmodel/prsresvsxplot.svg +++ b/tests/testthat/_snaps/generalizedlinearmodel/prsresvsxplot.svg @@ -18,7 +18,7 @@ - + diff --git a/tests/testthat/_snaps/generalizedlinearmodel/prsresvsyplot.svg b/tests/testthat/_snaps/generalizedlinearmodel/prsresvsyplot.svg index 618f6520..07fc38cf 100644 --- a/tests/testthat/_snaps/generalizedlinearmodel/prsresvsyplot.svg +++ b/tests/testthat/_snaps/generalizedlinearmodel/prsresvsyplot.svg @@ -18,7 +18,7 @@ - + diff --git a/tests/testthat/_snaps/generalizedlinearmodel/quanresvsxplot.svg b/tests/testthat/_snaps/generalizedlinearmodel/quanresvsxplot.svg index fe806b5f..dd6cedf7 100644 --- a/tests/testthat/_snaps/generalizedlinearmodel/quanresvsxplot.svg +++ b/tests/testthat/_snaps/generalizedlinearmodel/quanresvsxplot.svg @@ -18,7 +18,7 @@ - + diff --git a/tests/testthat/_snaps/generalizedlinearmodel/quanresvsyplot.svg b/tests/testthat/_snaps/generalizedlinearmodel/quanresvsyplot.svg index 0ddbe44c..5904213b 100644 --- a/tests/testthat/_snaps/generalizedlinearmodel/quanresvsyplot.svg +++ b/tests/testthat/_snaps/generalizedlinearmodel/quanresvsyplot.svg @@ -18,7 +18,7 @@ - + diff --git a/tests/testthat/_snaps/regressionlinear/field-residuals-predicted.svg b/tests/testthat/_snaps/regressionlinear/field-residuals-predicted.svg index c28dd208..2d001c88 100644 --- a/tests/testthat/_snaps/regressionlinear/field-residuals-predicted.svg +++ b/tests/testthat/_snaps/regressionlinear/field-residuals-predicted.svg @@ -18,7 +18,7 @@ - + @@ -250,13 +250,13 @@ - - - - - - - + + + + + + + -3 -2 -1 @@ -283,8 +283,8 @@ 350 Predicted Values Residuals -Standardized Residuals - +Standardized Residuals + field-residuals-predicted diff --git a/tests/testthat/_snaps/regressionlinear/residuals-covariates.svg b/tests/testthat/_snaps/regressionlinear/residuals-covariates.svg index d93e54de..f2781ef9 100644 --- a/tests/testthat/_snaps/regressionlinear/residuals-covariates.svg +++ b/tests/testthat/_snaps/regressionlinear/residuals-covariates.svg @@ -152,12 +152,12 @@ - - - - - - + + + + + + -2 -1 0 @@ -179,8 +179,8 @@ 10 contGamma Residuals -Standardized Residuals - +Standardized Residuals + residuals-covariates diff --git a/tests/testthat/_snaps/regressionlinear/residuals-dependent.svg b/tests/testthat/_snaps/regressionlinear/residuals-dependent.svg index d7933371..1f0d2fd2 100644 --- a/tests/testthat/_snaps/regressionlinear/residuals-dependent.svg +++ b/tests/testthat/_snaps/regressionlinear/residuals-dependent.svg @@ -152,12 +152,12 @@ - - - - - - + + + + + + -2 -1 0 @@ -177,8 +177,8 @@ 4 contNormal Residuals -Standardized Residuals - +Standardized Residuals + residuals-dependent diff --git a/tests/testthat/_snaps/regressionlinear/residuals-predicted.svg b/tests/testthat/_snaps/regressionlinear/residuals-predicted.svg index cbbf264f..50635215 100644 --- a/tests/testthat/_snaps/regressionlinear/residuals-predicted.svg +++ b/tests/testthat/_snaps/regressionlinear/residuals-predicted.svg @@ -152,12 +152,12 @@ - - - - - - + + + + + + -2 -1 0 @@ -177,8 +177,8 @@ -0.1 Predicted Values Residuals -Standardized Residuals - +Standardized Residuals + residuals-predicted diff --git a/tests/testthat/_snaps/regressionlinear/socialanxiety-residuals-vs-predicted.svg b/tests/testthat/_snaps/regressionlinear/socialanxiety-residuals-vs-predicted.svg index 2c6cecf1..22ddb181 100644 --- a/tests/testthat/_snaps/regressionlinear/socialanxiety-residuals-vs-predicted.svg +++ b/tests/testthat/_snaps/regressionlinear/socialanxiety-residuals-vs-predicted.svg @@ -18,7 +18,7 @@ - + @@ -178,13 +178,13 @@ - - - - - - - + + + + + + + -3 -2 -1 @@ -211,8 +211,8 @@ 100 Predicted Values Residuals -Standardized Residuals - +Standardized Residuals + socialAnxiety-residuals-vs.-predicted diff --git a/tests/testthat/_snaps/regressionlinearbayesian/inclusionprobabilities.svg b/tests/testthat/_snaps/regressionlinearbayesian/inclusionprobabilities.svg index c374c058..b1cc9f49 100644 --- a/tests/testthat/_snaps/regressionlinearbayesian/inclusionprobabilities.svg +++ b/tests/testthat/_snaps/regressionlinearbayesian/inclusionprobabilities.svg @@ -21,21 +21,21 @@ - - + + - - - - - - - - - + + + + + + + + + - + @@ -45,25 +45,25 @@ - - - - - - -0.000 -0.125 -0.250 -0.375 -0.500 -Marginal Inclusion Probability - - - - -Prior -Inclusion -Probabilities -inclusionProbabilities + + + + + + +0.000 +0.125 +0.250 +0.375 +0.500 +Marginal Inclusion Probability + + + + +Prior +Inclusion +Probabilities +inclusionProbabilities diff --git a/tests/testthat/_snaps/regressionlogisticbayesian/posterior-coefficients-with-95-credible-interval.svg b/tests/testthat/_snaps/regressionlogisticbayesian/posterior-coefficients-with-95-credible-interval.svg index 974ffea6..8d435f6d 100644 --- a/tests/testthat/_snaps/regressionlogisticbayesian/posterior-coefficients-with-95-credible-interval.svg +++ b/tests/testthat/_snaps/regressionlogisticbayesian/posterior-coefficients-with-95-credible-interval.svg @@ -18,7 +18,7 @@ - +