Skip to content

Commit bf8e80e

Browse files
committed
clean cli commit
1 parent 16b3b01 commit bf8e80e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

R/print_method.R

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#' @importFrom pillar get_extent
1414
#' @importFrom pillar style_subtle
1515
#' @importFrom pillar tbl_format_header
16+
#' @importFrom cli col_br_black
1617
#' @export
1718
tbl_format_header.tidySummarizedExperiment <- function(x, setup, ...) {
1819

@@ -32,12 +33,12 @@ tbl_format_header.tidySummarizedExperiment <- function(x, setup, ...) {
3233
named_header
3334
) %>%
3435
# Add further info single-cell
35-
append(sprintf(
36-
"\033[90m Features=%s | Samples=%s | Assays=%s\033[39m",
36+
append( cli::col_br_black( sprintf(
37+
" Features=%s | Samples=%s | Assays=",
3738
number_of_features,
3839
number_of_samples,
3940
assay_names %>% paste(collapse=", ")
40-
), after = 1)
41+
)), after = 1)
4142
}
4243
style_subtle(pillar___format_comment(header, width=setup$width))
4344
}

0 commit comments

Comments
 (0)