Debian Codegraph @

tests/testthat/_snaps/subsetting.md

raw
1 # indexing errors are caught
2
3 Code
4 base[2:1, ]
5 Condition
6 Error in `base[2:1, ]`:
7 ! `i` and `j` must be increasing sequences of numbers
8
9 ---
10
11 Code
12 base[c(2, 2), ]
13 Condition
14 Error in `base[c(2, 2), ]`:
15 ! `i` and `j` must be increasing sequences of numbers
16
17 ---
18
19 Code
20 base[, 2:1]
21 Condition
22 Error in `base[, 2:1]`:
23 ! `i` and `j` must be increasing sequences of numbers
24
25 ---
26
27 Code
28 base[, c(1, 1)]
29 Condition
30 Error in `base[, c(1, 1)]`:
31 ! `i` and `j` must be increasing sequences of numbers
32