From 27c1af465cee8d6943f24e3f9179c689651b3ed2 Mon Sep 17 00:00:00 2001 From: Ernest Guevarra Date: Thu, 4 Jul 2024 12:26:32 +0100 Subject: [PATCH] complete documentation of dependency functions --- NAMESPACE | 13 +++++++++++++ R/codeditr-package.R | 4 +++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/NAMESPACE b/NAMESPACE index cba6773..bb6f9fb 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -28,15 +28,28 @@ export(cod_structure_input) export(expand_icd10_code_range) export(get_age_values) export(list_ill_defined_icd11) +importFrom(dplyr,across) +importFrom(dplyr,all_of) +importFrom(dplyr,arrange) importFrom(dplyr,bind_rows) importFrom(dplyr,case_when) +importFrom(dplyr,contains) +importFrom(dplyr,distinct) +importFrom(dplyr,everything) +importFrom(dplyr,filter) importFrom(dplyr,mutate) +importFrom(dplyr,pull) +importFrom(dplyr,rename) importFrom(dplyr,rename_with) importFrom(dplyr,select) +importFrom(dplyr,slice) importFrom(methods,is) importFrom(rlang,.data) importFrom(stringr,str_count) importFrom(stringr,str_detect) +importFrom(stringr,str_extract) +importFrom(stringr,str_remove_all) importFrom(stringr,str_replace_all) +importFrom(stringr,str_split) importFrom(stringr,str_trim) importFrom(tibble,tibble) diff --git a/R/codeditr-package.R b/R/codeditr-package.R index 68edb2c..8cb96fb 100644 --- a/R/codeditr-package.R +++ b/R/codeditr-package.R @@ -15,8 +15,10 @@ #' @name codeditr #' @importFrom methods is #' @importFrom tibble tibble -#' @importFrom dplyr mutate select case_when bind_rows rename_with +#' @importFrom dplyr mutate select case_when bind_rows rename_with rename filter +#' pull contains all_of across arrange everything slice distinct #' @importFrom rlang .data #' @importFrom stringr str_detect str_count str_replace_all str_trim +#' str_remove_all str_count str_split str_extract #' "_PACKAGE"