tests/testthat/test-lints.R

# if (requireNamespace("lintr", quietly = TRUE)) {
#   context("lints")
#   mylints = lintr::with_defaults(assignment_linter = NULL,
#                                  closed_curly_linter = NULL,
#                                  commas_linter = NULL,
#                                  object_name_linter = NULL)
#   test_that("Package style", {
#     lintr::expect_lint_free(linters = mylints)
#   })
# }

Try the smerc package in your browser

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

smerc documentation built on Oct. 10, 2023, 5:07 p.m.