Skip to content

Commit 9532cf4

Browse files
authored
Update vetiver_integration.R
1 parent 27490cc commit 9532cf4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/api/R/vetiver_integration.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ handler_predict.brmsfit <- function(vetiver_model, ...) {
5858
newdata <- req$body
5959
newdata <- vetiver::vetiver_type_convert(newdata, ptype)
6060
newdata <- hardhat::scream(newdata, ptype)
61-
ret <- predict(vetiver_model$model, new_data = newdata, ndraws = 50, ...)
61+
ret <- predict(vetiver_model$model, newdata = newdata, ndraws = 50, ...)
6262

6363
list(.pred = list(
6464
list(
@@ -119,4 +119,4 @@ handler_predict.cmdstanr_container <- function(vetiver_model, ...) {
119119
)
120120
}
121121

122-
}
122+
}

0 commit comments

Comments
 (0)