diff --git a/inst/tinytest/_tinysnapshot/plot_comparisons-2effects.svg b/inst/tinytest/_tinysnapshot/plot_comparisons-2effects.svg index dbc741d1d..c14ee13cb 100644 --- a/inst/tinytest/_tinysnapshot/plot_comparisons-2effects.svg +++ b/inst/tinytest/_tinysnapshot/plot_comparisons-2effects.svg @@ -21,96 +21,96 @@ - + - - + + - - - - - - - - + + + + + + + + - - + + - - - - - - - - + + + + + + + + - - + + - - -hp + + +hp - - + + - - -wt + + +wt - - - - -2 -3 -4 -5 - - - - -2 -3 -4 -5 --5.0 --4.5 --4.0 --3.5 --3.0 - - - - - --0.10 --0.05 -0.00 -0.05 - - - - -wt -Comparison + + + + +2 +3 +4 +5 + + + + +2 +3 +4 +5 +-5.0 +-4.5 +-4.0 +-3.5 +-3.0 + + + + + +-0.10 +-0.05 +0.00 +0.05 + + + + +wt +Comparison diff --git a/inst/tinytest/_tinysnapshot/plot_comparisons-minmax_x.svg b/inst/tinytest/_tinysnapshot/plot_comparisons-minmax_x.svg index 100b0c3de..fd86764ad 100644 --- a/inst/tinytest/_tinysnapshot/plot_comparisons-minmax_x.svg +++ b/inst/tinytest/_tinysnapshot/plot_comparisons-minmax_x.svg @@ -24,34 +24,34 @@ - - + + - - - - - - - - - + + + + + + + + + --20 --10 -0 - - - - - - --SD -Mean -+SD -wt -Comparison +-20 +-10 +0 + + + + + + +-SD +Mean ++SD +wt +Comparison diff --git a/inst/tinytest/_tinysnapshot/plot_comparisons-rr_titanic.svg b/inst/tinytest/_tinysnapshot/plot_comparisons-rr_titanic.svg index 8c14b2560..b0ff65151 100644 --- a/inst/tinytest/_tinysnapshot/plot_comparisons-rr_titanic.svg +++ b/inst/tinytest/_tinysnapshot/plot_comparisons-rr_titanic.svg @@ -24,38 +24,38 @@ - - + + - - - - - - - - + + + + + + + + -0.90 -0.94 -0.98 -1.02 - - - - - - - - -0 -20 -40 -60 -Age -Adjusted Risk Ratio -P(Survived = 1 | Age + 10) / P(Survived = 1 | Age) +0.90 +0.94 +0.98 +1.02 + + + + + + + + +0 +20 +40 +60 +Age +Adjusted Risk Ratio +P(Survived = 1 | Age + 10) / P(Survived = 1 | Age) diff --git a/inst/tinytest/test-bugfix.R b/inst/tinytest/test-bugfix.R index 853ba9391..91b6642b9 100644 --- a/inst/tinytest/test-bugfix.R +++ b/inst/tinytest/test-bugfix.R @@ -71,7 +71,7 @@ p1 <- predictions(m2, type = "link") p2 <- predictions(m2, newdata = dat, type = "link") p3 <- as.data.frame(predict(m2, se.fit = TRUE, type = "link")) -exit_file("works locally") +# exit_file("works locally") expect_equal(p1$estimate, p3$fit) expect_equal(p1$std.error, p3$se.fit) expect_equal(p2$estimate, p3$fit) diff --git a/inst/tinytest/test-pkg-quantreg.R b/inst/tinytest/test-pkg-quantreg.R index 6a9633390..48740c1f9 100644 --- a/inst/tinytest/test-pkg-quantreg.R +++ b/inst/tinytest/test-pkg-quantreg.R @@ -1,5 +1,5 @@ source("helpers.R") -exit_file("Matrix") +if (ON_CI || ON_WINDOWS || ON_OSX) exit_file("local linux only") using("marginaleffects") requiet("quantreg") @@ -12,7 +12,7 @@ model <- suppressWarnings(quantreg::rq(mpg ~ hp * wt + factor(cyl), data = mtcar expect_slopes(model) mfx <- merge(tidy(slopes(model)), stata) expect_equivalent(mfx$estimate, mfx$dydxstata, tolerance = .0001) -expect_equivalent(mfx$std.error, mfx$std.errorstata, tolerance = .0001) +expect_equivalent(mfx$std.error, mfx$std.errorstata, tolerance = .001) # marginaleffects vs. emtrends diff --git a/inst/tinytest/test-pkg-rms.R b/inst/tinytest/test-pkg-rms.R index 74d17f324..0a93ac56e 100644 --- a/inst/tinytest/test-pkg-rms.R +++ b/inst/tinytest/test-pkg-rms.R @@ -1,5 +1,5 @@ source("helpers.R") -exit_file("Matrix") +if (ON_CI || ON_WINDOWS || ON_OSX) exit_file("local linux only") using("marginaleffects") requiet("polspline") diff --git a/inst/tinytest/test-pkg-robustlmm.R b/inst/tinytest/test-pkg-robustlmm.R index 4245e2c0d..cfb95346b 100644 --- a/inst/tinytest/test-pkg-robustlmm.R +++ b/inst/tinytest/test-pkg-robustlmm.R @@ -1,6 +1,5 @@ -exit_file("Matrix version breakage") - source("helpers.R") +if (ON_CI || ON_WINDOWS || ON_OSX) exit_file("local linux only") using("marginaleffects") requiet("robustlmm") diff --git a/inst/tinytest/test-plot_predictions.R b/inst/tinytest/test-plot_predictions.R index 146016064..2f807c784 100644 --- a/inst/tinytest/test-plot_predictions.R +++ b/inst/tinytest/test-plot_predictions.R @@ -1,5 +1,4 @@ source("helpers.R") -exit_file("CHECK") using("marginaleffects") if (!requiet("tinysnapshot")) exit_file("tinysnapshot") if (ON_CI || ON_WINDOWS || ON_OSX) exit_file("local linux only")