Replace this kind of check for mutual exclusivity (appears in most of the endpoints, [e.g.](https://github.com/cmu-delphi/epidatr/blob/73ea679595188d25bda537cbb112b6b585ab71be/R/endpoints.R#L110)) > if (sum(!is.null(issues), !is.null(as_of)) > 1) { with [rlang::check_exclusive](https://rlang.r-lib.org/reference/check_exclusive.html) for improved readability. There's this snag though: https://github.com/r-lib/rlang/issues/1647