Skip to content

Commit f333aba

Browse files
authored
Merge pull request #347 from rorynolan/master
Avoid tibble warning.
2 parents de6e9cd + d603ee9 commit f333aba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/boost_tree_data.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ set_pred(
178178
if (is.vector(x)) {
179179
x <- tibble(v1 = 1 - x, v2 = x)
180180
} else {
181-
x <- as_tibble(x)
181+
x <- as_tibble(x, .name_repair = "minimal")
182182
}
183183
colnames(x) <- object$lvl
184184
x

0 commit comments

Comments
 (0)