Skip to content

Commit

Permalink
Merge branch 'master' into pr/87
Browse files Browse the repository at this point in the history
  • Loading branch information
florianhartig committed Jan 19, 2024
2 parents ff8419a + 719d506 commit 7c9b10a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:

- name: Query dependencies
run: |
setwd("DHARMa")
setwd("PhyloSim")
install.packages('remotes')
saveRDS(remotes::dev_package_deps(dependencies = TRUE), "../.github/depends.Rds", version = 2)
writeLines(sprintf("R-%i.%i", getRversion()$major, getRversion()$minor), "../.github/R-version")
Expand All @@ -71,15 +71,15 @@ jobs:
- name: Install system dependencies
if: runner.os == 'Linux'
run: |
cd DHARMa
cd PhyloSim
while read -r cmd
do
eval sudo $cmd
done < <(Rscript -e 'writeLines(remotes::system_requirements("ubuntu", "20.04"))')
- name: Install dependencies
run: |
setwd("DHARMa")
setwd("PhyloSim")
remotes::install_deps(dependencies = TRUE)
remotes::install_cran("rcmdcheck")
shell: Rscript {0}
Expand All @@ -89,15 +89,15 @@ jobs:
_R_CHECK_CRAN_INCOMING_REMOTE_: false
CI: true
run: |
rcmdcheck::rcmdcheck("DHARMa", args = c("--no-multiarch", "--no-manual"), error_on = "warning", check_dir = "check")
rcmdcheck::rcmdcheck("PhyloSim", args = c("--no-multiarch", "--no-manual"), error_on = "warning", check_dir = "check")
shell: Rscript {0}

- name: Check
env:
_R_CHECK_CRAN_INCOMING_REMOTE_: false
CI: true
run: |
rcmdcheck::rcmdcheck("DHARMa", args = c("--no-manual", "--as-cran"), error_on = "warning", check_dir = "check")
rcmdcheck::rcmdcheck("PhyloSim", args = c("--no-manual", "--as-cran"), error_on = "warning", check_dir = "check")
shell: Rscript {0}

- name: Upload check results
Expand Down

0 comments on commit 7c9b10a

Please sign in to comment.