tests/testthat/helpers.R

test_that("Package version required", {

  # Check the version of the package roxygen2 to take into account the breaking change.
  expect_true(packageVersion("roxygen2") > "7.1.2")

})

Try the checkhelper package in your browser

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

checkhelper documentation built on May 29, 2024, 1:17 a.m.