Skip to content

fix Stan array syntax in test file#13

Merged
MansMeg merged 1 commit intomainfrom
fix-stan-array-syntax
Oct 9, 2025
Merged

fix Stan array syntax in test file#13
MansMeg merged 1 commit intomainfrom
fix-stan-array-syntax

Conversation

@avehtari
Copy link
Copy Markdown
Member

@avehtari avehtari commented Oct 9, 2025

inst/test_files/eight_schools_noncentered.stan was using the old Stan syntax, which did work in github actions using CRAN release of rstan, but failed in r-universe.dev as r-universe has a more recent rstan version. As the current CRAN release works with both syntaxes, after this the tests should pass both in github and in r-universe

(thanks for @jgabry and @WardBrian helping to figure this out)

@avehtari avehtari requested a review from MansMeg October 9, 2025 17:49
@MansMeg
Copy link
Copy Markdown
Contributor

MansMeg commented Oct 9, 2025

Well spotted. We missed these test files when updated the posteriord with the new syntax. Let the tests pass and we can merge.

@MansMeg MansMeg merged commit d431bb3 into main Oct 9, 2025
2 checks passed
@avehtari
Copy link
Copy Markdown
Member Author

@MansMeg can you tag a release, so that r-universe will update and pass the checks, too

@MansMeg
Copy link
Copy Markdown
Contributor

MansMeg commented Oct 14, 2025

Yes! Will do asap.

@MansMeg
Copy link
Copy Markdown
Contributor

MansMeg commented Oct 26, 2025

Now fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants