tests/testthat/test-example.R

test_that("multiplication works", {
  expect_equal(2 * 2, 4)
  expect_equal(5, as.numeric(5))
})
soderling-lab/Rpackage documentation built on Dec. 23, 2021, 3:31 a.m.