Skip to content

Commit d5455d4

Browse files
committed
fix check_dots_empty definite cases
1 parent 378577a commit d5455d4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

R/arx_forecaster.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ arx_args_list <- function(
222222
nafill_buffer = Inf,
223223
...) {
224224
# error checking if lags is a list
225+
rlang::check_dots_empty()
225226
.lags <- lags
226227
if (is.list(lags)) lags <- unlist(lags)
227228

R/layer_predict.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
layer_predict <-
4444
function(frosting, type = NULL, opts = list(), ...,
4545
id = rand_id("predict_default")) {
46+
rlang::check_dots_empty()
4647
arg_is_chr_scalar(id)
4748
arg_is_chr_scalar(type, allow_null = TRUE)
4849
add_layer(

0 commit comments

Comments
 (0)