stan-dev / rstan

RStan, the R interface to Stan
https://mc-stan.org
1.04k stars 265 forks source link

R: stan_demo() Example 185 Error cannot open file 'Rate_1.data.R': No such file or directory #268

Closed dab3-2014 closed 8 years ago

dab3-2014 commented 8 years ago

Summary:

> stan_demo()

example 185, 188 and probably many others halt and issue the error:

Error in file(filename, "r", encoding = encoding) : 
  cannot open the connection
In addition: Warning message:
In file(filename, "r", encoding = encoding) :
  cannot open file 'Rate_1.data.R': No such file or directory

Description:

Following the instructions for example 3 at:
https://github.com/stan-dev/rstan/wiki/RStan-Getting-Started

I chose to download data to same directory (option 1), which is my local install directory. Then command: > model <- stan_demo(), then choosing example 185, or 188, halts with the above error.

Reproducible Steps:

Please report steps to reproduce the issue. If it's not possible to reproduce, please include a description of how you discovered the issue.

If you have a reproducible example, please include it. Examples 185, 188 from stan_demo()

Current Output:

If applicable, any relevant output from RStan.

> model <- stan_demo()

  1: ARM/Ch.10/ideo_interactions.stan
  2: ARM/Ch.10/ideo_reparam.stan
  3: ARM/Ch.10/ideo_two_pred.stan
  4: ARM/Ch.10/sesame_multi_preds_3a.stan
  5: ARM/Ch.10/sesame_multi_preds_3b.stan
  6: ARM/Ch.10/sesame_one_pred_2b.stan
  7: ARM/Ch.10/sesame_one_pred_a.stan
  8: ARM/Ch.10/sesame_one_pred_b.stan
  9: ARM/Ch.12/radon_complete_pool.stan
 10: ARM/Ch.12/radon_group_chr.stan
 11: ARM/Ch.12/radon_group.stan
 12: ARM/Ch.12/radon_intercept_chr.stan
 13: ARM/Ch.12/radon_intercept.stan
 14: ARM/Ch.12/radon_no_pool_chr.stan
 15: ARM/Ch.12/radon_no_pool.stan
 16: ARM/Ch.13/earnings_latin_square_chr.stan
 17: ARM/Ch.13/earnings_latin_square.stan
 18: ARM/Ch.13/earnings_vary_si_chr.stan
 19: ARM/Ch.13/earnings_vary_si.stan
 20: ARM/Ch.13/pilots_chr.stan
 21: ARM/Ch.13/pilots.stan
 22: ARM/Ch.13/radon_inter_vary_chr.stan
 23: ARM/Ch.13/radon_inter_vary.stan
 24: ARM/Ch.13/radon_vary_si_chr.stan
 25: ARM/Ch.13/radon_vary_si.stan
 26: ARM/Ch.13/y_x.stan
 27: ARM/Ch.14/election88_full.stan
 28: ARM/Ch.14/election88.stan
 29: ARM/Ch.14/pilots_chr.stan
 30: ARM/Ch.14/pilots.stan
 31: ARM/Ch.16/radon.1.stan
 32: ARM/Ch.16/radon.2a.stan
 33: ARM/Ch.16/radon.2b.stan
 34: ARM/Ch.16/radon.2.stan
 35: ARM/Ch.16/radon.3.stan
 36: ARM/Ch.16/radon.nopooling.stan
 37: ARM/Ch.16/radon.pooling.stan
 38: ARM/Ch.17/17.1_radon_correlation.stan
 39: ARM/Ch.17/17.1_radon_multi_varying_coef.stan
 40: ARM/Ch.17/17.1_radon_vary_inter_slope.stan
 41: ARM/Ch.17/17.1_radon_wishart2.stan
 42: ARM/Ch.17/17.1_radon_wishart.stan
 43: ARM/Ch.17/17.2_radon_correlation.stan
 44: ARM/Ch.17/17.2_radon_multi_varying_coef.stan
 45: ARM/Ch.17/17.2_radon_vary_inter_slope.stan
 46: ARM/Ch.17/17.2_radon_wishart.stan
 47: ARM/Ch.17/17.3_flight_simulator.stan
 48: ARM/Ch.17/17.4_multilevel_logistic.stan
 49: ARM/Ch.17/17.5_multilevel_poisson.stan
 50: ARM/Ch.17/17.6_multilevel_ordered_categorical.stan
 51: ARM/Ch.17/17.7_latent_glm.stan
 52: ARM/Ch.17/17.7_robit.stan
 53: ARM/Ch.18/radon.1.stan
 54: ARM/Ch.18/radon.2.stan
 55: ARM/Ch.18/radon.nopooling.stan
 56: ARM/Ch.18/radon.pooling.stan
 57: ARM/Ch.18/weight_censored.stan
 58: ARM/Ch.18/weight.stan
 59: ARM/Ch.19/election88_expansion.stan
 60: ARM/Ch.19/election88.stan
 61: ARM/Ch.19/item_response.stan
 62: ARM/Ch.19/pilots_expansion.stan
 63: ARM/Ch.19/pilots.stan
 64: ARM/Ch.19/radon_chr.stan
 65: ARM/Ch.19/radon_redundant_chr.stan
 66: ARM/Ch.19/radon_redundant.stan
 67: ARM/Ch.19/radon.stan
 68: ARM/Ch.19/schools.stan
 69: ARM/Ch.20/hiv_chr.stan
 70: ARM/Ch.20/hiv_inter_chr.stan
 71: ARM/Ch.20/hiv_inter.stan
 72: ARM/Ch.20/hiv.stan
 73: ARM/Ch.21/finite_populations.stan
 74: ARM/Ch.21/multiple_comparison.stan
 75: ARM/Ch.21/radon_vary_intercept_a.stan
 76: ARM/Ch.21/radon_vary_intercept_b.stan
 77: ARM/Ch.21/radon_vary_intercept_floor2_chr.stan
 78: ARM/Ch.21/radon_vary_intercept_floor2.stan
 79: ARM/Ch.21/radon_vary_intercept_floor_chr.stan
 80: ARM/Ch.21/radon_vary_intercept_floor.stan
 81: ARM/Ch.21/radon_vary_intercept_nofloor_chr.stan
 82: ARM/Ch.21/radon_vary_intercept_nofloor.stan
 83: ARM/Ch.21/r_sqr.stan
 84: ARM/Ch.22/anova_radon_nopred_chr.stan
 85: ARM/Ch.22/anova_radon_nopred.stan
 86: ARM/Ch.23/educational_subsidy.stan
 87: ARM/Ch.23/electric_1a_chr.stan
 88: ARM/Ch.23/electric_1a.stan
 89: ARM/Ch.23/electric_1b_chr.stan
 90: ARM/Ch.23/electric_1b.stan
 91: ARM/Ch.23/electric_1c_chr.stan
 92: ARM/Ch.23/electric_1c.stan
 93: ARM/Ch.23/electric_chr.stan
 94: ARM/Ch.23/electric_multi_preds.stan
 95: ARM/Ch.23/electric_one_pred.stan
 96: ARM/Ch.23/electric.stan
 97: ARM/Ch.23/sesame_street1.stan
 98: ARM/Ch.23/sesame_street2.stan
 99: ARM/Ch.24/dogs_check.stan
