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.


poissonconsulting/extras documentation built on Jan. 18, 2025, 8 p.m.