naming and dealing with a dependency issue. ready for first release

This commit is contained in:
Andreas Gammelgaard Damsbo 2024-12-19 15:26:23 +01:00
commit a01f7157b5
No known key found for this signature in database
30 changed files with 664 additions and 1026 deletions

View file

@ -10,6 +10,7 @@
#' @param ... ignored for now
#'
#' @importFrom stats as.formula
#' @importFrom REDCapCAST as_factor
#'
#' @return object of standard class for fun
#' @export
@ -66,7 +67,7 @@ regression_model <- function(data,
data <- data |>
purrr::map(\(.x){
if (is.character(.x)) {
suppressWarnings(REDCapCAST::as_factor(.x))
suppressWarnings(as_factor(.x))
} else {
.x
}