Skip to content

Commit 59e18dd

Browse files
committed
add a version requirement for prodlim
1 parent 2fa853e commit 59e18dd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

R/censoring_probs.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ predict.censoring_model <- function(object, ...) {
6060

6161
#' @export
6262
predict.censoring_model_reverse_km <- function(object, new_data = NULL, time, as_vector = FALSE, ...) {
63-
rlang::check_installed("prodlim")
63+
rlang::check_installed("prodlim", version = "2022.10.13")
64+
rlang::check_installed("censored", version = "0.1.1.9002")
6465

6566
res <- rep(NA_real_, length(time))
6667
if (length(time) == 0) {

0 commit comments

Comments
 (0)