Skip to content

Commit

Permalink
Formulate check_conv()'s warning more cautiously (because it is also
Browse files Browse the repository at this point in the history
thrown if the draw-wise divergence minimizer threw only informational messages).
  • Loading branch information
fweber144 committed Nov 22, 2023
1 parent c6a3b5e commit ab6544e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/divergence_minimizers.R
Original file line number Diff line number Diff line change
Expand Up @@ -992,7 +992,7 @@ check_conv <- function(outdmin, lengths_mssgs_warns, do_check = TRUE) {
cls <- paste0("c(", paste(paste0("\"", cls, "\""), collapse = ", "), ")")
warning(
not_conv, " out of ", length(is_conv), " submodel fits (there is one ",
"submodel fit per projected draw) seem to have not converged ",
"submodel fit per projected draw) might not have converged ",
"(appropriately). It is recommended to inspect this in detail and (if ",
"necessary) to adjust tuning parameters via `...` (the ellipsis of the ",
"employed top-level function such as project(), varsel(), or ",
Expand Down

0 comments on commit ab6544e

Please sign in to comment.