View source: R/aanalyse_kinetics_helpers.R
| warn_fit_failed | R Documentation |
Shared warning for the nls-based kinetics workers. Error conditions
report a failed fit with an optional hint that the reduced
(n_params - 1) model is attempted next; warning-class conditions
report a fit accepted despite non-convergence.
warn_fit_failed(
fn,
e,
.nirs,
interval_name,
n_params = NULL,
retry = FALSE,
env = rlang::caller_env()
)
fn |
Symbol or character; the model fn named in the message. |
e |
The captured condition object. |
.nirs |
Character; the channel name. |
interval_name |
Character; the interval label. |
n_params |
Integer or |
retry |
Logical; hint that the reduced model fit is attempted next. |
env |
The calling environment or a defused call, used to report errors and warnings as coming from the user-facing function rather than the validator. |
invisible(NULL), invoked for its warning side effect.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.