aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2020-11-08 03:19:16 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2020-11-08 03:30:22 +0100
commitd452a367d517938a6cd350383e890ed1138d2170 (patch)
tree1d55f433849b55f897b68a6c2da2bcf0fe88ddec
parent1c647363430e0db732c23feebe4293dc48978608 (diff)
The call to saemix.predict fails with DFOP-SFO
-rw-r--r--R/saemix.R6
-rw-r--r--docs/dev/index.html4
-rw-r--r--docs/dev/pkgdown.yml2
-rw-r--r--docs/dev/reference/Rplot001.pngbin1011 -> 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 @@
<h2 class="hasAnchor">
<a href="#installation" class="anchor"></a>Installation</h2>
<p>You can install the latest released version from <a href="https://cran.r-project.org/package=mkin">CRAN</a> from within R:</p>
-<div class="sourceCode" id="cb1"><pre class="downlit">
-<span class="fu"><a href="https://rdrr.io/r/utils/install.packages.html">install.packages</a></span><span class="op">(</span><span class="st">"mkin"</span><span class="op">)</span></pre></div>
+<div class="sourceCode" id="cb1"><pre class="downlit sourceCode r">
+<code class="sourceCode R"><span class="fu"><a href="https://rdrr.io/r/utils/install.packages.html">install.packages</a></span><span class="op">(</span><span class="st">"mkin"</span><span class="op">)</span></code></pre></div>
</div>
<div id="background" class="section level2">
<h2 class="hasAnchor">
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
--- a/docs/dev/reference/Rplot001.png
+++ b/docs/dev/reference/Rplot001.png
Binary files differ

Contact - Imprint