metrumresearchgroup / mrgsolve

Simulate from ODE-based population PK/PD and QSP models in R
https://mrgsolve.org
GNU General Public License v2.0
131 stars 36 forks source link

Check spec for duplicate blocks and allow multiple $PLUGIN #1238

Closed kylebaron closed 2 months ago

kylebaron commented 2 months ago

This PR adds clarity around where we do and do not allow multiple blocks, adding tests for places where multiples aren't allowed.

We also now allow multiple $PLUGIN blocks. I don't anticipate this getting used a lot, but allowing multiples here, I think, adds clarity to the list of blocks where we don't allow multiples.

Note: we'll have to add $EVENT to the list where we don't allow multiples when that PR comes through.

1204