aboutsummaryrefslogtreecommitdiff
path: root/R
diff options
context:
space:
mode:
Diffstat (limited to 'R')
-rw-r--r--R/mkin_wide_to_long.R2
-rw-r--r--R/mkinfit.R4
2 files changed, 3 insertions, 3 deletions
diff --git a/R/mkin_wide_to_long.R b/R/mkin_wide_to_long.R
index f1814fcb..21a7cbe9 100644
--- a/R/mkin_wide_to_long.R
+++ b/R/mkin_wide_to_long.R
@@ -17,7 +17,7 @@
# You should have received a copy of the GNU General Public License along with
# this program. If not, see <http://www.gnu.org/licenses/>
-if(getRversion() >= '2.15.1') utils::globalVariables(c("name", "value"))
+if(getRversion() >= '2.15.1') utils::globalVariables(c("name", "time", "value"))
mkin_wide_to_long <- function(wide_data, time = "t")
{
diff --git a/R/mkinfit.R b/R/mkinfit.R
index cfd87829..e2fd2951 100644
--- a/R/mkinfit.R
+++ b/R/mkinfit.R
@@ -19,7 +19,7 @@
# You should have received a copy of the GNU General Public License along with
# this program. If not, see <http://www.gnu.org/licenses/>
-if(getRversion() >= '2.15.1') utils::globalVariables(c("name", "value"))
+if(getRversion() >= '2.15.1') utils::globalVariables(c("name", "time", "value"))
mkinfit <- function(mkinmod, observed,
parms.ini = "auto",
@@ -589,7 +589,7 @@ summary.mkinfit <- function(object, data = TRUE, distimes = TRUE, alpha = 0.05,
}
ans <- list(
- version = as.character(packageVersion("mkin")),
+ version = as.character(utils::packageVersion("mkin")),
Rversion = paste(R.version$major, R.version$minor, sep="."),
date.fit = object$date,
date.summary = date(),

Contact - Imprint