File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 11Type: Package
22Package: parameters
33Title: Processing of Model Parameters
4- Version: 0.28.3.5
4+ Version: 0.28.3.6
55Authors@R:
66 c(person(given = "Daniel",
77 family = "Lüdecke",
Original file line number Diff line number Diff line change @@ -134,6 +134,7 @@ model_parameters.predictions <- function(
134134 verbose = verbose ,
135135 ...
136136 ))
137+ by_cols <- NULL
137138 } else {
138139 # columns we want to keep
139140 by_cols <- .keep_me_columns(model )
@@ -153,7 +154,7 @@ model_parameters.predictions <- function(
153154 # remove and reorder some columns
154155 out $ rowid <- out $ rowid_dedup <- NULL
155156 # need to remove "Type", but only if it's not a valid variable name
156- if (! " Type" %in% by_cols ) {
157+ if (! is.null( by_cols ) && ! " Type" %in% by_cols ) {
157158 out $ Type <- NULL
158159 }
159160
You can’t perform that action at this time.
0 commit comments