From eafac281733d8c0ff630c1f0be6b0bc82ad1f93a Mon Sep 17 00:00:00 2001 From: harric17 Date: Thu, 11 Jul 2024 01:39:26 +0200 Subject: [PATCH] non dplyr pipe --- R/utils.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/utils.R b/R/utils.R index dcaaa2d..24cff24 100644 --- a/R/utils.R +++ b/R/utils.R @@ -517,13 +517,13 @@ report_to_xlsx = function(res,outfile,extrastring=""){ #' #' # Only include selected checks #' fileName <- file.path(tempdir(), "run_some_checks.R") -#' mymetads = sdtmchecksmeta %>% +#' mymetads = sdtmchecksmeta |> #' dplyr::filter(category == "ALL" & priority == "High") #' create_R_script(metads = mymetads, file = fileName) #' #' # Roche specific function calls #' fileName <- file.path(tempdir(), "run_all_checks_roche.R") -#' mymetads = sdtmchecksmeta %>% +#' mymetads = sdtmchecksmeta |> #' dplyr::mutate(fxn_in=fxn_in_roche) #' create_R_script(metads = mymetads, file = fileName) #'