File tree Expand file tree Collapse file tree 2 files changed +22
-2
lines changed
Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 1- name : R Restore and Run
1+ name : Visium Quality Control
22
33on :
44 push :
88
99jobs :
1010 r-restore :
11- runs-on : ubuntu-latest
11+ runs-on : ubuntu-noble
1212
1313 env :
1414 RENV_PATHS_ROOT : ~/.local/share/renv # persistent cache location
2020 - name : Set up R
2121 uses : r-lib/actions/setup-r@v2
2222
23+ - name : Install system dependencies for R packages
24+ run : |
25+ sudo apt-get update
26+ sudo apt-get install -y build-essential libcurl4-openssl-dev libssl-dev libxml2-dev libgit2-dev
27+ shell : bash
28+
2329 - name : Cache R packages (renv)
2430 uses : actions/cache@v4
2531 with :
2834 restore-keys : |
2935 ${{ runner.os }}-renv-
3036
37+ - name : Set repositories
38+ run : Rscript ubuntu.R
39+
3140 - name : Restore environment from renv.lock
3241 run : |
3342 install.packages("renv", repos = "https://cloud.r-project.org")
Original file line number Diff line number Diff line change 1+ # Configure BiocManager to use Posit Package Manager
2+ options(BioC_mirror = " https://packagemanager.posit.co/bioconductor/latest" )
3+
4+ # Configure BiocManager to load its configuration from Package Manager
5+ options(BIOCONDUCTOR_CONFIG_FILE = " https://packagemanager.posit.co/bioconductor/latest/config.yaml" )
6+
7+ # Set the Bioconductor version to prevent defaulting to a newer version
8+ Sys.setenv(" R_BIOC_VERSION" = " 3.22" )
9+
10+ # Configure a CRAN snapshot compatible with Bioconductor 3.22
11+ options(repos = c(CRAN = " https://packagemanager.posit.co/cran/__linux__/noble/latest" ))
You can’t perform that action at this time.
0 commit comments