Skip to content

Commit 1fab4cf

Browse files
committed
Fix another tidyselect issue
1 parent 75d0bc6 commit 1fab4cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

R/helper_functions.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ derive_req_vars <- function(dataset,
258258
alp_data <- ref_dataset |>
259259
dplyr::filter(if (!is.null(alp_choice)) .data[[lb_test_var]] == alp_choice
260260
else FALSE) |>
261-
dplyr::select(subjectid_var, arm_var, visit_var, .norm_alp = ".norm_val")
261+
dplyr::select(dplyr::all_of(c(subjectid_var, arm_var, visit_var)), .norm_alp = ".norm_val")
262262

263263
# Merge on ALP values occurring at same visit as AT values, and calculate R ratio
264264
final_dataset <- peak_xy_data |>

0 commit comments

Comments
 (0)