Skip to content

Commit

Permalink
tests: NAs in summaries should be NA_real_s now
Browse files Browse the repository at this point in the history
  • Loading branch information
fweber144 committed Nov 17, 2024
1 parent fbabed5 commit 8666643
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/testthat/helpers/testers.R
Original file line number Diff line number Diff line change
Expand Up @@ -2734,11 +2734,7 @@ smmry_ref_tester <- function(
is_lat_kfold <- latent_expected && !resp_oscale_expected &&
identical(cv_method_expected, "kfold")

if (is_lat_kfold) {
expect_true(is.vector(smmry_ref, "logical"), info = info_str)
} else {
expect_true(is.vector(smmry_ref, "numeric"), info = info_str)
}
expect_true(is.vector(smmry_ref, "numeric"), info = info_str)
smmry_nms <- character()
stats_mean_name <- stats_expected
smmry_nms <- c(smmry_nms,
Expand Down

0 comments on commit 8666643

Please sign in to comment.