diff --git a/R/assertions.R b/R/assertions.R index ddc0e1bc..851ee989 100644 --- a/R/assertions.R +++ b/R/assertions.R @@ -1497,16 +1497,16 @@ assert_expr_list <- function(arg, # nolint #' @export #' #' @examples +#' #' death <- list( #' dataset_name = "adsl", -#' filter = expr(DTHFL == "Y"), -#' date = expr(DTHDT), +#' date = "DTHDT", #' censor = 0 #' ) #' #' lstalv <- list( #' dataset_name = "adsl", -#' date = expr(LSTALVDT), +#' date = "LSTALVDT", #' censor = 1 #' ) #' diff --git a/man/assert_list_element.Rd b/man/assert_list_element.Rd index 6b25d9a1..9e4224b6 100644 --- a/man/assert_list_element.Rd +++ b/man/assert_list_element.Rd @@ -72,16 +72,16 @@ condition. If not, an error is issued and all elements of the list not fulfilling the condition are listed. } \examples{ + death <- list( dataset_name = "adsl", - filter = expr(DTHFL == "Y"), - date = expr(DTHDT), + date = "DTHDT", censor = 0 ) lstalv <- list( dataset_name = "adsl", - date = expr(LSTALVDT), + date = "LSTALVDT", censor = 1 )