mlr-org / mlr3multioutput

Multiple Targets for mlr3
4 stars 0 forks source link

new multilabel task: flags #10

Closed Coorsaa closed 3 years ago

lintr-bot commented 3 years ago

R/PipeOps.R:180:1: style: Lines should not be more than 150 characters.

​#' [`PipeOpMultiLearner`] has one output channel named `"output"`, producing `NULL` during training and a [`Multiplicity`][mlr3pipelines::Multiplicity] of [`Predictions`][mlr3::Prediction]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/PipeOps.R:183:1: style: Lines should not be more than 150 characters.

​#' The output during prediction is a [`Multiplicity`][mlr3pipelines::Multiplicity] of [`Predictions`][mlr3::Prediction] on the input data, produced by the [`Learners`][mlr3::Learner]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/PipeOps.R:250:74: style: Opening curly braces should never go on their own line and should always be followed by a new line.

​      ps = paradox::ParamSetCollection$new(imap(learners, function(x, i) {x$param_set$set_id = i; x$param_set}))
                                                                         ^

R/PredictionMultiOutput.R:29:49: style: Commas should always have a space after.

​          Reduce(function(x, y) if (identical(x,y)) x else FALSE,  map(predictions, "row_ids")),
                                                ^
lintr-bot commented 3 years ago

R/PipeOps.R:180:1: style: Lines should not be more than 150 characters.

​#' [`PipeOpMultiLearner`] has one output channel named `"output"`, producing `NULL` during training and a [`Multiplicity`][mlr3pipelines::Multiplicity] of [`Predictions`][mlr3::Prediction]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/PipeOps.R:183:1: style: Lines should not be more than 150 characters.

​#' The output during prediction is a [`Multiplicity`][mlr3pipelines::Multiplicity] of [`Predictions`][mlr3::Prediction] on the input data, produced by the [`Learners`][mlr3::Learner]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/PipeOps.R:250:74: style: Opening curly braces should never go on their own line and should always be followed by a new line.

​      ps = paradox::ParamSetCollection$new(imap(learners, function(x, i) {x$param_set$set_id = i; x$param_set}))
                                                                         ^

R/PredictionMultiOutput.R:29:49: style: Commas should always have a space after.

​          Reduce(function(x, y) if (identical(x,y)) x else FALSE,  map(predictions, "row_ids")),
                                                ^

R/TaskMultiOutput_flags.R:16:27: style: Place a space before left parenthesis, except in a function call.

​load_task_flags = function(id = "flags") {
                          ^

R/TaskMultiOutput_flags.R:16:42: style: Opening curly braces should never go on their own line and should always be followed by a new line.

​load_task_flags = function(id = "flags") {
                                         ^

R/TaskMultiOutput_flags.R:18:1: error: unexpected input

​<<<<<<< HEAD
^