Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Apr 25, 2024
1 parent 8d9d366 commit 64dd6ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/get_marginalmeans.R
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
data <- insight::get_data(model)

Check warning on line 70 in R/get_marginalmeans.R

View workflow job for this annotation

GitHub Actions / lint-changed-files / lint-changed-files

file=R/get_marginalmeans.R,line=70,col=3,[object_overwrite_linter] 'data' is an exported object from package 'utils'. Avoid re-using such symbols.

# Guess arguments ('at' and 'fixed')
if (!is.null(at) && length(at) == 1 && at == "auto") {
if (identical(at, "auto")) {
# Find categorical predictors
at <- predictors[!vapply(data[predictors], is.numeric, logical(1))]
if (!length(at) || all(is.na(at))) {
Expand Down

0 comments on commit 64dd6ee

Please sign in to comment.