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)
#   })
# }
jfrench/smerc documentation built on Oct. 27, 2024, 5:13 p.m.