diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2020-06-15 09:05:27 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2020-06-15 09:05:27 +0200 |
commit | 068b168d78c9550a77514e0c39923f8d40b48b03 (patch) | |
tree | bea0c6801e687d4e0f326ddbdbf5a0a27df8f355 /R/mkinfit.R | |
parent | e6f9e9ca89e35e610d9895b979f1351a47451db0 (diff) |
Fix a bug, update for current vdiffr
Vignette FOCUS_L failed as I had introduced a bug in the handling of
warnings.
Current vdiffr only runs visual tests if R < 4.1.0, skipping r-devel for now,
see https://github.com/r-lib/vdiffr/commit/630a29d013361fd63fea242f531e2db6aef37919
Diffstat (limited to 'R/mkinfit.R')
-rw-r--r-- | R/mkinfit.R | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/R/mkinfit.R b/R/mkinfit.R index ec2d3412..154c2a18 100644 --- a/R/mkinfit.R +++ b/R/mkinfit.R @@ -853,7 +853,7 @@ mkinfit <- function(mkinmod, observed, if (fit$convergence != 0) { convergence_warning = paste0("Optimisation did not converge:\n", fit$message) - summary_warnings <- c(warnings, convergence_warning) + summary_warnings <- c(summary_warnings, convergence_warning) warning(convergence_warning) } else { if(!quiet) message("Optimisation successfully terminated.\n") |