tests/testthat/test_dispatch.R

test_that("smash correctly dispatches to smash.pois",{
  expect_equal(smash(1:8),smash.poiss(1:8))
})

Try the smashr package in your browser

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

smashr documentation built on Dec. 16, 2025, 1:07 a.m.