Skip to content

Commit

Permalink
set as.is = FALSE in type.convert() (#2764)
Browse files Browse the repository at this point in the history
  • Loading branch information
pat-s committed May 28, 2020
1 parent 57dcff5 commit abbdc62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/generateHyperParsEffect.R
Expand Up @@ -105,7 +105,7 @@ generateHyperParsEffectData = function(tune.result, include.diagnostics = FALSE,
}
for (hyp in 1:num.hypers) {
if (!is.numeric(d[, hyp])) {
d[, hyp] = type.convert(as.character(d[, hyp]))
d[, hyp] = type.convert(as.character(d[, hyp]), as.is = FALSE)
}
}
measures = tune.result$opt.path$y.names
Expand Down

0 comments on commit abbdc62

Please sign in to comment.