ropensci / stantargets

Reproducible Bayesian data analysis pipelines with targets and cmdstanr
https://docs.ropensci.org/stantargets
Other
47 stars 9 forks source link

Accept multiple models #9

Closed wlandau closed 3 years ago

wlandau commented 3 years ago

Prework

Proposal

It is often desirable to run multiple models on the same dataset. Let's accept multiple Stan files and turn them into the appropriate targets.

wlandau commented 3 years ago

This will be a set of breaking changes. I will rename the file argument stan_files and require it to be a character. Users will no longer be able to link it to an upstream tar_compile(). That's probably fine: if I redefine some targets for this issue, there should be no reason for users to define their own compilation targets.

wlandau commented 3 years ago

Other changes:

wlandau commented 3 years ago

Implemented in #11. Sorry about the breaking changes.