inst/templates/test-example.R

context("{{{ test_name }}}")

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

Try the usethis package in your browser

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

usethis documentation built on July 4, 2019, 5:05 p.m.