chore: new docs

This commit is contained in:
Andreas Gammelgaard Damsbo 2026-01-28 22:28:18 +01:00
commit ce6bda19bb
No known key found for this signature in database
6 changed files with 14 additions and 6 deletions

View file

@ -28,11 +28,13 @@ Suggests:
rmarkdown, rmarkdown,
devtools, devtools,
roxygen2, roxygen2,
spelling spelling,
jsonlite,
testthat
License: GPL (>= 3) License: GPL (>= 3)
Encoding: UTF-8 Encoding: UTF-8
LazyData: true LazyData: true
RoxygenNote: 7.3.2 RoxygenNote: 7.3.3
URL: https://github.com/agdamsbo/REDCapCAST, https://agdamsbo.github.io/REDCapCAST/ URL: https://github.com/agdamsbo/REDCapCAST, https://agdamsbo.github.io/REDCapCAST/
BugReports: https://github.com/agdamsbo/REDCapCAST/issues BugReports: https://github.com/agdamsbo/REDCapCAST/issues
Imports: Imports:

View file

@ -6,6 +6,8 @@
* FIX: Suggested dependencies were trimmed including {styler}. * FIX: Suggested dependencies were trimmed including {styler}.
* FIX: export_redcap_instrument was updated to include default file name for the instrument zip. Ensures custom names has correct file extension.
# REDCapCAST 25.11.1 # REDCapCAST 25.11.1
* FIX: logicals exported as numeric for data upload * FIX: logicals exported as numeric for data upload

View file

@ -19,4 +19,5 @@ Trying to make up for different naming conventions.
} }
\examples{ \examples{
"Research!, ne:ws? and c;l-.ls" |> clean_redcap_name() "Research!, ne:ws? and c;l-.ls" |> clean_redcap_name()
"8_new_TEST_" |> clean_redcap_name()
} }

View file

@ -2,7 +2,7 @@
% Please edit documentation in R/export_redcap_instrument.R % Please edit documentation in R/export_redcap_instrument.R
\name{create_instrument_meta} \name{create_instrument_meta}
\alias{create_instrument_meta} \alias{create_instrument_meta}
\title{DEPRICATED Create zips file with necessary content based on data set} \title{DEPRECATED Create zips file with necessary content based on data set}
\usage{ \usage{
create_instrument_meta(data, dir = here::here(""), record.id = TRUE) create_instrument_meta(data, dir = here::here(""), record.id = TRUE)
} }
@ -20,6 +20,7 @@ Default is TRUE.}
list list
} }
\description{ \description{
Use export_redcap_instrument()
Metadata can be added by editing the data dictionary of a project in the Metadata can be added by editing the data dictionary of a project in the
initial design phase. If you want to later add new instruments, this initial design phase. If you want to later add new instruments, this
function can be used to create (an) instrument(s) to add to a project in function can be used to create (an) instrument(s) to add to a project in

View file

@ -18,5 +18,5 @@ character string of length l
Cut string to desired length Cut string to desired length
} }
\examples{ \examples{
"length" |> cut_string_length(l=3) "length" |> cut_string_length(l = 3)
} }

View file

@ -25,7 +25,9 @@ Can be used as a substitute of the base function. Main claim to fame is
easing the split around the defined delimiter, see example. easing the split around the defined delimiter, see example.
} }
\examples{ \examples{
test <- c("12 months follow-up", "3 steps", "mRS 6 weeks", test <- c(
"Counting to 231 now") "12 months follow-up", "3 steps", "mRS 6 weeks",
"Counting to 231 now"
)
strsplitx(test, "[0-9]", type = "around") strsplitx(test, "[0-9]", type = "around")
} }