From 675dc5248804fc7b0f1f75e6529bbffb04e27b7f Mon Sep 17 00:00:00 2001 From: jranke Date: Fri, 22 Feb 2013 18:54:39 +0000 Subject: Make the use of globalVariables() conditional on the R version git-svn-id: svn+ssh://svn.r-forge.r-project.org/svnroot/kinfit/pkg/kinfit@71 edb9625f-4e0d-4859-8d74-9fd3b1da38cb --- R/kinplot.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'R') diff --git a/R/kinplot.R b/R/kinplot.R index df21c13..4111658 100644 --- a/R/kinplot.R +++ b/R/kinplot.R @@ -18,7 +18,8 @@ # You should have received a copy of the GNU General Public License along with # this program. If not, see -utils::globalVariables("x") +if(getRversion() >= '2.15.1') utils::globalVariables("x") + kinplot <- function(kinobject, main = "", xlab = "Time [days]", ylab = "Parent [% of applied radioactivity]", -- cgit v1.2.1