Skip to content

Commit

Permalink
Wrong version of Rlang used. Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
elimillera committed Jan 27, 2022
1 parent 174aeed commit c298bc6
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 8 deletions.
3 changes: 2 additions & 1 deletion tests/testthat/_snaps/count.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Count layer clauses with invalid syntax give informative error

group_count `where` condition `bad == code` is invalid. Filter error:
Error: Problem with `filter()` input `..1`.
Error in `h()`:
! Problem with `filter()` input `..1`.
i Input `..1` is `bad == code`.
x object 'bad' not found

Expand Down
3 changes: 2 additions & 1 deletion tests/testthat/_snaps/desc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Desc layer clauses with invalid syntax give informative error

group_desc `where` condition `bad == code` is invalid. Filter error:
Error: Problem with `filter()` input `..1`.
Error in `h()`:
! Problem with `filter()` input `..1`.
i Input `..1` is `bad == code`.
x object 'bad' not found

Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/_snaps/format.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Format string must be character

Argument `format_string` in function `f_str` must be character. Instead a class of "numeric" was passed.
Argument `format_string` must be character. Instead a class of "numeric" was passed.

# Error is thrown when format doesn't match variables

Expand Down
2 changes: 2 additions & 0 deletions tests/testthat/_snaps/functional.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@
Problem with `mutate()` column `col_i`.
i `col_i = fct_expand(...)`.
x object 'col_i' not found
Caused by error:
! object 'col_i' not found

2 changes: 1 addition & 1 deletion tests/testthat/_snaps/pop_data.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@

# add_total_group errors function properly

Argument `group_name` in function `add_total_group` must be character. Instead a class of "numeric" was passed.
Argument `group_name` must be character. Instead a class of "numeric" was passed.

3 changes: 2 additions & 1 deletion tests/testthat/_snaps/shift.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Shift layer clauses with invalid syntax give informative error

group_shift `where` condition `bad == code` is invalid. Filter error:
Error: Problem with `filter()` input `..1`.
Error in `h()`:
! Problem with `filter()` input `..1`.
i Input `..1` is `bad == code`.
x object 'bad' not found

Expand Down
6 changes: 4 additions & 2 deletions tests/testthat/_snaps/table.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,17 @@
# Table level where clauses with invalid syntax give informative error

tplyr_table `where` condition `bad == code` is invalid. Filter error:
Error: Problem with `filter()` input `..1`.
Error in `h()`:
! Problem with `filter()` input `..1`.
i Input `..1` is `bad == code`.
x object 'bad' not found


# Population data where clauses with invalid syntax give informative error

Population data `pop_where` condition `bad == code` is invalid. Filter error:
Error: Problem with `filter()` input `..1`.
Error in `h()`:
! Problem with `filter()` input `..1`.
i Input `..1` is `bad == code`.
x object 'bad' not found
If the population data and target data subsets should be different, use `set_pop_where`.
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/_snaps/utils.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Call must be quoted

`call` must be a quoted call
`call` must be a defused call, not a number.

# By default, only `Tplyr` exported functions are allowed

Expand Down

0 comments on commit c298bc6

Please sign in to comment.