Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed #464 improved spacing in pretty methods. #522

Merged
merged 2 commits into from
Aug 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions R/printing.R
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ pretty.mc_cv <- function(x, ...) {
signif(1 - details$prop, 2),
") with ",
details$times,
" resamples "
" resamples"
)
if (has_strata(details)) {
res <- paste(res, "using stratification")
res <- paste(res, " using stratification")
}
res
}
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/_snaps/mc.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Code
mc_cv(warpbreaks)
Output
# Monte Carlo cross-validation (0.75/0.25) with 25 resamples
# Monte Carlo cross-validation (0.75/0.25) with 25 resamples
# A tibble: 25 x 2
splits id
<list> <chr>
Expand Down
Loading