mirror of
https://github.com/agdamsbo/FreesearchR.git
synced 2026-06-19 04:27:30 +02:00
reverting and recovering from renv corruption
This commit is contained in:
parent
99ed934cae
commit
2ad36d6dde
12 changed files with 78 additions and 128 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue