tests/testthat/_snaps/subsetting.md

indexing errors are caught

Code
  base[2:1, ]
Condition
  Error in `base[2:1, ]`:
  ! `i` and `j` must be increasing sequences of numbers
Code
  base[c(2, 2), ]
Condition
  Error in `base[c(2, 2), ]`:
  ! `i` and `j` must be increasing sequences of numbers
Code
  base[, 2:1]
Condition
  Error in `base[, 2:1]`:
  ! `i` and `j` must be increasing sequences of numbers
Code
  base[, c(1, 1)]
Condition
  Error in `base[, c(1, 1)]`:
  ! `i` and `j` must be increasing sequences of numbers


Try the gtable package in your browser

Any scripts or data that you put into this service are public.

gtable documentation built on Oct. 30, 2024, 9:29 a.m.