From 3cdbc3b68a24455d6e7ec27353e3884d06efb442 Mon Sep 17 00:00:00 2001 From: jranke Date: Thu, 21 Feb 2013 22:06:54 +0000 Subject: Make the use of globalVariable() conditional on R Version >= 2.15.1, in order to make mkin build on such R versions again. git-svn-id: svn+ssh://svn.r-forge.r-project.org/svnroot/kinfit/pkg/mkin@70 edb9625f-4e0d-4859-8d74-9fd3b1da38cb --- R/mkinresplot.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'R/mkinresplot.R') diff --git a/R/mkinresplot.R b/R/mkinresplot.R index f213d8a7..524ba788 100644 --- a/R/mkinresplot.R +++ b/R/mkinresplot.R @@ -17,7 +17,7 @@ # You should have received a copy of the GNU General Public License along with # this program. If not, see -utils::globalVariables(c("variable", "residual")) +if(getRversion() >= '2.15.1') utils::globalVariables(c("variable", "residual")) mkinresplot <- function (object, obs_vars = vector(), xlab = "Time", ylab = "Residual", -- cgit v1.2.1