Skip to content

Commit 1293789

Browse files
committed
Update test snapshots
1 parent 2130265 commit 1293789

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

tests/testthat/_snaps/arrange.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
Error in `arrange()`:
1616
! Problem with the implicit `transmute()` step.
1717
x Problem while computing `..1 = y`.
18-
Caused by error:
18+
Caused by error in `mask$eval_all_mutate()`:
1919
! object 'y' not found
2020
Code
2121
(expect_error(tibble(x = 1) %>% arrange(rep(x, 2))))

tests/testthat/_snaps/distinct.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@
3131
! Problem adding computed columns.
3232
Caused by error in `mutate()`:
3333
! Problem while computing `y = a + 1`.
34-
Caused by error:
34+
Caused by error in `mask$eval_all_mutate()`:
3535
! object 'a' not found
3636

tests/testthat/_snaps/filter.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
<error/rlang_error>
100100
Error in `filter()`:
101101
! Problem while computing `..1 = _x`.
102-
Caused by error:
102+
Caused by error in `mask$eval_all_filter()`:
103103
! object '_x' not found
104104
Code
105105
(expect_error(mtcars %>% group_by(cyl) %>% filter(`_x`)))
@@ -108,7 +108,7 @@
108108
Error in `filter()`:
109109
! Problem while computing `..1 = _x`.
110110
i The error occurred in group 1: cyl = 4.
111-
Caused by error:
111+
Caused by error in `mask$eval_all_filter()`:
112112
! object '_x' not found
113113
Code
114114
(expect_error(filter(mtcars, x = 1)))
@@ -148,7 +148,7 @@
148148
<error/rlang_error>
149149
Error in `filter()`:
150150
! Problem while computing `..1 = stop("{")`.
151-
Caused by error:
151+
Caused by error in `mask$eval_all_filter()`:
152152
! {
153153
Code
154154
data.frame(x = 1, y = 1) %>% filter(across(everything(), ~ .x > 0))

tests/testthat/_snaps/group-by.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@
4646
! Problem adding computed columns.
4747
Caused by error in `mutate()`:
4848
! Problem while computing `z = a + 1`.
49-
Caused by error:
49+
Caused by error in `mask$eval_all_mutate()`:
5050
! object 'a' not found
5151

tests/testthat/_snaps/mutate.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<error/dplyr:::mutate_error>
88
Error in `mutate()`:
99
! Problem while computing `a = sum(y)`.
10-
Caused by error:
10+
Caused by error in `mask$eval_all_mutate()`:
1111
! object 'y' not found
1212
Code
1313
(expect_error(tbl %>% group_by(x) %>% mutate(y = NULL, a = sum(y))))
@@ -16,7 +16,7 @@
1616
Error in `mutate()`:
1717
! Problem while computing `a = sum(y)`.
1818
i The error occurred in group 1: x = 1.
19-
Caused by error:
19+
Caused by error in `mask$eval_all_mutate()`:
2020
! object 'y' not found
2121
Code
2222
(expect_error(tibble(x = 1) %>% mutate(y = mean)))
@@ -153,6 +153,6 @@
153153
<error/dplyr:::mutate_error>
154154
Error in `mutate()`:
155155
! Problem while computing `..1 = stop("{")`.
156-
Caused by error:
156+
Caused by error in `mask$eval_all_mutate()`:
157157
! {
158158

tests/testthat/_snaps/summarise.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@
167167
<error/rlang_error>
168168
Error in `summarise()`:
169169
! Problem while computing `..1 = stop("{")`.
170-
Caused by error:
170+
Caused by error in `mask$eval_all_summarise()`:
171171
! {
172172
Code
173173
(expect_error(tibble(a = 1, b = "{value:1, unit:a}") %>% group_by(b) %>%
@@ -177,6 +177,6 @@
177177
Error in `summarise()`:
178178
! Problem while computing `a = stop("!")`.
179179
i The error occurred in group 1: b = "{value:1, unit:a}".
180-
Caused by error:
180+
Caused by error in `mask$eval_all_summarise()`:
181181
! !
182182

0 commit comments

Comments
 (0)