Skip to content

Commit 16b3b01

Browse files
committed
Revert "use cli for print tidySE and fix GHA"
This reverts commit faf5585.
1 parent faf5585 commit 16b3b01

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

.github/workflows/check-bioc.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ jobs:
5252
fail-fast: false
5353
matrix:
5454
config:
55-
- { os: ubuntu-latest, r: '4.4', bioc: '3.19', cont: "bioconductor/bioconductor_docker:devel", rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest" }
56-
- { os: macOS-latest, r: '4.4', bioc: '3.19'}
57-
- { os: windows-latest, r: '4.4', bioc: '3.19'}
55+
- { os: ubuntu-latest, r: '4.3', bioc: '3.18', cont: "bioconductor/bioconductor_docker:devel", rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest" }
56+
- { os: macOS-latest, r: '4.3', bioc: '3.18'}
57+
- { os: windows-latest, r: '4.3', bioc: '3.18'}
5858
## Check https://github.com/r-lib/actions/tree/master/examples
5959
## for examples using the http-user-agent
6060
env:
@@ -105,16 +105,16 @@ jobs:
105105
uses: actions/cache@v3
106106
with:
107107
path: ${{ env.R_LIBS_USER }}
108-
key: ${{ env.cache-version }}-${{ runner.os }}-biocversion-devel-r-4.4-${{ hashFiles('.github/depends.Rds') }}
109-
restore-keys: ${{ env.cache-version }}-${{ runner.os }}-biocversion-devel-r-4.4-
108+
key: ${{ env.cache-version }}-${{ runner.os }}-biocversion-devel-r-4.3-${{ hashFiles('.github/depends.Rds') }}
109+
restore-keys: ${{ env.cache-version }}-${{ runner.os }}-biocversion-devel-r-4.3-
110110

111111
- name: Cache R packages on Linux
112112
if: "!contains(github.event.head_commit.message, '/nocache') && runner.os == 'Linux' "
113113
uses: actions/cache@v3
114114
with:
115115
path: /home/runner/work/_temp/Library
116-
key: ${{ env.cache-version }}-${{ runner.os }}-biocversion-devel-r-4.4-${{ hashFiles('.github/depends.Rds') }}
117-
restore-keys: ${{ env.cache-version }}-${{ runner.os }}-biocversion-devel-r-4.4-
116+
key: ${{ env.cache-version }}-${{ runner.os }}-biocversion-devel-r-4.3-${{ hashFiles('.github/depends.Rds') }}
117+
restore-keys: ${{ env.cache-version }}-${{ runner.os }}-biocversion-devel-r-4.3-
118118

119119
# - name: Install Linux system dependencies
120120
# if: runner.os == 'Linux'
@@ -285,7 +285,7 @@ jobs:
285285
if: failure()
286286
uses: actions/upload-artifact@master
287287
with:
288-
name: ${{ runner.os }}-biocversion-devel-r-4.4-results
288+
name: ${{ runner.os }}-biocversion-devel-r-4.3-results
289289
path: check
290290

291291

R/print_method.R

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

@@ -33,12 +32,12 @@ tbl_format_header.tidySummarizedExperiment <- function(x, setup, ...) {
3332
named_header
3433
) %>%
3534
# Add further info single-cell
36-
append( cli::col_br_black( sprintf(
37-
" Features=%s | Samples=%s | Assays=%s",
35+
append(sprintf(
36+
"\033[90m Features=%s | Samples=%s | Assays=%s\033[39m",
3837
number_of_features,
3938
number_of_samples,
4039
assay_names %>% paste(collapse=", ")
41-
)), after = 1)
40+
), after = 1)
4241
}
4342
style_subtle(pillar___format_comment(header, width=setup$width))
4443
}

0 commit comments

Comments
 (0)