
Convert Distributions in Ellipsis to List
dots_to_dsts.RdFlattens distributions placed in an ellipsis argument into a list, so that the ellipsis can include distributions themselves and lists of distributions.
Value
A list of distributions contained in the ..., with NULL
entries discarded. If no distributions are present, returns list().
Details
An error is thrown if, after discarding NULL entries,
... contains non-distributions. This function is essentially a
wrapper around rlang::flatten().