inst/bad1/tests/testthat/test.R

context("library() ok")

test_that("library is ok here", {
  library("stats")
  expect_true(TRUE)
})

Try the goodpractice package in your browser

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

goodpractice documentation built on June 22, 2024, 9:55 a.m.