We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a62ebff commit 614f42fCopy full SHA for 614f42f
R/helpers-mcmc.R
@@ -88,11 +88,11 @@ select_parameters <-
88
if (length(explicit)) {
89
if (!all(explicit %in% complete_pars)) {
90
not_found <- which(!explicit %in% complete_pars)
91
- stop(
92
- "Some 'pars' don't match parameter names: ",
+ abort(paste(
+ "Some 'pars' don't match parameter names:",
93
paste(explicit[not_found], collapse = ", "),
94
call. = FALSE
95
- )
+ ))
96
}
97
98
@@ -105,7 +105,7 @@ select_parameters <-
105
}))
106
107
if (!length(regex_pars)) {
108
- stop("No matches for 'regex_pars'.", call. = FALSE)
+ abort("No matches for 'regex_pars'.")
109
110
111
0 commit comments