Skip to content

Commit

Permalink
create .R/Makevars so R can find jpeglib.h
Browse files Browse the repository at this point in the history
  • Loading branch information
mbstadler committed Jan 6, 2025
1 parent 98680d4 commit 14d8c64
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,12 @@ jobs:
run: |
brew install harfbuzz
brew install fribidi
brew install jpeg
brew install jpeg fftw
mkdir -p /Users/runner/.R
touch /Users/runner/.R/Makevars
echo 'export CPPFLAGS="-I/opt/homebrew/opt/jpeg/include"' >> /Users/runner/.R/Makevars
echo 'export LDFLAGS="-L/opt/homebrew/opt/jpeg/lib"' >> /Users/runner/.R/Makevars
echo 'export PKG_CONFIG_PATH="/opt/homebrew/opt/jpeg/lib/pkgconfig"' >> /Users/runner/.R/Makevars
Rscript -e 'BiocManager::install(c("GenomeInfoDbData"), type = "source")'
Rscript -e 'BiocManager::install(c("GenomicFeatures"), type = "source")'
Expand Down

0 comments on commit 14d8c64

Please sign in to comment.