|
97 | 97 | Condition |
98 | 98 | Error in `foo[foo]`: |
99 | 99 | ! Can't subset columns with `foo`. |
100 | | - x `foo` must be logical, numeric, or character, not a <tbl_df/tbl/data.frame> object. |
| 100 | + x `foo` must be logical, numeric, or character, not a <tbl_df> object. |
101 | 101 | Code |
102 | 102 | # # [.tbl_df is careful about row indexes |
103 | 103 | foo <- tibble(x = 1:3, y = 1:3, z = 1:3) |
|
156 | 156 | Condition |
157 | 157 | Error in `foo[foo, ]`: |
158 | 158 | ! Can't subset rows with `foo`. |
159 | | - x `foo` must be logical, numeric, or character, not a <tbl_df/tbl/data.frame> object. |
| 159 | + x `foo` must be logical, numeric, or character, not a <tbl_df> object. |
160 | 160 | Code |
161 | 161 | # # [.tbl_df is careful about column flags (#83) |
162 | 162 | foo <- tibble(x = 1:10, y = 1:10, z = 1:10) |
|
386 | 386 | Condition |
387 | 387 | Error in `foo[[foo]]`: |
388 | 388 | ! Can't extract column with `foo`. |
389 | | - x `foo` must be numeric or character, not a <tbl_df/tbl/data.frame> object. |
| 389 | + x `foo` must be numeric or character, not a <tbl_df> object. |
390 | 390 | Code |
391 | 391 | # # [[.tbl_df throws error with NA index |
392 | 392 | foo <- tibble(x = 1:10, y = 1:10) |
|
892 | 892 | Condition |
893 | 893 | Error in `[[<-`: |
894 | 894 | ! Can't assign column with `foo`. |
895 | | - x `foo` must be numeric or character, not a <tbl_df/tbl/data.frame> object. |
| 895 | + x `foo` must be numeric or character, not a <tbl_df> object. |
896 | 896 | Code |
897 | 897 | foo[[1:3, 1]] <- 1 |
898 | 898 | Condition |
|
916 | 916 | Condition |
917 | 917 | Error in `[[<-`: |
918 | 918 | ! Can't assign row with `foo`. |
919 | | - x `foo` must be numeric or character, not a <tbl_df/tbl/data.frame> object. |
| 919 | + x `foo` must be numeric or character, not a <tbl_df> object. |
920 | 920 | Code |
921 | 921 | # # [[<-.tbl_df throws an error with OOB assignment |
922 | 922 | df <- tibble(x = 1:2, y = x) |
|
0 commit comments