Skip to content

Commit 8f258ea

Browse files
committed
Advance slice(<1-col-matrix>) to always warn
1 parent 7580bf3 commit 8f258ea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

R/slice.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,8 @@ slice_eval <- function(
442442
when = "1.1.0",
443443
what = I("Slicing with a 1-column matrix"),
444444
env = error_call,
445-
user_env = user_env
445+
user_env = user_env,
446+
always = TRUE
446447
)
447448
slice_idx <- slice_idx[, 1]
448449
}

0 commit comments

Comments
 (0)