tests/testthat/test-ilog.R

test_that("ilog", {
  expect_equal(c(0, 0.1, 1, 10), ilog(c(-Inf, -2.302585,  0.000000,  2.302585)),
               tolerance = 0.0000001)
})

Try the extras package in your browser

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

extras documentation built on May 31, 2023, 6:22 p.m.