100: ARM/Ch.24/dogs_log.stan
101: ARM/Ch.24/dogs.stan
102: ARM/Ch.25/earnings2.stan
103: ARM/Ch.25/earnings_pt1.stan
104: ARM/Ch.25/earnings_pt2.stan
105: ARM/Ch.25/earnings.stan
106: ARM/Ch.3/kidiq_interaction.stan
107: ARM/Ch.3/kidiq_multi_preds.stan
108: ARM/Ch.3/kidiq_prediction.stan
109: ARM/Ch.3/kidiq_validation.stan
110: ARM/Ch.3/kidscore_momhs.stan
111: ARM/Ch.3/kidscore_momiq.stan
112: ARM/Ch.4/earn_height.stan
113: ARM/Ch.4/kidiq_interaction_c2.stan
114: ARM/Ch.4/kidiq_interaction_c.stan
115: ARM/Ch.4/kidiq_interaction.stan
116: ARM/Ch.4/kidiq_interaction_z.stan
117: ARM/Ch.4/kidscore_momwork.stan
118: ARM/Ch.4/log10earn_height.stan
119: ARM/Ch.4/logearn_height_male.stan
120: ARM/Ch.4/logearn_height.stan
121: ARM/Ch.4/logearn_interaction.stan
122: ARM/Ch.4/logearn_interaction_z.stan
123: ARM/Ch.4/logearn_logheight.stan
124: ARM/Ch.4/mesquite_log.stan
125: ARM/Ch.4/mesquite.stan
126: ARM/Ch.4/mesquite_vash.stan
127: ARM/Ch.4/mesquite_vas.stan
128: ARM/Ch.4/mesquite_va.stan
129: ARM/Ch.4/mesquite_volume.stan
130: ARM/Ch.4/nes.stan
131: ARM/Ch.5/nes_logit.stan
132: ARM/Ch.5/separation.stan
133: ARM/Ch.5/wells_d100ars.stan
134: ARM/Ch.5/wells_daae_c.stan
135: ARM/Ch.5/wells_dae_c.stan
136: ARM/Ch.5/wells_dae_inter_c.stan
137: ARM/Ch.5/wells_dae_inter.stan
138: ARM/Ch.5/wells_dae.stan
139: ARM/Ch.5/wells_dist100.stan
140: ARM/Ch.5/wells_dist.stan
141: ARM/Ch.5/wells_interaction_c.stan
142: ARM/Ch.5/wells_interaction.stan
143: ARM/Ch.5/wells_predicted_log.stan
144: ARM/Ch.5/wells_predicted.stan
145: ARM/Ch.6/earnings1.stan
146: ARM/Ch.6/earnings2.stan
147: ARM/Ch.6/wells_logit.stan
148: ARM/Ch.6/wells_probit.stan
149: ARM/Ch.7/congress.stan
150: ARM/Ch.7/earnings1.stan
151: ARM/Ch.7/earnings2.stan
152: ARM/Ch.7/earnings_interactions.stan
153: ARM/Ch.7/wells.stan
154: ARM/Ch.8/grades.stan
155: ARM/Ch.8/lightspeed.stan
156: ARM/Ch.8/roaches_overdispersion.stan
157: ARM/Ch.8/roaches.stan
158: ARM/Ch.8/unemployment.stan
159: ARM/Ch.8/y_x.stan
160: ARM/Ch.9/electric_inter.stan
161: ARM/Ch.9/electric_supp.stan
162: ARM/Ch.9/electric_trpre.stan
163: ARM/Ch.9/electric_tr.stan
164: basic_distributions/binormal.stan
165: basic_distributions/inv_wishart.stan
166: basic_distributions/normal_mixture.stan
167: basic_distributions/normal.stan
168: basic_distributions/ordered_pair.stan
169: basic_distributions/sorted_pair.stan
170: basic_distributions/triangle.stan
171: basic_distributions/uniform.stan
172: basic_distributions/wishart2.stan
173: basic_distributions/wishart2x2.stan
174: basic_distributions/wishart.stan
175: basic_estimators/bernoulli.stan
176: basic_estimators/negative_binomial2.stan
177: basic_estimators/negative_binomial.stan
178: basic_estimators/normal_censored.stan
179: basic_estimators/normal_loc.stan
180: basic_estimators/normal_mixture_k_prop.stan
181: basic_estimators/normal_mixture_k.stan
182: basic_estimators/normal_mixture.stan
183: basic_estimators/normal_multi.stan
184: basic_estimators/normal_truncated.stan
185: Bayesian_Cognitive_Modeling/GettingStarted/Rate_1_model.stan
186: Bayesian_Cognitive_Modeling/ParameterEstimation/Binomial/Rate_1_model.stan
187: Bayesian_Cognitive_Modeling/ParameterEstimation/Binomial/Rate_2_model.stan
188: Bayesian_Cognitive_Modeling/ParameterEstimation/Binomial/Rate_3_model.stan
189: Bayesian_Cognitive_Modeling/ParameterEstimation/Binomial/Rate_4_model.stan
190: Bayesian_Cognitive_Modeling/ParameterEstimation/Binomial/Rate_5_model.stan
191: Bayesian_Cognitive_Modeling/ParameterEstimation/Binomial/Survey_model.stan
192: BPA/Ch.03/GLM_Binomial.stan
193: BPA/Ch.03/GLM_Poisson.stan
194: BPA/Ch.04/GLM0.stan
195: BPA/Ch.04/GLM1.stan
196: BPA/Ch.04/GLM2.stan
197: BPA/Ch.04/GLMM1.stan
198: BPA/Ch.04/GLMM2.stan
199: BPA/Ch.04/GLMM3.stan
200: BPA/Ch.04/GLMM4.stan
201: BPA/Ch.04/GLMM5.stan
202: BPA/Ch.04/GLMM_Poisson2.stan
203: BPA/Ch.04/GLMM_Poisson.stan
204: BPA/Ch.05/ssm2.stan
205: BPA/Ch.05/ssm.stan
206: BPA/Ch.06/M0.stan
207: BPA/Ch.06/Mb.stan
208: BPA/Ch.06/Mh.stan
209: BPA/Ch.06/Mtbh.stan
210: BPA/Ch.06/Mth.stan
211: BPA/Ch.06/Mt.stan
212: BPA/Ch.06/MtX.stan
213: BPA/Ch.07/cjs_add.stan
214: BPA/Ch.07/cjs_age.stan
215: BPA/Ch.07/cjs_c_c.stan
216: BPA/Ch.07/cjs_cov_raneff.stan
217: BPA/Ch.07/cjs_group_raneff.stan
218: BPA/Ch.07/cjs_group.stan
219: BPA/Ch.07/cjs_ind_raneff.stan
220: BPA/Ch.07/cjs_mnl_age.stan
221: BPA/Ch.07/cjs_mnl_ran.stan
222: BPA/Ch.07/cjs_mnl.stan
223: BPA/Ch.07/cjs_temp_corr.stan
224: BPA/Ch.07/cjs_temp_fixeff.stan
225: BPA/Ch.07/cjs_temp_raneff.stan
226: BPA/Ch.07/cjs_trap.stan
227: BPA/Ch.07/cjs_t_t.stan
228: BPA/Ch.08/mr_mnl_age3.stan
229: BPA/Ch.08/mr_mnl_age.stan
230: BPA/Ch.08/mr_mnl.stan
231: BPA/Ch.08/mr_ss.stan
232: BPA/Ch.09/agerecruitment.stan
233: BPA/Ch.09/ladyslipper.stan
234: BPA/Ch.09/lifedead.stan
235: BPA/Ch.09/ms3_multinomlogit.stan
236: BPA/Ch.09/ms_alternative1.stan
237: BPA/Ch.09/ms_alternative2.stan
238: BPA/Ch.09/ms.stan
239: BPA/Ch.09/tempemi.stan
240: bugs_examples/vol1/blocker/blocker.stan
241: bugs_examples/vol1/bones/bones.stan
242: bugs_examples/vol1/dogs/dogs.stan
243: bugs_examples/vol1/dyes/dyes.stan
244: bugs_examples/vol1/epil/epil.stan
245: bugs_examples/vol1/equiv/equiv.stan
246: bugs_examples/vol1/inhalers/inhalers.stan
247: bugs_examples/vol1/kidney/kidney.stan
248: bugs_examples/vol1/leukfr/leukfr.stan
249: bugs_examples/vol1/leuk/leuk.stan
250: bugs_examples/vol1/litter/litter_old_param.stan
251: bugs_examples/vol1/litter/litter.stan
252: bugs_examples/vol1/lsat/lsat.stan
253: bugs_examples/vol1/magnesium/magnesium.stan
254: bugs_examples/vol1/mice/mice.stan
255: bugs_examples/vol1/oxford/oxford.stan
256: bugs_examples/vol1/pump/pump.stan
257: bugs_examples/vol1/rats/rats.stan
258: bugs_examples/vol1/rats/rats_stanified.stan
259: bugs_examples/vol1/rats/rats_vec.stan
260: bugs_examples/vol1/rats/rats_vec_unit.stan
261: bugs_examples/vol1/salm/salm2.stan
262: bugs_examples/vol1/salm/salm.stan
263: bugs_examples/vol1/seeds/seeds_centered.stan
264: bugs_examples/vol1/seeds/seeds.stan
265: bugs_examples/vol1/seeds/seeds_stanified.stan
266: bugs_examples/vol1/stacks/stacks_a_normal.stan
267: bugs_examples/vol1/stacks/stacks_b_dexp.stan
268: bugs_examples/vol1/stacks/stacks_c_t4.stan
269: bugs_examples/vol1/stacks/stacks_d_normal_ridge.stan
270: bugs_examples/vol1/stacks/stacks_e_dexp_ridge.stan
271: bugs_examples/vol1/stacks/stacks_f_t4_ridge.stan
272: bugs_examples/vol1/surgical/surgical.stan
273: bugs_examples/vol1/surgical/surgical_stanified.stan
274: bugs_examples/vol2/air/air.stan
275: bugs_examples/vol2/alli/alli2.stan
276: bugs_examples/vol2/beetles/beetles_cloglog.stan
277: bugs_examples/vol2/beetles/beetles_logit.stan
278: bugs_examples/vol2/beetles/beetles_probit.stan
279: bugs_examples/vol2/birats/birats.stan
280: bugs_examples/vol2/cervix/cervix2.stan
281: bugs_examples/vol2/dugongs/dugongs.stan
282: bugs_examples/vol2/endo/endo1.stan
283: bugs_examples/vol2/endo/endo2.stan
284: bugs_examples/vol2/endo/endo3.stan
285: bugs_examples/vol2/eyes/eyes.stan
286: bugs_examples/vol2/hearts/hearts.stan
287: bugs_examples/vol2/ice/ice.stan
288: bugs_examples/vol2/jaws/jaws.stan
289: bugs_examples/vol2/mvn_orange/mvn_orange.stan
290: bugs_examples/vol2/orange/orange.stan
291: bugs_examples/vol2/pines/fit.stan
292: bugs_examples/vol2/pines/pines-2.stan
293: bugs_examples/vol2/pines/pines-3.stan
294: bugs_examples/vol2/pines/pines-4.stan
295: bugs_examples/vol2/pines/pines-independent.stan
296: bugs_examples/vol2/pines/pines.stan
297: bugs_examples/vol2/schools/schools-1.stan
298: bugs_examples/vol2/schools/schools-2.stan
299: bugs_examples/vol2/schools/schools-3.stan
300: bugs_examples/vol2/schools/schools-4.stan
301: bugs_examples/vol2/schools/schools.stan
302: bugs_examples/vol2/stagnant/stagnant2.stan
303: bugs_examples/vol2/stagnant/stagnant.stan
304: bugs_examples/vol2/t_df/estdof.stan
305: bugs_examples/vol2/t_df/simt4.stan
306: bugs_examples/vol3/camel/camel2.stan
307: bugs_examples/vol3/camel/camel.stan
308: bugs_examples/vol3/data_cloning/seeds.stan
309: bugs_examples/vol3/fire/fire.stan
310: bugs_examples/vol3/funshapes/circle.stan
311: bugs_examples/vol3/funshapes/hsquare.stan
312: bugs_examples/vol3/funshapes/parallelogram.stan
313: bugs_examples/vol3/funshapes/ring.stan
314: bugs_examples/vol3/funshapes/squaremc.stan
315: bugs_examples/vol3/hepatitis/hepatitisME.stan
316: bugs_examples/vol3/hepatitis/hepatitis.stan
317: knitr/irt/irt_1pl_adjust.stan
318: knitr/irt/irt_1pl_fit_predict.stan
319: knitr/irt/irt_1pl_hier.stan
320: knitr/irt/irt_1pl_mle.stan
321: knitr/irt/irt_1pl_pin.stan
322: knitr/irt/irt_1pl_power.stan
323: knitr/irt/irt_1pl_predict.stan
324: knitr/irt/irt_1pl.stan
325: knitr/irt/irt_1pl_unit.stan
326: knitr/irt/irt_1pl_vague.stan
327: knitr/irt/irt_2pl_power.stan
328: knitr/irt/irt-multilevel.stan
329: knitr/irt/irt_power.stan
330: knitr/irt/irt.stan
331: knitr/pool-repeated-trials/hier-logit-centered.stan
332: knitr/pool-repeated-trials/hier-logit.stan
333: knitr/pool-repeated-trials/hier.stan
334: knitr/pool-repeated-trials/no-pool.stan
335: knitr/pool-repeated-trials/pool.stan
336: misc/cluster/lda/corr-lda.stan
337: misc/cluster/lda/lda.stan
338: misc/cluster/naive-bayes/naive-bayes.stan
339: misc/cluster/naive-bayes/naive-bayes-unsup.stan
340: misc/cluster/soft-k-means/soft-k-means.stan
341: misc/dlm/fx_equicorr.stan
342: misc/dlm/fx_factor.stan
343: misc/ecology/mark-recapture/cjs-K.stan
344: misc/ecology/mark-recapture/cjs.stan
345: misc/ecology/mark-recapture/mark-recapture-2.stan
346: misc/ecology/mark-recapture/mark-recapture-3.stan
347: misc/ecology/mark-recapture/mark-recapture.stan
348: misc/ecology/occupancy/occupancy.stan
349: misc/eight_schools/eight_schools.stan
350: misc/funnel/funnel_reparam.stan
351: misc/funnel/funnel.stan
352: misc/garch/arch1.stan
353: misc/garch/garch1_1.stan
354: misc/garch/koyck.stan
355: misc/gaussian-process/gp-fit.stan
356: misc/gaussian-process/gp-logit-predict.stan
357: misc/gaussian-process/gp-multi-sim.stan
358: misc/gaussian-process/gp-predict-analytic.stan
359: misc/gaussian-process/gp-predict.stan
360: misc/gaussian-process/gp-sim-cholesky.stan
361: misc/gaussian-process/gp-sim.stan
362: misc/hier_multivariate/hier_multivariate.stan
363: misc/hmm/hmm-analytic.stan
364: misc/hmm/hmm-semisup.stan
365: misc/hmm/hmm.stan
366: misc/hmm/hmm-sufficient.stan
367: misc/irt/irt2_multilevel.stan
368: misc/irt/irt2.stan
369: misc/irt/irt_multilevel.stan
370: misc/irt/irt.stan
371: misc/linear-regression/regression.stan
372: misc/linear-regression/regression_std.stan
373: misc/moving-avg/arma11_alt.stan
374: misc/moving-avg/arma11.stan
375: misc/moving-avg/ma2.stan
376: misc/moving-avg/maQ.stan
377: misc/moving-avg/stochastic-volatility-optimized.stan
378: misc/moving-avg/stochastic-volatility.stan
379: misc/multi-logit/multi_logit.stan
380: misc/multivariate-probit/probit-multi.stan
381: misc/nnmf/nnmf.stan
382: misc/nnmf/nnmf_vec.stan
383: misc/sur/sur_imrpoper.stan
384: misc/sur/sur.stan

