diff --git a/R/Graph.R b/R/Graph.R index 0747a5745..bb411de26 100644 --- a/R/Graph.R +++ b/R/Graph.R @@ -308,9 +308,9 @@ Graph = R6Class("Graph", null_str = function(x) x %??% "NULL" if (node == "") { txt = paste0("Input:
Name: ", self$input$name, "
Train: ", null_str(self$input$train), "
Predict: ", null_str(self$input$predict)) - } else if (grepl("", node)) { + } else if (grepl("", node, fixed = TRUE)) { if (nrow(self$output) > 1) { - out = self$output[self$output$name == gsub("\n", "", node), ] # Deal with multiple outputs + out = self$output[self$output$name == gsub("\n", "", node, fixed = TRUE), ] # Deal with multiple outputs } else { out = self$output # Standard case, single output }