Skip to content

Commit dcd0515

Browse files
committed
pass third arg to func interface tests
1 parent 0283d6a commit dcd0515

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/testthat/test-epix_slide.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ test_that("epix_slide works as intended", {
4444
# function interface
4545
xx4 <- xx %>%
4646
group_by(.data$geo_value) %>%
47-
epix_slide(f = function(x, g) {
47+
epix_slide(f = function(x, gk, rtv) {
4848
tibble::tibble(sum_binary = sum(x$binary))
4949
}, before = 2, names_sep = NULL)
5050

@@ -500,7 +500,7 @@ test_that("epix_slide with all_versions option works as intended", {
500500
test_that("epix_slide works with 0-row computation outputs", {
501501
epix_slide_empty = function(ea, ...) {
502502
ea %>%
503-
epix_slide(before = 5L, ..., function(x, g) {
503+
epix_slide(before = 5L, ..., function(x, gk, rtv) {
504504
tibble::tibble()
505505
})
506506
}

0 commit comments

Comments
 (0)