tests/testthat/test-template.R

test_that("pkg-template", {
  dir <- tempdir()
  if (!dir.exists(dir)) {
    dir.create(dir)
  }
  expect_silent(pkg_template(dir, "testname"))
})

Try the armadillo4r package in your browser

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

armadillo4r documentation built on Nov. 5, 2025, 6:23 p.m.