Skip to content

Commit a5315f9

Browse files
committed
lintr
1 parent a3cbd48 commit a5315f9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.lintr

+1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ linters: with_defaults(
55
object_name_linter = object_name_linter(c("snake_case", "CamelCase")), # only allow snake case and camel case object names
66
cyclocomp_linter = NULL, # do not check function complexity
77
commented_code_linter = NULL, # allow code in comments
8+
todo_comment_linter = NULL,
89
line_length_linter = line_length_linter(120)
910
)

tests/testthat/test_featsel_filters.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ test_that("Custom threshold function for filtering works correctly", {
103103
fun.args = list("diff" = 1)
104104
)
105105
feats = getTaskFeatureNames(ftask)
106-
expect_equal(feats, c("Petal.Length"))
106+
expect_equal(feats, "Petal.Length")
107107
})
108108

109109
test_that("randomForestSRC_var.select minimal depth filter returns NA for features below the threshold", {

0 commit comments

Comments
 (0)