IMPORTANT added linting configuration
Build and deploy Roxygen2|pkgdown documentation site / build-and-deploy-documentation (push) Successful in 44s
run tests / build-and-deploy-documentation (push) Successful in 8s

linting can be started by clicking Addins in RStudio, then
"Lint current file". This commit also contains quick fixes for common
linter messages like changing F to FALSE and T to TRUE.
This commit is contained in:
Simon Innerbichler
2026-06-03 10:33:40 +02:00
parent 4cfda9d162
commit 4cfdc288a8
3 changed files with 370 additions and 322 deletions
+11
View File
@@ -0,0 +1,11 @@
linters: linters_with_defaults(
line_length_linter(150),
commented_code_linter = NULL,
object_name_linter = NULL,
brace_linter = NULL
)
exclusions: list(
"inst/doc/creating_linters.R" = 1,
"inst/example/bad.R",
"tests/testthat/exclusions-test"
)