Skip to content

Commit

Permalink
Update news
Browse files Browse the repository at this point in the history
  • Loading branch information
ahasoplakus committed Jan 13, 2025
1 parent 15e74e7 commit 9e97389
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion R/derive_vars_crit.R
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion inst/templates/ad_adis.R
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9e97389

Please sign in to comment.