Skip to content

Commit

Permalink
Merge pull request #171 from lindeloev/v0.3.4
Browse files Browse the repository at this point in the history
Make test pass (v0.3.4)
  • Loading branch information
lindeloev authored Sep 29, 2024
2 parents 9a1d4bc + 6e39ef3 commit e5b1370
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/check-standard.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Workflow derived from https://github.com/r-lib/actions/tree/master/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
# Workflow derived from https://github.com/r-lib/actions/blob/v2-branch/examples/check-standard.yaml

on:
push:
branches: [main, master]
Expand Down Expand Up @@ -30,23 +30,28 @@ jobs:
R_KEEP_PKG_SOURCE: yes

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- uses: r-lib/actions/setup-pandoc@v2

# JAGS install from https://github.com/boydorr/SpARKjags/blob/master/.github/workflows/test-build.yaml
# JAGS install. Inspired by https://github.com/boydorr/SpARKjags/blob/master/.github/workflows/test-build.yaml
# but updated with ignoring certificates and redirects.
# JAGS is automatically installed on linux via the rjags package.
- name: Install JAGS (if Windows)
if: runner.os == 'Windows'
run: |
curl.exe -o wjags.exe --url https://deac-fra.dl.sourceforge.net/project/mcmc-jags/JAGS/4.x/Windows/JAGS-4.3.1.exe
curl.exe -o wjags.exe -L0 -k --url https://downloads.sourceforge.net/project/mcmc-jags/JAGS/4.x/Windows/JAGS-4.3.1.exe
wjags.exe /S
del wjags.exe
shell: cmd

- name: Install JAGS (if macOS)
if: runner.os == 'macOS'
run: brew install jags
# This worked before R 4.3: brew install jags
run: |
curl -o wjags.pkg -L0 -k --url https://downloads.sourceforge.net/project/mcmc-jags/JAGS/4.x/Mac%20OS%20X/JAGS-4.3.2.pkg
sudo installer -pkg wjags.pkg -target /
rm wjags.pkg
# R
- uses: r-lib/actions/setup-r@v2
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# mcp: Regression with Multiple Change Points<img src="https://github.com/lindeloev/mcp/raw/docs/man/figures/logo_200px.png" align="right" style="padding: 20px; padding-right: 0px;" />

[![mcp Github Actions status](https://github.com/lindeloev/mcp/actions/workflows/check-standard.yaml/badge.svg)](https://github.com/lindeloev/mcp/actions/workflows/check-standard.yaml)
[![mcp Coveralls status](https://codecov.io/gh/lindeloev/mcp/branch/master/graph/badge.svg)](https://coveralls.io/github/lindeloev/mcp/)
[![mcp Coveralls status](https://codecov.io/gh/lindeloev/mcp/branch/main/graph/badge.svg)](https://coveralls.io/github/lindeloev/mcp/)
[![mcp CRAN status](https://www.r-pkg.org/badges/version/mcp)](https://CRAN.R-project.org/package=mcp)
[![mcp CRAN downloads](https://cranlogs.r-pkg.org/badges/mcp)](https://cranlogs.r-pkg.org/badges/mcp)

Expand Down

0 comments on commit e5b1370

Please sign in to comment.