Skip to content

Commit

Permalink
ci: skip installation of netcdf libraries on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
jorainer committed May 8, 2024
1 parent c902935 commit 88bdd81
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/check-bioc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,15 +141,15 @@ jobs:
## required for ncdf4
## brew install netcdf ## Does not work as it is compiled with gcc
## Use pre-compiled libraries from https://mac.r-project.org/libs-4/
curl -O https://mac.r-project.org/libs-4/netcdf-4.7.4-darwin.17-x86_64.tar.gz
tar fvxzm netcdf-4.7.4-darwin.17-x86_64.tar.gz -C /
rm netcdf-4.7.4-darwin.17-x86_64.tar.gz
curl -O https://mac.r-project.org/libs-4/hdf5-1.12.0-darwin.17-x86_64.tar.gz
tar fvxzm hdf5-1.12.0-darwin.17-x86_64.tar.gz -C /
rm hdf5-1.12.0-darwin.17-x86_64.tar.gz
curl -O https://mac.r-project.org/libs-4/szip-2.1.1-darwin.17-x86_64.tar.gz
tar fvxzm szip-2.1.1-darwin.17-x86_64.tar.gz -C /
rm szip-2.1.1-darwin.17-x86_64.tar.gz
# curl -O https://mac.r-project.org/libs-4/netcdf-4.7.4-darwin.17-x86_64.tar.gz
# tar fvxzm netcdf-4.7.4-darwin.17-x86_64.tar.gz -C /
# rm netcdf-4.7.4-darwin.17-x86_64.tar.gz
# curl -O https://mac.r-project.org/libs-4/hdf5-1.12.0-darwin.17-x86_64.tar.gz
# tar fvxzm hdf5-1.12.0-darwin.17-x86_64.tar.gz -C /
# rm hdf5-1.12.0-darwin.17-x86_64.tar.gz
# curl -O https://mac.r-project.org/libs-4/szip-2.1.1-darwin.17-x86_64.tar.gz
# tar fvxzm szip-2.1.1-darwin.17-x86_64.tar.gz -C /
# rm szip-2.1.1-darwin.17-x86_64.tar.gz
- name: Install Windows system dependencies
if: runner.os == 'Windows'
Expand Down
1 change: 0 additions & 1 deletion tests/testthat/test_Param_classes.R
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,6 @@ test_that("PeakDensityParam works", {
expect_error(sampleGroups(p) <- NULL)
expect_error(sampleGroups(p) <- c(2, 2, NA))
expect_error(PeakDensityParam())
expect_error(PeakDensityParam(sampleGroups = c(1, 1, NA)))

p <- new("PeakDensityParam", bw = 3)
expect_equal(bw(p), 3)
Expand Down

0 comments on commit 88bdd81

Please sign in to comment.