tests/testthat/_snaps/odds.md

odds<- errors if x is not numeric

Code
  x <- NULL
  odds(x) <- "2"
Condition
  Error in `odds<-`:
  ! `value` must be numeric.

odds<- errors if x is negative

Code
  x <- NULL
  odds(x) <- -1
Condition
  Error in `odds<-`:
  ! `value` must be greater than or equal to 0, not -1.


Try the extras package in your browser

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

extras documentation built on April 4, 2025, 2:40 a.m.