Skip to content

Commit

Permalink
use Config/Needs
Browse files Browse the repository at this point in the history
  • Loading branch information
ms609 committed Jan 3, 2022
1 parent 13887b3 commit 6f3ffb8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/R-CMD-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Query dependencies
run: |
install.packages('remotes')
saveRDS(remotes::dev_package_deps(dependencies = TRUE), ".github/depends.Rds", version = 2)
saveRDS(remotes::dev_package_deps(dependencies = c('soft', 'Config/Needs/check', 'Config/Needs/codecov')), ".github/depends.Rds", version = 2)
writeLines(sprintf("R-%i.%i", getRversion()$major, getRversion()$minor), ".github/R-version")
shell: Rscript {0}

Expand All @@ -72,17 +72,15 @@ jobs:
run: |
brew install libgit2 basictex
- name: Install callr & covr (Windows)
- name: Install covr (Windows)
if: runner.os == 'Windows'
run: |
remotes::install_cran('covr')
remotes::install_deps(dependencies = 'Config/Needs/codecov')
shell: Rscript {0}

- name: Install dependencies
run: |
remotes::install_github("ms609/TreeTools") # for v1.4.5.9007
remotes::install_cran("rcmdcheck")
remotes::install_deps(dependencies = TRUE)
remotes::install_deps(dependencies = c('soft', 'Config/Needs/check'))
shell: Rscript {0}

- name: Check
Expand Down
2 changes: 2 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ LinkingTo:
TreeTools
RdMacros: Rdpack
VignetteBuilder: knitr
Config/Needs/check: rcmdcheck
Config/Needs/codecov: covr
Config/Needs/memcheck: devtools, rcmdcheck
Config/Needs/metadata: codemetar
Config/Needs/revdeps: revdepcheck
Expand Down

0 comments on commit 6f3ffb8

Please sign in to comment.