File tree 1 file changed +9
-6
lines changed
1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -121,13 +121,16 @@ Filter = R6Class("Filter",
121
121
# ' Printer for Filter class
122
122
print = function () {
123
123
msg_h = if (is.na(self $ label )) " " else paste0(" : " , self $ label )
124
- cli_h1(" {.cls {class(self)[1L]}} {self$id}{msg_h}" )
125
- cli_li(" Task Types: {self$task_types}" )
126
124
properties = if (length(self $ properties )) paste(self $ properties , collapse = " , " ) else " -"
127
- cli_li(" Properties: {properties}" )
128
- cli_li(" Task Properties: {self$task_properties}" )
129
- cli_li(" Packages: {.pkg {self$packages}}" )
130
- cli_li(" Feature types: {self$feature_types}" )
125
+ cat_cli({
126
+ cli_h1(" {.cls {class(self)[1L]}} {self$id}{msg_h}" )
127
+ cli_li(" Task Types: {self$task_types}" )
128
+ cli_li(" Properties: {properties}" )
129
+ cli_li(" Task Properties: {self$task_properties}" )
130
+ cli_li(" Packages: {.pkg {self$packages}}" )
131
+ cli_li(" Feature types: {self$feature_types}" )
132
+ })
133
+
131
134
if (length(self $ scores )) {
132
135
print(as.data.table(self ),
133
136
nrows = 10L , topn = 5L , class = FALSE ,
You can’t perform that action at this time.
0 commit comments