Skip to content

Fix Stan model for rstan 2.32 array syntax - #25

Merged
stemangiola merged 1 commit into
masterfrom
fix
Nov 11, 2026
Merged

stemangiola merged 1 commit into
masterfrom
fix

Conversation

@stemangiola

Copy link
Copy Markdown
Owner

Summary

  • Update inst/stan/negBinomial_MPI.stan from the old array syntax (vector[], int[], real[]) to the current Stan array syntax required by rstan 2.32+.
  • Refresh src/Makevars for current rstan/StanHeaders (CXX17, -DUSE_STANC3).

This addresses the Bioconductor 3.23 INSTALL failure on nebbiolo1:
https://bioconductor.org/checkResults/3.23/bioc-LATEST/ppcseq/nebbiolo1-install.html

Test plan

  • Confirm rworkflows installs ppcseq on Ubuntu, macOS, and Windows.
  • Confirm local devtools::check() no longer fails on Stan compilation.
  • Confirm example variational fit still returns outlier calls 0,1,0 for SLC16A12, CYP1A1, ART3.

Made with Cursor

@stemangiola
stemangiola merged commit bffc698 into master Nov 11, 2026
3 checks passed
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.

1 participant