Skip to content

Commit

Permalink
fixed codegen hardcoded hmeqTrain
Browse files Browse the repository at this point in the history
  • Loading branch information
pinduzera committed Nov 14, 2024
1 parent b188d1b commit deed89b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/codegen.R
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ codegen.workflow <- function(tm_workflow, path = "scoreCode.R", rds = "model.rds

if (!is.null(inputs)) {

if (!is.vector(names(hmeqTrain))) stop("inputs must be a vector names")
if (!is.vector(inputs)) stop("inputs must be a vector names")

predictors <- inputs

Expand Down

0 comments on commit deed89b

Please sign in to comment.