diff --git a/R/derive_var_extreme_date.R b/R/derive_var_extreme_date.R index 28a348a495..da58ac546b 100644 --- a/R/derive_var_extreme_date.R +++ b/R/derive_var_extreme_date.R @@ -649,7 +649,6 @@ date_source <- function(dataset_name, filter = NULL, date, set_values_to = NULL) { - deprecate_inform( when = "1.2.0", what = "date_source()", diff --git a/R/user_helpers.R b/R/user_helpers.R index b91005d8b1..8750aa3bda 100644 --- a/R/user_helpers.R +++ b/R/user_helpers.R @@ -60,11 +60,11 @@ use_ad_template <- function(adam_name = "adsl", cli_inform(c(v = "File {.file {save_path}} has been created successfully")) } - if (open) { #nocov - file.edit(save_path) #nocov + if (open) { # nocov + file.edit(save_path) # nocov } - invisible(TRUE) #nocov + invisible(TRUE) # nocov } #' List All Available ADaM Templates diff --git a/tests/testthat/test-get_summary_records.R b/tests/testthat/test-get_summary_records.R index ef16585064..78c4d2ba04 100644 --- a/tests/testthat/test-get_summary_records.R +++ b/tests/testthat/test-get_summary_records.R @@ -23,15 +23,15 @@ test_that("get_summary_records Test 1: Summarize average of triplicate ECG inter ) expect_snapshot( - df <- input %>% - get_summary_records( - by_vars = exprs(USUBJID, PARAM, AVISIT), - set_values_to = exprs( - AVAL = mean(AVAL, na.rm = TRUE), - DTYPE = "AVERAGE" - ) - ) %>% - dplyr::mutate(AVAL = round(AVAL)) + df <- input %>% + get_summary_records( + by_vars = exprs(USUBJID, PARAM, AVISIT), + set_values_to = exprs( + AVAL = mean(AVAL, na.rm = TRUE), + DTYPE = "AVERAGE" + ) + ) %>% + dplyr::mutate(AVAL = round(AVAL)) ) })