Skip to content

Commit

Permalink
Enhance search_included for print.vselsummary().
Browse files Browse the repository at this point in the history
  • Loading branch information
fweber144 committed Apr 3, 2023
1 parent 9744266 commit 126249b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/methods.R
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,7 @@ summary.vsel <- function(
if (isTRUE(out$validate_search)) {
out$search_included <- "search included (i.e., fold-wise searches)"
} else {
out$search_included <- "search not included (i.e., a full-data search)"
out$search_included <- "search not included (i.e., a full-data search only)"
}
class(out) <- "vselsummary"

Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/helpers/testers.R
Original file line number Diff line number Diff line change
Expand Up @@ -2362,7 +2362,7 @@ smmry_tester <- function(smmry, vsel_expected, nterms_max_expected = NULL,
expect_true(
smmry$search_included %in% c(
"search included (i.e., fold-wise searches)",
"search not included (i.e., a full-data search)"
"search not included (i.e., a full-data search only)"
),
info = info_str
)
Expand Down

0 comments on commit 126249b

Please sign in to comment.