Skip to content

Commit 5e58b9d

Browse files
committed
Comment about when engine args can be updated (only if they are in the original model spec)
1 parent 82e68cf commit 5e58b9d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

R/misc.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ update_engine_parameters <- function(eng_args, ...) {
288288

289289
dots <- enquos(...)
290290

291+
## only update from dots when there are eng args in original model spec
291292
if (is_null(eng_args)) {
292293
ret <- NULL
293294
} else {

0 commit comments

Comments
 (0)