tests/testthat/test-scaffold.R

test_that("scaffold: package can be loaded", {
  expect_true(requireNamespace("masque", quietly = TRUE))
})

test_that("scaffold: DESCRIPTION declares MIT licence", {
  desc <- read.dcf(system.file("DESCRIPTION", package = "masque"))
  expect_match(unname(desc[1, "License"]), "MIT", fixed = TRUE)
})

Try the masque package in your browser

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

masque documentation built on Nov. 19, 2026, 1:06 a.m.