Skip to content

Commit

Permalink
Update snapshots for testthat 3.2.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrajeetPatil committed Oct 16, 2023
1 parent f63d2b1 commit c673382
Show file tree
Hide file tree
Showing 13 changed files with 57 additions and 41 deletions.
6 changes: 3 additions & 3 deletions tests/testthat/_snaps/glmer.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
period [2] | -0.98 | 0.30 | [-1.57, -0.38] | -3.22 | 0.001
period [3] | -1.11 | 0.32 | [-1.75, -0.48] | -3.43 | < .001
period [4] | -1.56 | 0.42 | [-2.39, -0.73] | -3.67 | < .001
Message <simpleMessage>
Message
Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
using a Wald z-distribution approximation.
Expand All @@ -38,7 +38,7 @@
Parameter | Coefficient
----------------------------------
SD (Intercept: herd) | 0.64
Message <simpleMessage>
Message
Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
using a Wald z-distribution approximation.
Expand All @@ -62,7 +62,7 @@
Parameter | Coefficient | SE | 95% CI
--------------------------------------------------------
SD (Intercept: herd) | 0.64 | 0.18 | [0.37, 1.11]
Message <simpleMessage>
Message
Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
using a Wald z-distribution approximation.
Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/_snaps/glmmTMB-profile_CI.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
SD (Days: Subject) | 5.72 | [ 3.81, 8.59]
Cor (Intercept~Days: Subject) | 0.08 | [-0.49, 0.59]
SD (Residual) | 25.59 | [22.80, 28.72]
Message <simpleMessage>
Message
Uncertainty intervals (profile-likelihood) and p-values (two-tailed)
computed using a Wald z-distribution approximation. Uncertainty
Expand All @@ -45,7 +45,7 @@
SD (Days: Subject) | 5.72 | [ 3.81, 8.59]
Cor (Intercept~Days: Subject) | 0.08 | [-0.49, 0.59]
SD (Residual) | 25.59 | [22.80, 28.72]
Message <simpleMessage>
Message
Uncertainty intervals (profile-likelihood) and p-values (two-tailed)
computed using a Wald z-distribution approximation. Uncertainty
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/_snaps/ivreg.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
(Intercept) | 9.89 | 1.06 | [ 7.76, 12.03] | 9.35 | < .001
rprice [log] | -1.28 | 0.26 | [-1.81, -0.75] | -4.85 | < .001
rincome [log] | 0.28 | 0.24 | [-0.20, 0.76] | 1.18 | 0.246
Message <simpleMessage>
Message
Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
using a Wald t-distribution approximation.
Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/_snaps/mipo.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
(Intercept) | -92.86 | 67.62 | [-232.47, 46.75] | -1.37 | 23.87 | 0.182
disp | 0.26 | 0.40 | [ -0.57, 1.09] | 0.64 | 23.53 | 0.528
hp | 0.43 | 0.63 | [ -0.88, 1.73] | 0.67 | 24.15 | 0.507
Message <simpleMessage>
Message
Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
using a Wald distribution approximation.
Expand All @@ -35,7 +35,7 @@
(Intercept) | 30.65 | 1.43 | [27.72, 33.58] | 21.46 | 26.96 | < .001
disp | -0.03 | 7.52e-03 | [-0.05, -0.02] | -4.40 | 25.57 | < .001
hp | -0.02 | 0.01 | [-0.05, 0.01] | -1.37 | 24.82 | 0.182
Message <simpleMessage>
Message
Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
using a Wald distribution approximation.
Expand Down
16 changes: 16 additions & 0 deletions tests/testthat/_snaps/model_parameters.fixest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# model_parameters.fixest

Code
model_parameters(m1, summary = TRUE, verbose = FALSE)
Output
# Fixed Effects
Parameter | Coefficient | SE | 95% CI | t(187) | p
-----------------------------------------------------------------
time | 1.09 | 0.67 | [-0.23, 2.41] | 1.63 | 0.106
phq4 | -3.66 | 0.67 | [-4.98, -2.34] | -5.45 | < .001
Model: QoL ~ time + phq4 (564 Observations)
Residual standard deviation: 12.365 (df = 561)
r2: 0.743; ar2: 0.613; wr2: 0.180; war2: 0.175