Selection: 188

> k <- 5

> n <- 10

> # When you work through the code for the first time, 
> # execute each command one at a time to better understand
> # what it does.
> 
> # clears wo .... [TRUNCATED] 

> library(rstan)

> # to be passed on to Stan
> data <- read_rdump("Rate_1.data.R") 
Error in file(filename, "r", encoding = encoding) : 
  cannot open the connection
In addition: Warning message:
In file(filename, "r", encoding = encoding) :
  cannot open file 'Rate_1.data.R': No such file or directory

Expected Output:

If applicable, the output you expected from RStan.

RStan Version:

The version of RStan you are running (e.g., from packageVersion("rstan"))

> packageVersion("rstan")
[1] ‘2.9.0.3’

R Version:

The version of R you are running (e.g., from R.version.string)


> version
               _                           
platform       x86_64-pc-linux-gnu         
arch           x86_64                      
os             linux-gnu                   
system         x86_64, linux-gnu           
status                                     
major          3                           
minor          2.3                         
year           2015                        
month          12                          
day            10                          
svn rev        69752                       
language       R                           
version.string R version 3.2.3 (2015-12-10)
nickname       Wooden Christmas-Tree   

Operating System:

Your operating system (e.g., OS X 10.11.3) Linux Mint 17.3 64bit (Based on Ubuntu 14.04)

bgoodri commented 8 years ago

Thanks for reporting this bug, although these

cannot open file '*.R': No such file or directory

errors are bugs in https://github.com/stan-dev/example-models (there is supposed to be a foo.data.R file for each foo.stan file). I fixed 185, 188, and hopefully the rest of the ones under Bayesian_Cognitive_Modeling. If you find any others, please file a bug against the example-models repository.

syclik commented 8 years ago

Ben, is that requirement clear on the examples model repository? If not, could you update the wiki and contribution for that repository?

On Feb 21, 2016, at 8:00 PM, bgoodri notifications@github.com wrote:

Thanks for reporting this bug, although these

cannot open file '*.R': No such file or directory errors are bugs in https://github.com/stan-dev/example-models (there is supposed to be a foo.data.R file for each foo.stan file). I fixed 185, 188, and hopefully the rest of the ones under Bayesian_Cognitive_Modeling. If you find any others, please file a bug against the example-models repository.

— Reply to this email directly or view it on GitHub.

bgoodri commented 8 years ago

It is in README.md, which no one reads.

On Mon, Feb 22, 2016 at 8:26 AM, Daniel Lee notifications@github.com wrote:

Ben, is that requirement clear on the examples model repository? If not, could you update the wiki and contribution for that repository?

On Feb 21, 2016, at 8:00 PM, bgoodri notifications@github.com wrote:

