From c48c7e149c1faca0b85c1b2763a4840d5465266a Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Sat, 2 Sep 2023 00:26:17 +0300 Subject: [PATCH 1/2] Update array syntax --- inst/stan/eds.stan | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inst/stan/eds.stan b/inst/stan/eds.stan index 697bf1a..6fd7589 100755 --- a/inst/stan/eds.stan +++ b/inst/stan/eds.stan @@ -18,7 +18,7 @@ data { vector[SIZE] Y; vector[SIZE] SIGY; matrix[SIZE, NX] X; - int TAUINX[NX]; + array[NX] int TAUINX; real D; real DELTA; @@ -31,7 +31,7 @@ data { parameters { real b0; - real omega[NTAU]; + array[NTAU] real omega; vector[SIZE] uvs; vector[SIZE] nvs; vector[NX] nomega; From 02a28fdfa10a6f5e429c8932e1016b2fc24d41d3 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Fri, 8 Sep 2023 19:43:08 +0300 Subject: [PATCH 2/2] Bump rstan requirement --- DESCRIPTION | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 7d7b0bc..d96d140 100755 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -17,8 +17,8 @@ Description: It is vital to assess the heterogeneity of treatment effects HTE analysis models, and produce posterior inferences about HTE. See Wang et al. (2018) for further details. Depends: R (>= 3.4.0), Rcpp (>= 0.12.0), methods -Imports: rstan (>= 2.18.1), rstantools (>= 1.5.0), survival, loo, RcppParallel (>= 5.0.1) -LinkingTo: StanHeaders (>= 2.18.0), rstan (>= 2.18.1), BH (>= 1.66.0), Rcpp (>= 0.12.0), RcppEigen (>= 0.3.3.3.0), RcppParallel (>= 5.0.1) +Imports: rstan (>= 2.26.0), rstantools (>= 1.5.0), survival, loo, RcppParallel (>= 5.0.1) +LinkingTo: StanHeaders (>= 2.26.0), rstan (>= 2.26.0), BH (>= 1.66.0), Rcpp (>= 0.12.0), RcppEigen (>= 0.3.3.3.0), RcppParallel (>= 5.0.1) LazyData: true ByteCompile: true SystemRequirements: GNU make