mirror of
https://github.com/agdamsbo/FreesearchR.git
synced 2026-06-19 04:27:30 +02:00
naming and dealing with a dependency issue. ready for first release
This commit is contained in:
parent
10d34dd3d6
commit
a01f7157b5
30 changed files with 664 additions and 1026 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue