Skip to content

Commit

Permalink
Prepare for CRAN (#405)
Browse files Browse the repository at this point in the history
* update snapshots

* update snapshots attempt

---------

Co-authored-by: Indrajeet Patil <[email protected]>
  • Loading branch information
rempsyc and IndrajeetPatil authored Dec 3, 2023
1 parent 7e20c69 commit 652cebc
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 6 deletions.
8 changes: 4 additions & 4 deletions tests/testthat/_snaps/windows/report.data.frame.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,12 @@
- name: 87 entries, such as Ackbar (n = 1); Adi Gallia (n = 1); Anakin
Skywalker (n = 1) and 84 others (0 missing)
- height: n = 87, Mean = 174.36, SD = 34.77, Median = , MAD = 19.27, range:
[66, 264], Skewness = -1.06, Kurtosis = 2.10, 6 missing
- height: n = 87, Mean = 174.60, SD = 34.77, Median = , MAD = 17.79, range:
[66, 264], Skewness = -1.09, Kurtosis = 2.13, 6 missing
- mass: n = 87, Mean = 97.31, SD = 169.46, Median = , MAD = 16.31, range: [15,
1358], Skewness = 7.34, Kurtosis = 55.42, 28 missing
- hair_color: 12 entries, such as none (n = 37); brown (n = 18); black (n = 13)
and 9 others (5 missing)
- hair_color: 11 entries, such as none (n = 38); brown (n = 18); black (n = 13)
and 8 others (5 missing)
- skin_color: 31 entries, such as fair (n = 17); light (n = 11); dark (n = 6)
and 28 others (0 missing)
- eye_color: 15 entries, such as brown (n = 21); blue (n = 19); yellow (n = 11)
Expand Down
8 changes: 8 additions & 0 deletions tests/testthat/_snaps/windows/report.htest-t-test.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@

Code
report(t.test(x, y, paired = TRUE))
Message
For paired samples, 'repeated_measures_d()' provides more options.
Output
Effect sizes were labelled following Cohen's (1988) recommendations.
Expand All @@ -86,6 +88,8 @@

Code
report(t.test(x, y, paired = TRUE, alternative = "l"))
Message
For paired samples, 'repeated_measures_d()' provides more options.
Output
Effect sizes were labelled following Cohen's (1988) recommendations.
Expand All @@ -98,6 +102,8 @@

Code
report(t.test(x, y, paired = TRUE, alternative = "g"))
Message
For paired samples, 'repeated_measures_d()' provides more options.
Output
Effect sizes were labelled following Cohen's (1988) recommendations.
Expand All @@ -110,6 +116,8 @@

Code
report(t.test(sleep2$extra.1, sleep2$extra.2, paired = TRUE))
Message
For paired samples, 'repeated_measures_d()' provides more options.
Output
Effect sizes were labelled following Cohen's (1988) recommendations.
Expand Down
10 changes: 8 additions & 2 deletions tests/testthat/_snaps/windows/report.survreg.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,16 @@
report(mod_survreg)
Output
Can't calculate log-loss.
Can't calculate proper scoring rules for models without integer response values.
Message
Can't calculate proper scoring rules for models without integer response
values.
Output
`performance_pcp()` only works for models with binary response values.
Can't calculate log-loss.
Can't calculate proper scoring rules for models without integer response values.
Message
Can't calculate proper scoring rules for models without integer response
values.
Output
`performance_pcp()` only works for models with binary response values.
We fitted a logistic model to predict survival::Surv(futime, fustat) with
ecog.ps and rx (formula: survival::Surv(futime, fustat) ~ ecog.ps + rx). The
Expand Down

0 comments on commit 652cebc

Please sign in to comment.