From c298bc62d6ec487111cdfd19769805a96e927a54 Mon Sep 17 00:00:00 2001 From: elimillera Date: Thu, 27 Jan 2022 14:18:17 +0000 Subject: [PATCH] Wrong version of Rlang used. Updated --- tests/testthat/_snaps/count.md | 3 ++- tests/testthat/_snaps/desc.md | 3 ++- tests/testthat/_snaps/format.md | 2 +- tests/testthat/_snaps/functional.md | 2 ++ tests/testthat/_snaps/pop_data.md | 2 +- tests/testthat/_snaps/shift.md | 3 ++- tests/testthat/_snaps/table.md | 6 ++++-- tests/testthat/_snaps/utils.md | 2 +- 8 files changed, 15 insertions(+), 8 deletions(-) diff --git a/tests/testthat/_snaps/count.md b/tests/testthat/_snaps/count.md index 1c7b4b24..3bfc719f 100644 --- a/tests/testthat/_snaps/count.md +++ b/tests/testthat/_snaps/count.md @@ -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 diff --git a/tests/testthat/_snaps/desc.md b/tests/testthat/_snaps/desc.md index fa76d0c6..ffd5558a 100644 --- a/tests/testthat/_snaps/desc.md +++ b/tests/testthat/_snaps/desc.md @@ -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 diff --git a/tests/testthat/_snaps/format.md b/tests/testthat/_snaps/format.md index ac3d4208..fdb9f303 100644 --- a/tests/testthat/_snaps/format.md +++ b/tests/testthat/_snaps/format.md @@ -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 diff --git a/tests/testthat/_snaps/functional.md b/tests/testthat/_snaps/functional.md index f457ddb5..0b6afe18 100644 --- a/tests/testthat/_snaps/functional.md +++ b/tests/testthat/_snaps/functional.md @@ -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 diff --git a/tests/testthat/_snaps/pop_data.md b/tests/testthat/_snaps/pop_data.md index 85a13369..ed89efa6 100644 --- a/tests/testthat/_snaps/pop_data.md +++ b/tests/testthat/_snaps/pop_data.md @@ -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. diff --git a/tests/testthat/_snaps/shift.md b/tests/testthat/_snaps/shift.md index 0364ae52..7ff62c37 100644 --- a/tests/testthat/_snaps/shift.md +++ b/tests/testthat/_snaps/shift.md @@ -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 diff --git a/tests/testthat/_snaps/table.md b/tests/testthat/_snaps/table.md index 175c0d57..1340c97a 100644 --- a/tests/testthat/_snaps/table.md +++ b/tests/testthat/_snaps/table.md @@ -5,7 +5,8 @@ # 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 @@ -13,7 +14,8 @@ # 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`. diff --git a/tests/testthat/_snaps/utils.md b/tests/testthat/_snaps/utils.md index d1bfae74..cedc4256 100644 --- a/tests/testthat/_snaps/utils.md +++ b/tests/testthat/_snaps/utils.md @@ -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