tests/testthat/test-testthat.R

test_that("multiplication works", {
  expect_equal(2 * 2, 4)
})

Try the rPublic package in your browser

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

rPublic documentation built on Aug. 23, 2025, 1:12 a.m.