Thanks for reporting this bug, although these

cannot open file '*.R': No such file or directory errors are bugs in https://github.com/stan-dev/example-models (there is supposed to be a foo.data.R file for each foo.stan file). I fixed 185, 188, and hopefully the rest of the ones under Bayesian_Cognitive_Modeling. If you find any others, please file a bug against the example-models repository.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/stan-dev/rstan/issues/268#issuecomment-187171393.

syclik commented 8 years ago

The problem is in the language. "should" is optional. And perhaps location. This isn't relevant for most people coming to the repo, just for contributors. Or at least the full version isn't.

I think it's time to put it on a wiki page and a CONTRBUTING.md.

On Monday, February 22, 2016, bgoodri notifications@github.com wrote:

It is in README.md, which no one reads.

On Mon, Feb 22, 2016 at 8:26 AM, Daniel Lee <notifications@github.com javascript:_e(%7B%7D,'cvml','notifications@github.com');> wrote:

Ben, is that requirement clear on the examples model repository? If not, could you update the wiki and contribution for that repository?

On Feb 21, 2016, at 8:00 PM, bgoodri <notifications@github.com javascript:_e(%7B%7D,'cvml','notifications@github.com');> wrote:

Thanks for reporting this bug, although these

cannot open file '*.R': No such file or directory errors are bugs in https://github.com/stan-dev/example-models (there is supposed to be a foo.data.R file for each foo.stan file). I fixed 185, 188, and hopefully the rest of the ones under Bayesian_Cognitive_Modeling. If you find any others, please file a bug against the example-models repository.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/stan-dev/rstan/issues/268#issuecomment-187171393.

— Reply to this email directly or view it on GitHub https://github.com/stan-dev/rstan/issues/268#issuecomment-187172478.