Skip to content

Commit

Permalink
Updated the .lintr configuration to match with that in packagetemplate
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmbaazam committed Jul 18, 2023
1 parent c52e043 commit 2ab29e9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .lintr
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ linters: linters_with_tags(
todo_comment_linter = NULL,
function_argument_linter = NULL,
cyclocomp_linter = NULL,
# Use minimum R declared in DESCRIPTION or fall back to current R version
# Use minimum R declared in DESCRIPTION or fall back to current R version.
# Install etdev package from https://github.com/epiverse-trace/etdev
backport_linter(if (length(x <- etdev::extract_min_r_version())) x else getRversion())
)
)
exclusions: list(
"tests/testthat.R" = list(unused_import_linter = Inf)
)

0 comments on commit 2ab29e9

Please sign in to comment.