Skip to content

Commit

Permalink
final ci fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mjskay committed Apr 24, 2024
1 parent 269be31 commit a663298
Showing 1 changed file with 1 addition and 38 deletions.
39 changes: 1 addition & 38 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
RHUB_PLATFORM: linux-x86_64-ubuntu-gcc
run: |
Rscript -e "install.packages('pak')"
sysreqs=$(Rscript -e "cat(pak::pkg_sysreqs('.')[['install_scripts']])")
sysreqs=$(Rscript -e "cat(pak::pkg_sysreqs('.', dependencies = TRUE)[['install_scripts']])")
sudo -s eval "$sysreqs"
- name: Install dependencies
Expand All @@ -75,43 +75,6 @@ jobs:
remotes::install_cran("rcmdcheck")
shell: Rscript {0}

# - uses: r-lib/actions/setup-r-dependencies@v2
# with:
# extra-packages: |
# any::rcmdcheck
# any::BH
# any::RcppEigen
# any::Matrix@>=1.6-2
# emmeans=?ignore-before-r=4.3.0
# needs: check
#
# - name: Install dependencies
# run: |
# remotes::install_deps(dependencies = TRUE)
# remotes::install_cran("rcmdcheck")
# remotes::install_cran("pak")
# shell: Rscript {0}

# - name: Install system dependencies
# run: |
# pak::sysreqs_fix_installed()
# remotes::install_cran("rcmdcheck")
# remotes::install_cran("pak")
# shell: Rscript {0}
#
# - name: Install system dependencies
# if: runner.os == 'Linux'
# env:
# RHUB_PLATFORM: linux-x86_64-ubuntu-gcc
# run: |
# Rscript -e "remotes::install_github('r-hub/sysreqs')"
# sysreqs=$(Rscript -e "cat(sysreqs::sysreq_commands('DESCRIPTION'))")
# sudo -s eval "$sysreqs"
# sudo apt-get install jags cargo libudunits2-dev libgdal-dev
# cargo: for gifski
# libudunits2-dev for units (transformr)
# libgdal-dev for sf (transformr)

- name: Check
env:
_R_CHECK_CRAN_INCOMING_REMOTE_: false
Expand Down

0 comments on commit a663298

Please sign in to comment.