diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2023-04-15 20:00:00 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2023-04-15 20:00:00 +0200 |
commit | f215080efba4097ccdaa2d1208edd36c26d7978a (patch) | |
tree | 1acb432251018d9e51dc4640a186ec7227c70ba3 /R | |
parent | 2db19b7657b8f815c65fd4855cacecc91b695c84 (diff) |
Increase test coverage
Also, using mkin analytical solutions for more than one observed
variable is not supported (but could be if out_values would be
reordered).
Diffstat (limited to 'R')
-rw-r--r-- | R/saem.R | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -307,6 +307,10 @@ saemix_model <- function(object, solution_type = "auto", mkin_model <- object[[1]]$mkinmod + if (length(mkin_model$spec) > 1 & solution_type[1] == "analytical") { + stop("mkin analytical solutions not supported for more thane one observed variable") + } + degparms_optim <- mean_degparms(object, test_log_parms = test_log_parms) na_degparms <- names(which(is.na(degparms_optim))) if (length(na_degparms) > 0) { |