Skip to content

Commit

Permalink
Adding netcdf to install script for Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
wkumler committed Nov 30, 2023
1 parent e3a033d commit 8adbe5a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/r-check-cran.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ jobs:
do
eval sudo $cmd
done < <(Rscript -e 'writeLines(remotes::system_requirements("ubuntu", "20.04"))')
## Force-install netcdf since it's missed by the system requirements
## but required for mzR & MSnbase
apt-get install -y libnetcdf-dev
- name: Install BiocManager
run: |
Expand All @@ -71,6 +74,7 @@ jobs:
- name: Install dependencies
run: |
install.packages("stringi")
BiocManager::install("ncdf4")
BiocManager::install("mzR")
remotes::install_deps(dependencies = TRUE, repos=BiocManager::repositories())
remotes::install_cran("rcmdcheck")
Expand Down

0 comments on commit 8adbe5a

Please sign in to comment.