Skip to content

Commit

Permalink
update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
FBartos committed Jan 15, 2025
1 parent 5e332a3 commit bb9c4d8
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 29 deletions.
2 changes: 2 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
^renv$
^renv\.lock$
^.*\.Rproj$
^\.Rproj\.user$
^do-not-share$
Expand Down
8 changes: 5 additions & 3 deletions .Rprofile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
library(devtools)
library(testthat)
library(vdiffr)
if(interactive()){
library(devtools)
library(testthat)
library(vdiffr)
}
11 changes: 1 addition & 10 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,10 @@ jobs:
sudo mkdir -p $(brew --prefix)/libexec
sudo ln -s $(brew --prefix jags)/bin/jags $(brew --prefix)/libexec/jags-terminal
# Install renv and devtools globally
- name: Install renv and devtools
run: |
install.packages(c("renv", "devtools"), repos = "https://cloud.r-project.org")
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
11 changes: 1 addition & 10 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,23 +43,14 @@ jobs:
echo JAGS_MAJOR_VERSION=4>> %GITHUB_ENV%
echo PATH=C:\Program Files\JAGS\JAGS-4.3.1\bin;%PATH%>> %GITHUB_ENV%
# Install renv and devtools globally
- name: Install renv and devtools
run: |
install.packages(c("renv", "devtools"), repos = "https://cloud.r-project.org")
shell: Rscript {0}

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

# Install Pandoc
- name: Setup Pandoc
uses: r-lib/actions/setup-pandoc@v2

# 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 renv and devtools globally
- name: Install renv and devtools
run: |
install.packages(c("renv", "devtools"), repos = "https://cloud.r-project.org")
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
.Rhistory
.RData
.Ruserdata
.Rprofile
do-not-share
docs
BayesTools.Rcheck
Expand Down

0 comments on commit bb9c4d8

Please sign in to comment.