diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2013-12-04 05:15:38 +0100 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2013-12-04 05:33:21 +0100 |
commit | 651b27080fd20c8079f2f2744b93b7d866cc8b75 (patch) | |
tree | 248b8e59be533138b2f53fcaca30512e936a1550 /R/mkinmod.R | |
parent | 66620036c4943c03072b113a63fcd983390102b8 (diff) |
Remove mkinmod warning based on a misconception
Diffstat (limited to 'R/mkinmod.R')
-rw-r--r-- | R/mkinmod.R | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/R/mkinmod.R b/R/mkinmod.R index c743777b..2bc6ae35 100644 --- a/R/mkinmod.R +++ b/R/mkinmod.R @@ -1,6 +1,4 @@ -# $Id$
-
-# Copyright (C) 2010-2012 Johannes Ranke {{{
+# Copyright (C) 2010-2013 Johannes Ranke {{{
# Contact: jranke@uni-bremen.de
# This file is part of the R package mkin
@@ -46,19 +44,10 @@ mkinmod <- function(..., use_of_ff = "min", speclist = NULL) # fractions
if(spec[[1]]$type %in% c("FOMC", "DFOP", "HS")) {
mat = FALSE
- if(!is.null(spec[[1]]$to)) {
- message <- paste(
- "Only constant formation fractions over time are implemented.",
- "Depending on the reason for the time dependence of degradation",
- "this may be unrealistic. You may want to consider using the",
- "SFORB model",
- sep="\n")
- warning(message)
- } else message <- "ok"
} else mat = TRUE
#}}}
- # Establish list of differential equations as well as map from observed {{{
+ # Establish a list of differential equations as well as a map from observed {{{
# compartments to differential equations
for (varname in obs_vars)
{
|