Skip to content

Commit

Permalink
update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
FBartos committed Jan 14, 2025
1 parent be7edf6 commit e74924e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 18 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,14 @@ jobs:
sudo mkdir -p $(brew --prefix)/libexec
sudo ln -s $(brew --prefix jags)/bin/jags $(brew --prefix)/libexec/jags-terminal
# Install devtools
- name: Install devtools
run: |
install.packages('devtools')
shell: Rscript {0}

# Set up renv
- name: Setup renv
uses: r-lib/actions/setup-renv@v2

# Install the package
- name: Install the required packages
run: |
install.packages('devtools')
install.packages('rcmdcheck')
install.packages(c('BayesFactor', 'runjags', 'rjags', 'rstan', 'scales', 'vdiffr', 'testthat', 'covr', 'pandoc'))
devtools::install()
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,6 @@ jobs:
echo JAGS_MAJOR_VERSION=4>> %GITHUB_ENV%
echo PATH=C:\Program Files\JAGS\JAGS-4.3.1\bin;%PATH%>> %GITHUB_ENV%
# Install devtools
- name: Install devtools
run: |
install.packages('devtools')
shell: Rscript {0}

# Set up renv
- name: Setup renv
uses: r-lib/actions/setup-renv@v2
Expand All @@ -60,6 +54,7 @@ jobs:
# Install the package and its dependencies
- name: Install required packages
run: |
install.packages('devtools')
install.packages('pkgdown')
install.packages(c('BayesFactor', 'runjags', 'rjags', 'rstan', 'scales', 'vdiffr', 'testthat', 'covr', 'pandoc'))
devtools::install()
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,14 @@ jobs:
echo JAGS_MAJOR_VERSION=4>> %GITHUB_ENV%
echo PATH=C:\Program Files\JAGS\JAGS-4.3.1\bin;%PATH%>> %GITHUB_ENV%
# Install devtools
- name: Install devtools
run: |
install.packages('devtools')
shell: Rscript {0}

# Set up renv
- name: Setup renv
uses: r-lib/actions/setup-renv@v2

# Install the package
- name: Install the required packages
run: |
install.packages('devtools')
install.packages('rcmdcheck')
install.packages(c('BayesFactor', 'runjags', 'rjags', 'rstan', 'scales', 'vdiffr', 'testthat', 'covr', 'pandoc'))
devtools::install()
Expand Down

0 comments on commit e74924e

Please sign in to comment.