From d452a367d517938a6cd350383e890ed1138d2170 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Sun, 8 Nov 2020 03:19:16 +0100 Subject: The call to saemix.predict fails with DFOP-SFO --- R/saemix.R | 6 +++--- docs/dev/index.html | 4 ++-- docs/dev/pkgdown.yml | 2 +- docs/dev/reference/Rplot001.png | Bin 1011 -> 27839 bytes 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/R/saemix.R b/R/saemix.R index 090f0017..a038666e 100644 --- a/R/saemix.R +++ b/R/saemix.R @@ -83,14 +83,14 @@ saem.mmkin <- function(object, } fit_time <- system.time({ f_saemix <- saemix::saemix(m_saemix, d_saemix, control) - f_saemix <- saemix::saemix.predict(f_saemix) + f_saemix <- try(saemix::saemix.predict(f_saemix), silent = TRUE) }) if (suppressPlot) { grDevices::dev.off() unlink(tmp) } - transparms_optim = f_saemix@results@fixed.effects - names(transparms_optim) = f_saemix@results@name.fixed + transparms_optim <- f_saemix@results@fixed.effects + names(transparms_optim) <- f_saemix@results@name.fixed bparms_optim <- backtransform_odeparms(transparms_optim, object[[1]]$mkinmod, object[[1]]$transform_rates, diff --git a/docs/dev/index.html b/docs/dev/index.html index 16f903d8..b1b64e6d 100644 --- a/docs/dev/index.html +++ b/docs/dev/index.html @@ -112,8 +112,8 @@

Installation

You can install the latest released version from CRAN from within R:

-
-install.packages("mkin")
+
+install.packages("mkin")

diff --git a/docs/dev/pkgdown.yml b/docs/dev/pkgdown.yml index 120f4975..d9720761 100644 --- a/docs/dev/pkgdown.yml +++ b/docs/dev/pkgdown.yml @@ -10,7 +10,7 @@ articles: web_only/NAFTA_examples: NAFTA_examples.html web_only/benchmarks: benchmarks.html web_only/compiled_models: compiled_models.html -last_built: 2020-11-08T01:44Z +last_built: 2020-11-08T02:20Z urls: reference: https://pkgdown.jrwb.de/mkin/reference article: https://pkgdown.jrwb.de/mkin/articles diff --git a/docs/dev/reference/Rplot001.png b/docs/dev/reference/Rplot001.png index 17a35806..cfc5bc2b 100644 Binary files a/docs/dev/reference/Rplot001.png and b/docs/dev/reference/Rplot001.png differ -- cgit v1.2.1