diff --git a/tests/testthat/_snaps/list-combine.md b/tests/testthat/_snaps/list-combine.md index b6c67e5b..da986d4d 100644 --- a/tests/testthat/_snaps/list-combine.md +++ b/tests/testthat/_snaps/list-combine.md @@ -53,17 +53,17 @@ list_c(1) Condition Error in `list_c()`: - ! `x` must be a list, not a number. + ! `x` must be a list, not the number 1. Code list_rbind(1) Condition Error in `list_rbind()`: - ! `x` must be a list, not a number. + ! `x` must be a list, not the number 1. Code list_cbind(1) Condition Error in `list_cbind()`: - ! `x` must be a list, not a number. + ! `x` must be a list, not the number 1. --- diff --git a/tests/testthat/_snaps/list-transpose.md b/tests/testthat/_snaps/list-transpose.md index 877327c6..7b5ab4a1 100644 --- a/tests/testthat/_snaps/list-transpose.md +++ b/tests/testthat/_snaps/list-transpose.md @@ -57,7 +57,7 @@ list_transpose(10) Condition Error in `list_transpose()`: - ! `x` must be a list, not a number. + ! `x` must be a list, not the number 10. Code list_transpose(list(1), template = mean) Condition diff --git a/tests/testthat/_snaps/map.md b/tests/testthat/_snaps/map.md index 43ad2419..3fa0ac7c 100644 --- a/tests/testthat/_snaps/map.md +++ b/tests/testthat/_snaps/map.md @@ -29,7 +29,7 @@ Error in `map_int()`: i In index: 3. Caused by error: - ! Can't coerce from a character vector to an integer vector. + ! Can't coerce from a string to an integer vector. Code map(1:3, ~ fail_at_3(.x, stop("Doesn't work"))) Condition diff --git a/tests/testthat/_snaps/map2.md b/tests/testthat/_snaps/map2.md index 562df574..e26e495e 100644 --- a/tests/testthat/_snaps/map2.md +++ b/tests/testthat/_snaps/map2.md @@ -6,7 +6,7 @@ Error in `map2_int()`: i In index: 1. Caused by error: - ! Can't coerce from a character vector to an integer vector. + ! Can't coerce from a string to an integer. Code map2_int(1, 1, ~ 1:2) Condition diff --git a/tests/testthat/_snaps/modify-tree.md b/tests/testthat/_snaps/modify-tree.md index f4098832..23aa8e13 100644 --- a/tests/testthat/_snaps/modify-tree.md +++ b/tests/testthat/_snaps/modify-tree.md @@ -9,5 +9,5 @@ modify_tree(list(), is_node = 1) Condition Error in `modify_tree()`: - ! Can't convert `is_node`, a number, to a function. + ! Can't convert `is_node`, a double vector, to a function. diff --git a/tests/testthat/_snaps/pmap.md b/tests/testthat/_snaps/pmap.md index 8473ff3f..d4675adf 100644 --- a/tests/testthat/_snaps/pmap.md +++ b/tests/testthat/_snaps/pmap.md @@ -6,7 +6,7 @@ Error in `pmap_int()`: i In index: 1. Caused by error: - ! Can't coerce from a character vector to an integer vector. + ! Can't coerce from a string to an integer. Code pmap_int(list(1), ~ 1:2) Condition