tests/testthat/test-style.R

test_that("Package style", {
  testthat::skip_if_not_installed("lintr")
  testthat::skip_on_cran()
  testthat::skip_on_ci()
  lintr::expect_lint_free(
    linters = lintr::linters_with_defaults(object_name_linter = NULL,
                                           indentation_linter = NULL))
})

Try the treestats package in your browser

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

treestats documentation built on Sept. 14, 2024, 9:08 a.m.