From 91d41d975a24571c0e5b60f67c4ef7fb2b1c28ed Mon Sep 17 00:00:00 2001 From: Andreas Gammelgaard Damsbo Date: Wed, 20 Nov 2024 12:09:53 +0100 Subject: [PATCH] documentation --- DESCRIPTION | 4 +++- NAMESPACE | 9 +++++++++ man/REDCapCAST-package.Rd | 5 +++++ 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index d6e40a6..a1d9ad4 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -60,12 +60,14 @@ Imports: assertthat, openxlsx2, readODS, - forcats + forcats, + rlang Collate: 'REDCapCAST-package.R' 'utils.r' 'process_user_input.r' 'REDCap_split.r' + 'as_factor.R' 'doc2dd.R' 'ds2dd.R' 'ds2dd_detailed.R' diff --git a/NAMESPACE b/NAMESPACE index e96b293..2c98376 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -1,10 +1,16 @@ # Generated by roxygen2: do not edit by hand +S3method(as_factor,character) +S3method(as_factor,haven_labelled) +S3method(as_factor,labelled) +S3method(as_factor,logical) +S3method(as_factor,numeric) S3method(process_user_input,character) S3method(process_user_input,data.frame) S3method(process_user_input,default) S3method(process_user_input,response) export(REDCap_split) +export(as_factor) export(case_match_regex_list) export(char2choice) export(char2cond) @@ -17,6 +23,7 @@ export(ds2dd) export(ds2dd_detailed) export(easy_redcap) export(export_redcap_instrument) +export(fct2num) export(file_extension) export(focused_metadata) export(format_subheader) @@ -28,6 +35,7 @@ export(haven_all_levels) export(html_tag_wrap) export(is_repeated_longitudinal) export(match_fields_to_form) +export(named_levels) export(numchar2fct) export(parse_data) export(process_user_input) @@ -51,5 +59,6 @@ importFrom(keyring,key_set) importFrom(openxlsx2,read_xlsx) importFrom(purrr,reduce) importFrom(readr,parse_time) +importFrom(rlang,check_dots_used) importFrom(tidyr,pivot_wider) importFrom(tidyselect,all_of) diff --git a/man/REDCapCAST-package.Rd b/man/REDCapCAST-package.Rd index 8e92434..c30c764 100644 --- a/man/REDCapCAST-package.Rd +++ b/man/REDCapCAST-package.Rd @@ -22,5 +22,10 @@ Useful links: \author{ \strong{Maintainer}: Andreas Gammelgaard Damsbo \email{agdamsbo@clin.au.dk} (\href{https://orcid.org/0000-0002-7559-1154}{ORCID}) +Authors: +\itemize{ + \item Paul Egeler \email{paulegeler@gmail.com} (\href{https://orcid.org/0000-0001-6948-9498}{ORCID}) +} + } \keyword{internal}