@@ -51,11 +51,12 @@ jobs:
5151 fail-fast : false
5252 matrix :
5353 config :
54- - { os: ubuntu-latest, r: '4.1 ', bioc: '3.13 ', cont: "bioconductor/bioconductor_docker:RELEASE_3_13 ", rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest" }
55- - { os: macOS-latest, r: '4.1 ', bioc: '3.13 '}
56- - { os: windows-latest, r: '4.1 ', bioc: '3.13 '}
54+ - { os: ubuntu-latest, r: '4.3 ', bioc: '3.17 ', cont: "bioconductor/bioconductor_docker:RELEASE_3_17 ", rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest" }
55+ - { os: macOS-latest, r: '4.3 ', bioc: '3.17 '}
56+ - { os: windows-latest, r: '4.3 ', bioc: '3.17 '}
5757 env :
5858 R_REMOTES_NO_ERRORS_FROM_WARNINGS : true
59+ RSPM_ROOT : https://packagemanager.posit.co.
5960 RSPM : ${{ matrix.config.rspm }}
6061 NOT_CRAN : true
6162 TZ : UTC
@@ -76,45 +77,54 @@ jobs:
7677 # # https://github.com/r-lib/actions/blob/master/examples/check-standard.yaml
7778 # # If they update their steps, we will also need to update ours.
7879 - name : Checkout Repository
79- uses : actions/checkout@v2
80+ uses : actions/checkout@v3
8081
8182 # # R is already included in the Bioconductor docker images
8283 - name : Setup R from r-lib
8384 if : runner.os != 'Linux'
84- uses : r-lib/actions/setup-r@master
85+ uses : r-lib/actions/setup-r@v2
8586 with :
8687 r-version : ${{ matrix.config.r }}
8788
8889 # # pandoc is already included in the Bioconductor docker images
8990 - name : Setup pandoc from r-lib
9091 if : runner.os != 'Linux'
91- uses : r-lib/actions/setup-pandoc@master
92+ uses : r-lib/actions/setup-pandoc@v2
9293
9394 - name : Query dependencies
9495 run : |
9596 install.packages('remotes')
9697 saveRDS(remotes::dev_package_deps(dependencies = TRUE), ".github/depends.Rds", version = 2)
9798 shell : Rscript {0}
9899
99- - name : Cache R packages
100+ - name : Restore R package cache
100101 if : " !contains(github.event.head_commit.message, '/nocache') && runner.os != 'Linux'"
101- uses : actions/cache@v2
102+ uses : actions/cache@v3
102103 with :
103104 path : ${{ env.R_LIBS_USER }}
104- key : ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE_3_13-r-4.1-${{ hashFiles('.github/depends.Rds') }}
105- restore-keys : ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE_3_13-r-4.1-
105+ key : ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE_3_17-r-4.3-${{ hashFiles('.github/depends.Rds') }}
106+ restore-keys : ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE_3_17-r-4.3-
107+
106108
107109 - name : Cache R packages on Linux
108110 if : " !contains(github.event.head_commit.message, '/nocache') && runner.os == 'Linux' "
109- uses : actions/cache@v2
111+ uses : actions/cache@v3
110112 with :
111113 path : /home/runner/work/_temp/Library
112- key : ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE_3_13 -r-4.1 -${{ hashFiles('.github/depends.Rds') }}
113- restore-keys : ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE_3_13 -r-4.1 -
114+ key : ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE_3_17 -r-4.3 -${{ hashFiles('.github/depends.Rds') }}
115+ restore-keys : ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE_3_17 -r-4.3 -
114116
115117 - name : Install Linux system dependencies
116118 if : runner.os == 'Linux'
117119 run : |
120+ apt-get update -y
121+ apt-get upgrade -y
122+ apt autoremove -y
123+ apt-get install libmariadb-dev-compat -y
124+ apt-get install libmariadb-dev -y
125+ apt-get install libmysqlclient-dev -y
126+ apt-get install default-libmysqlclient-dev -y
127+ apt-get install libgdal-dev -y
118128 sysreqs=$(Rscript -e 'cat("apt-get update -y && apt-get install -y", paste(gsub("apt-get install -y ", "", remotes::system_requirements("ubuntu", "20.04")), collapse = " "))')
119129 echo $sysreqs
120130 sudo -s eval "$sysreqs"
@@ -153,7 +163,7 @@ jobs:
153163
154164 - name : Set BiocVersion
155165 run : |
156- BiocManager::install(version = "${{ matrix.config.bioc }}", ask = FALSE)
166+ BiocManager::install(version = "${{ matrix.config.bioc }}", ask = FALSE, update = FALSE )
157167 shell : Rscript {0}
158168
159169 - name : Install dependencies pass 1
@@ -168,8 +178,10 @@ jobs:
168178 ## Pass #1 at installing dependencies
169179 message(paste('****', Sys.time(), 'pass number 1 at installing dependencies: local dependencies ****'))
170180 BiocManager::install("limma", update = FALSE)
181+ BiocManager::install("ComplexHeatmap", update = FALSE)
171182 BiocManager::install("sva", update = FALSE)
172183 BiocManager::install("scran", update = FALSE)
184+ remotes::install_cran("circlize")
173185 remotes::install_cran("tidyverse")
174186 remotes::install_cran("covr") #### remove this later? this to currently fix the Ubuntu error
175187 remotes::install_cran("ggraph")
@@ -222,6 +234,7 @@ jobs:
222234 - name : Run CMD check
223235 env :
224236 _R_CHECK_CRAN_INCOMING_ : false
237+ _R_CHECK_FORCE_SUGGESTS_ : false
225238 run : |
226239 rcmdcheck::rcmdcheck(
227240 args = c("--no-build-vignettes", "--no-manual", "--timings"),
@@ -279,5 +292,5 @@ jobs:
279292 if : failure()
280293 uses : actions/upload-artifact@master
281294 with :
282- name : ${{ runner.os }}-biocversion-RELEASE_3_13 -r-4.1 -results
295+ name : ${{ runner.os }}-biocversion-RELEASE_3_17 -r-4.3 -results
283296 path : check
0 commit comments