6 changes: 3 additions & 3 deletions tests/testthat/_snaps/model_parameters.fixest_multi.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
x | 0.03 | 0.04 | [-0.15, 0.22] | 0.81 | 0.502
Petal.Length | -0.04 | 0.19 | [-0.85, 0.78] | -0.20 | 0.858
Sepal.Length | 0.37 | 0.20 | [-0.49, 1.23] | 1.86 | 0.205
Message <simpleMessage>
Message
Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
using a Wald t-distribution approximation.
Expand Down Expand Up @@ -99,7 +99,7 @@
----------------------------------------------------------------
x | 0.04 | 0.06 | [-0.22, 0.31] | 0.71 | 0.553
Petal Length | 0.30 | 0.06 | [ 0.05, 0.54] | 5.15 | 0.036
Message <simpleMessage>
Message
Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
using a Wald t-distribution approximation.
Expand Down Expand Up @@ -140,7 +140,7 @@
x | 0.01 | 0.02 | [-0.07, 0.10] | 0.74 | 0.539
Petal.Length | 0.23 | 0.08 | [-0.11, 0.58] | 2.93 | 0.099
Sepal.Length | -4.24e-03 | 0.03 | [-0.14, 0.13] | -0.13 | 0.906
Message <simpleMessage>
Message
Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
using a Wald t-distribution approximation.
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/_snaps/model_parameters.glm.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
---------------------------------------------------------------------------
(Intercept) | 245.48 | 46.72 | [173.66, 351.67] | 28.92 | < .001
u [log] | 0.55 | 0.03 | [ 0.49, 0.61] | -10.88 | < .001
Message <simpleMessage>
Message
Uncertainty intervals (profile-likelihood) and p-values (two-tailed)
computed using a Wald t-distribution approximation.
Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/_snaps/model_parameters.mclogit.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
--------------------------------------------------------------
distance | -1.44 | 0.05 | [-1.54, -1.34] | -27.07 | < .001
cost | -0.98 | 0.04 | [-1.06, -0.90] | -24.52 | < .001
Message <simpleMessage>
Message
Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
using a Wald z-distribution approximation.
Expand Down Expand Up @@ -40,7 +40,7 @@
TypeAtrium | -0.41 | 0.21 | [-0.82, 0.01] | -1.93 | 0.054
TypeTerrace | -1.41 | 0.20 | [-1.80, -1.02] | -7.06 | < .001
ContHigh | 0.48 | 0.12 | [ 0.24, 0.73] | 3.88 | < .001
Message <simpleMessage>
Message
Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
using a Wald z-distribution approximation.
Expand Down
6 changes: 3 additions & 3 deletions tests/testthat/_snaps/model_parameters.mixed.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
Parameter | Coefficient | SE | 95% CI | t(558) | p
--------------------------------------------------------------------
phq4 between | -6.28 | 0.50 | [-7.27, -5.30] | -12.53 | < .001
Message <simpleMessage>
Message
Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
using a Wald t-distribution approximation.
Expand All @@ -42,7 +42,7 @@
--------------------------------------------------------
SD (Intercept: gear) | 0.27 | 0.24 | [0.05, 1.54]
SD (Residual) | 0.59 | 0.08 | [0.46, 0.77]
Message <simpleMessage>
Message
Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
using a Wald t-distribution approximation. Uncertainty intervals for
Expand All @@ -64,7 +64,7 @@
Model: wt ~ cyl (32 Observations)
Residual standard deviation: 0.594 (df = 28)
Conditional R2: 0.628; Marginal R2: 0.550
Message <simpleMessage>
Message
Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
using a Wald t-distribution approximation.
Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/_snaps/model_parameters_ordinal.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
Parameter | Estimate | SE | 95% CI | z | p
------------------------------------------------------------
Stim [Old] | -0.04 | 0.04 | [0.47, 0.63] | 13.64 | < .001
Message <simpleMessage>
Message
Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
using a Wald z-distribution approximation.
Expand Down Expand Up @@ -55,7 +55,7 @@
Parameter | Estimate | SE | 95% CI | z | p
------------------------------------------------------------
Stim [Old] | -0.04 | 0.04 | [-0.12, 0.04] | -1.11 | 0.268
Message <simpleMessage>
Message
Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
using a Wald z-distribution approximation.
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/_snaps/pool_parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
age [60-99] | -6.71 | 3.84 | [-17.75, 4.34] | -1.75 | 3.67 | 0.162
hyp [yes] | 1.52 | 2.26 | [ -3.49, 6.54] | 0.67 | 10.26 | 0.515
chl | 0.06 | 0.03 | [ -0.01, 0.12] | 2.11 | 6.44 | 0.077
Message <simpleMessage>
Message
Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
using a Wald distribution approximation.
Expand Down
14 changes: 7 additions & 7 deletions tests/testthat/_snaps/printing-stan.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
Parameter | Mean | 95% CI | pd | Rhat | ESS
--------------------------------------------------------
sigma | 2.67 | [2.06, 3.51] | 100% | 1.000 | 2390.00
Message <simpleMessage>
Message
Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
using a MCMC distribution approximation.
Expand Down Expand Up @@ -47,7 +47,7 @@
SD (Intercept: gear) | 3.88 | [ 0.21, 10.30] | 100% | 1.010 | 424.00
SD (wt: gear) | 1.96 | [ 0.06, 5.06] | 100% | 1.385 | 9.00
Cor (Intercept~wt: gear) | -0.25 | [-0.99, 0.83] | 62.48% | 1.106 | 36.00
Message <simpleMessage>
Message
Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
using a MCMC distribution approximation.
Expand Down Expand Up @@ -77,7 +77,7 @@
SD (Intercept: Subject) | 26.63 | [15.46, 42.36] | 100% | 1.002 | 1823.00
SD (Days: Subject) | 6.58 | [ 4.12, 10.16] | 100% | 1.000 | 1228.00
Cor (Intercept~Days: Subject) | 0.09 | [-0.47, 0.67] | 60.42% | 1.003 | 899.00
Message <simpleMessage>
Message
Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
using a MCMC distribution approximation.
Expand Down Expand Up @@ -107,7 +107,7 @@
SD (Intercept: grp) | 8.22 | [ 0.44, 25.69] | 100% | 1.000 | 1604.00
SD (Intercept: grp:subgrp) | 7.41 | [ 0.44, 16.87] | 100% | 1.003 | 770.00
SD (Intercept: Subject) | 38.51 | [26.89, 55.98] | 100% | 1.003 | 1254.00
Message <simpleMessage>
Message
Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
using a MCMC distribution approximation.
Expand Down Expand Up @@ -135,7 +135,7 @@
Parameter | Mean | 95% CI | pd | Rhat | ESS
---------------------------------------------------------------------
SD (Intercept: Species) | 1.68 | [0.64, 3.64] | 100% | 1.003 | 796.00
Message <simpleMessage>
Message
Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
using a MCMC distribution approximation.
Expand Down Expand Up @@ -166,7 +166,7 @@
SD (Intercept: gear) | 3.76 | [ 0.14, 10.13] | 100% | 1.015 | 643.00
SD (wt: gear) | 1.47 | [ 0.06, 3.96] | 100% | 1.039 | 94.00
Cor (Intercept~wt: gear) | -0.38 | [-0.99, 0.82] | 76.85% | 1.003 | 854.00
Message <simpleMessage>
Message
Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
using a MCMC distribution approximation.
Expand Down Expand Up @@ -236,7 +236,7 @@
Intercept[1] | -38.42 | [-67.76, -19.66] | 100% | 1.002 | 992.00
Intercept[2] | -33.26 | [-59.09, -16.53] | 100% | 1.001 | 1039.00
mpg | -1.80 | [ -3.20, -0.90] | 100% | 1.002 | 1021.00
Message <simpleMessage>
Message
Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
using a MCMC distribution approximation.
Expand Down
28 changes: 14 additions & 14 deletions tests/testthat/_snaps/printing.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
Parameter | Coefficient | 95% CI
-------------------------------------------------
SD (Intercept: site) | 0.38 | [0.17, 0.87]
Message <simpleMessage>
Message
Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
using a Wald z-distribution approximation.
Expand Down Expand Up @@ -72,7 +72,7 @@
minedno | 0.08 | 0.05 | [0.02, 0.25] | -4.24 | < .001 | fixed | zero_inflated
(Intercept) | 1.51 | | [0.93, 2.46] | | | fixed | dispersion
SD (Intercept: site) | 0.38 | | [0.17, 0.87] | | | random | conditional
Message <simpleMessage>
Message
Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
using a Wald z-distribution approximation.
Expand All @@ -94,7 +94,7 @@
Model: Sepal.Length ~ Species * Petal.Length (150 Observations)
Residual standard deviation: 0.336 (df = 144)
R2: 0.840; adjusted R2: 0.835
Message <simpleMessage>
Message
Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
using a Wald t-distribution approximation.
Expand All @@ -119,7 +119,7 @@
gear [4] | 3.10 | 4.34 | [ -5.90, 12.10] | 0.71 | 0.482
gear [5] | 4.80 | 3.48 | [ -2.42, 12.01] | 1.38 | 0.182
drat | 2.70 | 2.03 | [ -1.52, 6.91] | 1.33 | 0.198
Message <simpleMessage>
Message
Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
using a Wald t-distribution approximation.
Expand All @@ -144,7 +144,7 @@
gear [4] 3.10 4.34 [ -5.90, 12.10] 0.71 0.482
gear [5] 4.80 3.48 [ -2.42, 12.01] 1.38 0.182
drat 2.70 2.03 [ -1.52, 6.91] 1.33 0.198
Message <simpleMessage>
Message
Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
using a Wald t-distribution approximation.
Expand All @@ -164,7 +164,7 @@
cyl [6] | -2.3057 | 2.1418 | [-6.7262, 2.1148] | -1.0765 | 0.292
cyl [8] | 0.9279 | 4.3980 | [-8.1490, 10.0049] | 0.2110 | 0.835
drat | 2.3430 | 1.9741 | [-1.7313, 6.4172] | 1.1869 | 0.247
Message <simpleMessage>
Message
Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
using a Wald t-distribution approximation.
Expand All @@ -184,7 +184,7 @@
cyl [6] | -2.3057 | 2.1418 | [-6.7, 2.1] | -1.0765 | 0.292
cyl [8] | 0.9279 | 4.3980 | [-8.1, 10.0] | 0.2110 | 0.835
drat | 2.3430 | 1.9741 | [-1.7, 6.4] | 1.1869 | 0.247
Message <simpleMessage>
Message
Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
using a Wald t-distribution approximation.
Expand All @@ -204,7 +204,7 @@
cyl [6] | -2.3057 | 2.1418 | [-6.7262, 2.1148] | -1.0765 | 0.292
cyl [8] | 0.9279 | 4.3980 | [-8.1490, 10.0049] | 0.2110 | 0.835
drat | 2.3430 | 1.9741 | [-1.7313, 6.4172] | 1.1869 | 0.247
Message <simpleMessage>
Message
Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
using a Wald t-distribution approximation.
Expand All @@ -224,7 +224,7 @@
cyl [6] | -2.3057 | 2.1418 | [-6.7, 2.1] | -1.0765 | 0.292
cyl [8] | 0.9279 | 4.3980 | [-8.1, 10.0] | 0.2110 | 0.835
drat | 2.3430 | 1.9741 | [-1.7, 6.4] | 1.1869 | 0.247
Message <simpleMessage>
Message
Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
using a Wald t-distribution approximation.
Expand All @@ -249,7 +249,7 @@
gear [4] | 3.10 | 4.34 | [ -5.90, 12.10] | 0.71 | 0.482
gear [5] | 4.80 | 3.48 | [ -2.42, 12.01] | 1.38 | 0.182
drat | 2.70 | 2.03 | [ -1.52, 6.91] | 1.33 | 0.198
Message <simpleMessage>
Message
Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
using a Wald t-distribution approximation.
Expand All @@ -270,7 +270,7 @@
drat | 2.70 (2.03)
gear [4] * vs | -2.90 (4.67)
gear [5] * vs | 2.59 (4.54)
Message <simpleMessage>
Message
Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
using a Wald t-distribution approximation.
Expand All @@ -291,7 +291,7 @@
drat | 2.70 | [ -1.52, 6.91]
gear [4] * vs | -2.90 | [-12.57, 6.78]
gear [5] * vs | 2.59 | [ -6.82, 12.00]
Message <simpleMessage>
Message
Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
using a Wald t-distribution approximation.
Expand All @@ -316,7 +316,7 @@
gear [4] | 3.10 | [ -5.90, 12.10]
gear [5] | 4.80 | [ -2.42, 12.01]
drat | 2.70 | [ -1.52, 6.91]
Message <simpleMessage>
Message
Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
using a Wald t-distribution approximation.
Expand All @@ -341,7 +341,7 @@
gear [4] 3.10 [ -5.90, 12.10]
gear [5] 4.80 [ -2.42, 12.01]
drat 2.70 [ -1.52, 6.91]
Message <simpleMessage>
Message
Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
using a Wald t-distribution approximation.
Expand Down

0 comments on commit c673382

Please sign in to comment.