Skip to content

Commit

Permalink
chore: #2595 styler - looking all fancy and dapper
Browse files Browse the repository at this point in the history
  • Loading branch information
bms63 committed Dec 23, 2024
1 parent 6da51d7 commit 3195e6d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
1 change: 0 additions & 1 deletion R/derive_var_extreme_date.R
Original file line number Diff line number Diff line change
Expand Up @@ -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()",
Expand Down
6 changes: 3 additions & 3 deletions R/user_helpers.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
18 changes: 9 additions & 9 deletions tests/testthat/test-get_summary_records.R
Original file line number Diff line number Diff line change
Expand Up @@ -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))
)
})

Expand Down

0 comments on commit 3195e6d

Please sign in to comment.