Skip to content

Commit 8d7038f

Browse files
authored
Test on latest GitHub versions (#850)
1 parent 466793b commit 8d7038f

File tree

8 files changed

+42
-31
lines changed

8 files changed

+42
-31
lines changed

.Rbuildignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,5 @@
2626
\.code-workspace$
2727
\.lintr$
2828
^CRAN-SUBMISSION$
29+
^[.]?air[.]toml$
30+
^\.vscode$

DESCRIPTION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,3 +168,4 @@ Config/Needs/website:
168168
r-lib/pkgdown,
169169
easystats/easystatstemplate
170170
Config/rcmdcheck/ignore-inconsequential-notes: true
171+
Remotes: easystats/insight, easystats/bayestestR, easystats/parameters

air.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[format]
2+
line-width = 90
3+
indent-width = 2
4+
indent-style = "space"
5+
line-ending = "auto"
6+
persistent-line-breaks = true
7+
exclude = []
8+
default-exclude = true

tests/testthat/_snaps/check_collinearity.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
88
Low Correlation
99
10-
Term VIF adj. VIF Tolerance
11-
N 1.00 1.00 1.00
12-
P 1.00 1.00 1.00
13-
K 1.00 1.00 1.00
10+
Term VIF adj. VIF Tolerance
11+
N 1 1 1
12+
P 1 1 1
13+
K 1 1 1
1414

1515
# check_collinearity, hurdle/zi models w/o zi-formula
1616

tests/testthat/_snaps/mclogit.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
Output
66
# Indices of model performance
77
8-
AIC | BIC | Nagelkerke's R2 | RMSE | Sigma
9-
-------------------------------------------------
10-
38.823 | 47.618 | 0.836 | 0.298 | 1.016
8+
AIC | BIC | Nagelkerke's R2 | RMSE | Sigma
9+
---------------------------------------------
10+
38.8 | 47.6 | 0.836 | 0.298 | 1.016
1111

1212
---
1313

@@ -16,7 +16,7 @@
1616
Output
1717
# Indices of model performance
1818
19-
AIC | BIC | Nagelkerke's R2 | RMSE | Sigma
20-
-------------------------------------------------
21-
13.228 | 24.424 | 0.998 | 0.009 | 0.068
19+
AIC | BIC | Nagelkerke's R2 | RMSE | Sigma
20+
---------------------------------------------
21+
13.2 | 24.4 | 0.998 | 0.009 | 0.068
2222

tests/testthat/_snaps/model_performance.psych.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@
8989
Output
9090
# Indices of model performance
9191
92-
Chi2(167) | p (Chi2) | RMSA | RMSA_corrected | TLI | RMSEA | RMSEA 90% CI | BIC
93-
------------------------------------------------------------------------------------------
94-
267.210 | < .001 | 0.013 | 0.015 | 0.991 | 0.015 | [0.012, 0.019] | -1044.082
92+
Chi2(167) | p (Chi2) | RMSA | RMSA_corrected | TLI | RMSEA | RMSEA 90% CI | BIC
93+
----------------------------------------------------------------------------------------
94+
267.210 | < .001 | 0.013 | 0.015 | 0.991 | 0.015 | [0.012, 0.019] | -1044.1
9595

9696
---
9797

@@ -111,10 +111,10 @@
111111
Output
112112
# Indices of model performance
113113
114-
Model | Chi2 | df | p (Chi2) | RMSA | RMSA_corrected | TLI | RMSEA | RMSEA 90% CI | BIC | R2 | Correlation
115-
-------------------------------------------------------------------------------------------------------------------------------------
116-
3-factor solution | 31.796 | 25 | 0.164 | 0.015 | 0.023 | | 0.087 | [0.000, 0.181] | -54.848 | |
117-
g-model | 264.781 | 44 | < .001 | 0.393 | 0.440 | 0.195 | 0.395 | [0.356, 0.450] | 112.289 | 0.761 | 0.873
114+
Model | Chi2 | df | p (Chi2) | RMSA | RMSA_corrected | TLI | RMSEA | RMSEA 90% CI | BIC | R2 | Correlation
115+
-----------------------------------------------------------------------------------------------------------------------------------
116+
3-factor solution | 31.796 | 25 | 0.164 | 0.015 | 0.023 | | 0.087 | [0.000, 0.181] | -54.8 | |
117+
g-model | 264.781 | 44 | < .001 | 0.393 | 0.440 | 0.195 | 0.395 | [0.356, 0.450] | 112.3 | 0.761 | 0.873
118118
119119
Compare the model fit of the 3-factor solution with the g-only model.
120120
If the g-model has smaller RMSA and RMSEA then your items are more
@@ -129,10 +129,10 @@
129129
Output
130130
# Indices of model performance
131131
132-
Model | Chi2 | df | p (Chi2) | RMSA | RMSA_corrected | TLI | RMSEA | RMSEA 90% CI | BIC | R2 | Correlation
133-
-------------------------------------------------------------------------------------------------------------------------------------
134-
3-factor solution | 31.796 | 25 | 0.164 | 0.015 | 0.023 | | 0.087 | [0.000, 0.181] | -54.848 | |
135-
g-model | 264.781 | 44 | < .001 | 0.393 | 0.440 | 0.195 | 0.395 | [0.356, 0.450] | 112.289 | 0.761 | 0.873
132+
Model | Chi2 | df | p (Chi2) | RMSA | RMSA_corrected | TLI | RMSEA | RMSEA 90% CI | BIC | R2 | Correlation
133+
-----------------------------------------------------------------------------------------------------------------------------------
134+
3-factor solution | 31.796 | 25 | 0.164 | 0.015 | 0.023 | | 0.087 | [0.000, 0.181] | -54.8 | |
135+
g-model | 264.781 | 44 | < .001 | 0.393 | 0.440 | 0.195 | 0.395 | [0.356, 0.450] | 112.3 | 0.761 | 0.873
136136
137137
Compare the model fit of the 3-factor solution with the g-only model.
138138
If the g-model has smaller RMSA and RMSEA then your items are more

tests/testthat/_snaps/nestedLogit.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
Output
66
# Indices of model performance
77
8-
Response | AIC | BIC | RMSE | Sigma | R2
9-
----------------------------------------------------
10-
work | 325.733 | 336.449 | 0.456 | 1.000 | 0.138
11-
full | 110.495 | 118.541 | 0.398 | 1.000 | 0.333
8+
Response | AIC | BIC | RMSE | Sigma | R2
9+
------------------------------------------------
10+
work | 325.7 | 336.4 | 0.456 | 1 | 0.138
11+
full | 110.5 | 118.5 | 0.398 | 1 | 0.333
1212

tests/testthat/_snaps/pkg-ivreg.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
Output
66
# Indices of model performance
77
8-
AIC | BIC | R2 | R2 (adj.) | RMSE | Sigma | Wu & Hausman
9-
--------------------------------------------------------------------
10-
182.692 | 191.486 | 0.655 | 0.604 | 3.484 | 3.793 | 13.869
8+
AIC | BIC | R2 | R2 (adj.) | RMSE | Sigma | Wu & Hausman
9+
----------------------------------------------------------------
10+
182.7 | 191.5 | 0.655 | 0.604 | 3.484 | 3.793 | 13.869
1111
12-
AIC | p (Wu_Hausman) | Weak instruments | p (weak_instruments)
13-
------------------------------------------------------------------
14-
182.692 | < .001 | 19.958 | < .001
12+
AIC | p (Wu_Hausman) | Weak instruments | p (weak_instruments)
13+
----------------------------------------------------------------
14+
182.7 | < .001 | 19.958 | < .001
1515

0 commit comments

Comments
 (0)