Skip to content

Commit 4e1b57d

Browse files
committed
Control linting
1 parent 56e23e3 commit 4e1b57d

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.lintr

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
linters: linters_with_defaults(
2+
indentation_linter = NULL,
3+
object_length_linter = NULL,
4+
object_usage_linter = NULL,
5+
cyclocomp_linter = NULL
6+
)
7+
exclusions: list("tests/testthat.R", "R/cpp11.R")

tests/testthat/test-walk.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ test_that("require that dt is 1 for now", {
7979

8080

8181
## Not a test at all of the model, but of the error handling in
82-
## r/helpers.hpp
82+
## helpers.hpp
8383
test_that("validate inputs", {
8484
pars <- list(sd = 1, random_initial = TRUE)
8585
expect_error(

0 commit comments

Comments
 (0)