Skip to content

Commit 37a3003

Browse files
committed
update tests and snapshpts
1 parent a983381 commit 37a3003

File tree

4 files changed

+27
-4
lines changed

4 files changed

+27
-4
lines changed

DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ VignetteBuilder:
8181
knitr
8282
Encoding: UTF-8
8383
Language: en-US
84-
RoxygenNote: 7.2.3.9000
84+
RoxygenNote: 7.3.1
8585
Config/testthat/edition: 3
8686
Config/Needs/website:
8787
rstudio/bslib,

man/report-package.Rd

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/testthat/_snaps/windows/report_performance.md

+24
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
Code
44
report_performance(x5)
5+
Message
6+
VSCode WebView has restricted access to local file.
7+
Opening in external browser...
8+
Browsing file:///C:/Users/DL/AppData/Local/Temp/RtmpERRA9z/file12d47a7090f_StanProgress.html
59
Output
610
The model's explanatory power is substantial (R2 = 0.62, 95% CI [0.53, 0.69],
711
adj. R2 = 0.61)
@@ -10,27 +14,43 @@
1014

1115
Code
1216
summary(report_performance(x5))
17+
Message
18+
VSCode WebView has restricted access to local file.
19+
Opening in external browser...
20+
Browsing file:///C:/Users/DL/AppData/Local/Temp/RtmpERRA9z/file12d465985229_StanProgress.html
1321
Output
1422
[1] "The model's explanatory power is substantial (R2 = 0.62, adj. R2 = 0.61)"
1523

1624
---
1725

1826
Code
1927
report_performance(x6)
28+
Message
29+
VSCode WebView has restricted access to local file.
30+
Opening in external browser...
31+
Browsing file:///C:/Users/DL/AppData/Local/Temp/RtmpERRA9z/file12d4560a39d2_StanProgress.html
2032
Output
2133
The model's explanatory power is substantial (R2 = 0.54, 95% CI [0.27, 0.77])
2234

2335
---
2436

2537
Code
2638
summary(report_performance(x6))
39+
Message
40+
VSCode WebView has restricted access to local file.
41+
Opening in external browser...
42+
Browsing file:///C:/Users/DL/AppData/Local/Temp/RtmpERRA9z/file12d452f95d46_StanProgress.html
2743
Output
2844
[1] "The model's explanatory power is substantial (R2 = 0.54)"
2945

3046
# report_performance Bayesian 2)
3147

3248
Code
3349
report_performance(x7)
50+
Message
51+
VSCode WebView has restricted access to local file.
52+
Opening in external browser...
53+
Browsing file:///C:/Users/DL/AppData/Local/Temp/RtmpERRA9z/file12d412fbc1_StanProgress.html
3454
Output
3555
The model's explanatory power is substantial (R2 = 0.83, 95% CI [0.79, 0.86],
3656
adj. R2 = 0.83) and the part related to the fixed effects alone (marginal R2)
@@ -40,6 +60,10 @@
4060

4161
Code
4262
summary(report_performance(x7))
63+
Message
64+
VSCode WebView has restricted access to local file.
65+
Opening in external browser...
66+
Browsing file:///C:/Users/DL/AppData/Local/Temp/RtmpERRA9z/file12d426713848_StanProgress.html
4367
Output
4468
[1] "The model's explanatory power is substantial (R2 = 0.83, adj. R2 = 0.83) and the part related to the fixed effects alone (marginal R2) is of 0.95"
4569

tests/testthat/_snaps/windows/report_s.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Code
44
report_s(s = 4.2)
5-
Message <simpleMessage>
5+
Message
66
If the test hypothesis (parameter = 0) and all model assumptions were
77
true, there is a 5.4% chance of observing this outcome. How weird is
88
that? It's hardly more surprising than getting 4 heads in a row with
@@ -12,7 +12,7 @@
1212

1313
Code
1414
report_s(p = 0.06)
15-
Message <simpleMessage>
15+
Message
1616
If the test hypothesis (parameter = 0) and all model assumptions were
1717
true, there is a 6% chance of observing this outcome. How weird is that?
1818
It's hardly more surprising than getting 4 heads in a row with fair coin

0 commit comments

Comments
 (0)