From 9e97389edbdf6c155aa0b399df691947102ea594 Mon Sep 17 00:00:00 2001 From: ahasoplakus Date: Mon, 13 Jan 2025 07:23:48 +0000 Subject: [PATCH] Update news --- NEWS.md | 6 ++++++ R/derive_vars_crit.R | 2 +- inst/templates/ad_adis.R | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/NEWS.md b/NEWS.md index ce417987..81b7e021 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,9 @@ +# admiralvaccine 0.4.0 + +## Breaking Changes + +- Function `derive_vars_crit()` has been deprecated. Please use `admiral::derive_vars_crit_flag()` instead. (#253) + # admiralvaccine 0.3.0 ## Updates related to CBER requirements for eDiary data diff --git a/R/derive_vars_crit.R b/R/derive_vars_crit.R index 6da98052..c8997fb8 100644 --- a/R/derive_vars_crit.R +++ b/R/derive_vars_crit.R @@ -49,7 +49,7 @@ #' @family deprecated #' derive_vars_crit <- function(dataset, prefix, crit_label, condition, criterion) { - deprecate_warn("0.3.0", "derive_vars_crit()", "admiral::derive_vars_crit_flag()") + deprecate_warn("0.4.0", "derive_vars_crit()", "admiral::derive_vars_crit_flag()") admiral::derive_vars_crit_flag( dataset = dataset, crit_nr = 1, diff --git a/inst/templates/ad_adis.R b/inst/templates/ad_adis.R index a2ab6d45..23596434 100644 --- a/inst/templates/ad_adis.R +++ b/inst/templates/ad_adis.R @@ -324,7 +324,7 @@ adis <- restrict_derivation(adis, # STEP 9 Derivation of CRITyFL and CRITyFN ---- adis <- restrict_derivation( dataset = adis, - derivation = admiral::derive_vars_crit_flag, + derivation = derive_vars_crit_flag, args = params( crit_nr = 1, condition = AVAL >= ISLLOQ,