Skip to content

Commit

Permalink
Update r_macos.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
davidycliao committed Sep 21, 2024
1 parent 8e8fd57 commit e93a44a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/r_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,13 @@
# - name: Update Homebrew
# run: |
# brew update
#
# - name: Install pandoc
# run: |
# for i in {1..3}; do
# brew install pandoc && break || sleep 15
# done
#
# - name: Set up R ${{ matrix.r-version }}
# uses: r-lib/actions/setup-r@v2
# with:
Expand All @@ -44,11 +46,10 @@
# - name: Install R dependencies
# run: |
# Rscript -e "install.packages(c('remotes', 'rcmdcheck', 'reticulate', 'renv', 'knitr', 'rmarkdown', 'lsa', 'purrr', 'testthat', 'htmltools'), repos='https://cran.r-project.org')"
# Rscript -e "if (getRversion() >= '4.4.0') remotes::install_version('Matrix', version = '1.5.3')"
# Rscript -e "if (getRversion() >= '4.4.0') remotes::install_version('Matrix', version = '1.5.3') else install.packages('Matrix', type = 'binary')"
# Rscript -e "remotes::install_version('htmltools', version = '0.5.8')"
# Rscript -e "renv::restore()"
#
#
# - name: Set up Python
# uses: actions/setup-python@v2
# with:
Expand All @@ -66,6 +67,7 @@
# pip install --upgrade pip
# pip install scipy==1.12.0
# pip install flair
#
# - name: Remove Python cache files
# run: find . -name '*.pyc' -delete
#
Expand Down Expand Up @@ -98,15 +100,13 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Update Homebrew
- name: Update Homebrew and Install gfortran
run: |
brew update
- name: Install pandoc
run: |
for i in {1..3}; do
brew install pandoc && break || sleep 15
done
brew install gcc
echo "FC=$(brew --prefix)/bin/gfortran" >> ~/.R/Makevars
echo "F77=$(brew --prefix)/bin/gfortran" >> ~/.R/Makevars
echo "FLIBS=-L$(brew --prefix)/lib/gcc/current -lgfortran -lquadmath -lm" >> ~/.R/Makevars
- name: Set up R ${{ matrix.r-version }}
uses: r-lib/actions/setup-r@v2
Expand Down

0 comments on commit e93a44a

Please sign in to comment.