reverting and recovering from renv corruption

This commit is contained in:
Andreas Gammelgaard Damsbo 2024-12-19 21:21:29 +01:00
commit 2ad36d6dde
No known key found for this signature in database
12 changed files with 78 additions and 128 deletions

View file

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