Skip to content

Commit

Permalink
Fix failing checks due to changes in forthcoming datawizard
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Oct 4, 2024
1 parent 5e7b0f2 commit 4e936f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: correlation
Title: Methods for Correlation Analysis
Version: 0.8.5.1
Version: 0.8.5.2
Authors@R:
c(person(given = "Dominique",
family = "Makowski",
Expand Down Expand Up @@ -95,3 +95,4 @@ Config/Needs/website:
rstudio/bslib,
r-lib/pkgdown,
easystats/easystatstemplate
Remotes: easystats/datawizard
2 changes: 1 addition & 1 deletion R/utils_clean_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.clean_data <- function(data, include_factors = TRUE, multilevel = FALSE) {
if (!multilevel) {
if (include_factors) {
data <- datawizard::to_numeric(data)
data <- datawizard::to_numeric(data, dummy_factors = TRUE)
} else {
data <- data[sapply(data, is.numeric)]
}
Expand Down

0 comments on commit 4e936f2

Please sign in to comment.