Unverified Commit 64f4a9fd authored by CuriousCorrelation's avatar CuriousCorrelation Committed by GitHub
Browse files

[ci] [R-package] Add any_is_na_linter (#5306)

parent 560c884d
......@@ -30,6 +30,7 @@ interactive_text <- paste0(
LINTERS_TO_USE <- list(
"absolute_path" = lintr::absolute_path_linter()
, "any_is_na_linter" = lintr::any_is_na_linter()
, "assignment" = lintr::assignment_linter()
, "braces" = lintr::brace_linter()
, "commas" = lintr::commas_linter()
......
......@@ -6,5 +6,5 @@ test_that(".METRICS_HIGHER_BETTER() should be well formed", {
# no metrics should be repeated
expect_true(length(unique(metric_names)) == length(metrics))
# should not be any NAs
expect_false(any(is.na(metrics)))
expect_false(anyNA(metrics))
})
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment