"src/vscode:/vscode.git/clone" did not exist on "873528c1f89f1a6a7574ac4c9d193b409aeca6bd"
Commit d0bd8270 authored by James Lamb's avatar James Lamb Committed by Nikita Titov
Browse files

[R-package] [ci] removed TODOs in code (#2667)

* [R-package] removed TODOs in code

* [ci] added to-do to TODO comment linter
parent edb9149c
......@@ -34,7 +34,7 @@ LINTERS_TO_USE <- list(
, "single_quotes" = lintr::single_quotes_linter
, "spaces_inside" = lintr::spaces_inside_linter
, "spaces_left_parens" = lintr::spaces_left_parentheses_linter
, "todo_comments" = lintr::todo_comment_linter
, "todo_comments" = lintr::todo_comment_linter(c("todo", "fixme", "to-do"))
, "trailing_blank" = lintr::trailing_blank_lines_linter
, "trailing_white" = lintr::trailing_whitespace_linter
, "true_false" = lintr::T_and_F_symbol_linter
......
......@@ -100,7 +100,6 @@ cb.reset.parameters <- function(new_params) {
p[i]
})
# To-do check pars
if (!is.null(env$model)) {
env$model$reset_parameter(pars)
}
......
......@@ -180,7 +180,6 @@ Predictor <- R6::R6Class(
} else {
# Cannot predict on unknown class
# to-do: predict from lgb.Dataset
stop("predict: cannot predict on data of class ", sQuote(class(data)))
}
......
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