Skip to content

Commit 7d4d10c

Browse files
Merge branch 'main' into move-.censoring_weights_graf.workflow
2 parents 2669d70 + 326e15a commit 7d4d10c

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

NEWS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
* Fixed a bug in the integration with workflows where using a model formula with a formula preprocessor could result in a double intercept (#1033).
1616

17+
* The `predict()` method for `censoring_model_reverse_km` objects now checks that `...` are empty (#1029).
1718

1819
# parsnip 1.1.1
1920

R/survival-censoring-model.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ predict.censoring_model <- function(object, ...) {
6262

6363
#' @export
6464
predict.censoring_model_reverse_km <- function(object, new_data, time, as_vector = FALSE, ...) {
65+
rlang::check_dots_empty()
66+
6567
rlang::check_installed("prodlim", version = "2022.10.13")
6668
rlang::check_installed("censored", version = "0.1.1.9002")
6769

0 commit comments

Comments
 (0)