diff --git a/tests/testthat/_snaps/subsetting.md b/tests/testthat/_snaps/subsetting.md index bf96b2846..1964c6e16 100644 --- a/tests/testthat/_snaps/subsetting.md +++ b/tests/testthat/_snaps/subsetting.md @@ -97,7 +97,7 @@ Condition Error in `foo[foo]`: ! Can't subset columns with `foo`. - x `foo` must be logical, numeric, or character, not a object. + x `foo` must be logical, numeric, or character, not a object. Code # # [.tbl_df is careful about row indexes foo <- tibble(x = 1:3, y = 1:3, z = 1:3) @@ -156,7 +156,7 @@ Condition Error in `foo[foo, ]`: ! Can't subset rows with `foo`. - x `foo` must be logical, numeric, or character, not a object. + x `foo` must be logical, numeric, or character, not a object. Code # # [.tbl_df is careful about column flags (#83) foo <- tibble(x = 1:10, y = 1:10, z = 1:10) @@ -386,7 +386,7 @@ Condition Error in `foo[[foo]]`: ! Can't extract column with `foo`. - x `foo` must be numeric or character, not a object. + x `foo` must be numeric or character, not a object. Code # # [[.tbl_df throws error with NA index foo <- tibble(x = 1:10, y = 1:10) @@ -892,7 +892,7 @@ Condition Error in `[[<-`: ! Can't assign column with `foo`. - x `foo` must be numeric or character, not a object. + x `foo` must be numeric or character, not a object. Code foo[[1:3, 1]] <- 1 Condition @@ -916,7 +916,7 @@ Condition Error in `[[<-`: ! Can't assign row with `foo`. - x `foo` must be numeric or character, not a object. + x `foo` must be numeric or character, not a object. Code # # [[<-.tbl_df throws an error with OOB assignment df <- tibble(x = 1:2, y = x)