dwww Home | Show directory contents | Find package

# last_col() checks its inputs

    Code
      last_col(Inf, letters[1:3])
    Condition
      Error in `last_col()`:
      ! `offset` (Inf) must be smaller than the number of columns (3).
    Code
      last_col(3, letters[1:3])
    Condition
      Error in `last_col()`:
      ! `offset` (3) must be smaller than the number of columns (3).
    Code
      last_col(0, character())
    Condition
      Error in `last_col()`:
      ! Can't select last column when input is empty.
    Code
      last_col(1:2, letters[1:3])
    Condition
      Error in `last_col()`:
      ! `offset` must be a single integer, not an integer vector.

Generated by dwww version 1.15 on Tue Jul 2 09:06:36 CEST 2024.