summaryrefslogtreecommitdiff
path: root/R
diff options
context:
space:
mode:
authorjranke <jranke@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>2013-02-22 18:54:39 +0000
committerjranke <jranke@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>2013-02-22 18:54:39 +0000
commit675dc5248804fc7b0f1f75e6529bbffb04e27b7f (patch)
tree8a987d4062cae48d2680ba5344c0d1a3eb669eb2 /R
parent52f08978da00d7aaa40794c43a0c7ca8564030ee (diff)
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
Diffstat (limited to 'R')
-rw-r--r--R/kinplot.R3
1 files changed, 2 insertions, 1 deletions
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 <http://www.gnu.org/licenses/>
-utils::globalVariables("x")
+if(getRversion() >= '2.15.1') utils::globalVariables("x")
+
kinplot <- function(kinobject,
main = "",
xlab = "Time [days]", ylab = "Parent [% of applied radioactivity]",

Contact - Imprint