Skip to content

Commit 9eca36f

Browse files
authored
Merge pull request #541 from stan-dev/melff-master
Avoid spurious test failure due to wording of warning message.
2 parents a4096d0 + f02a3d4 commit 9eca36f

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Package: projpred
22
Encoding: UTF-8
33
Title: Projection Predictive Feature Selection
4-
Version: 2.9.1.9000
5-
Date: 2025-10-29
4+
Version: 2.9.1.9001
5+
Date: 2025-11-02
66
Authors@R: c(person("Juho", "Piironen", role = c("aut"),
77
email = "[email protected]"),
88
person("Markus", "Paasiniemi", role = "aut"),

tests/testthat/test_proj_predfun.R

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -409,13 +409,6 @@ test_that(paste(
409409
), {
410410
### Fit with mclogit::mblogit() -------------------------------------------
411411

412-
warn_expected <- if (packageVersion("mclogit") <= "0.8.7.3") {
413-
"variable 'prior' is absent, its contrast will be ignored"
414-
} else if (packageVersion("mclogit") >= "0.9.6") {
415-
"Inner iterations did not coverge"
416-
} else {
417-
NA
418-
}
419412
expect_warning(
420413
out_capt <- capture.output(
421414
mfit <- mclogit::mblogit(
@@ -426,7 +419,7 @@ test_that(paste(
426419
y = FALSE
427420
)
428421
),
429-
warn_expected
422+
NULL
430423
)
431424
expect_identical(tail(out_capt, 1), "converged")
432425

0 commit comments

Comments
 (0)