From fdcf8762e4c97cffbcf6c64a18912645f73b135a Mon Sep 17 00:00:00 2001 From: Henrik Bengtsson Date: Mon, 23 Sep 2019 21:55:25 -0700 Subject: [PATCH] BUG FIX: Explicitly importFrom(utils,globalVariables) [#17] --- DESCRIPTION | 5 +++-- NAMESPACE | 1 + R/munsell.r | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 417bd15..4d9e34f 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -15,8 +15,9 @@ Suggests: testthat Imports: colorspace, - methods + methods, + utils License: MIT + file LICENSE URL: https://cran.r-project.org/package=munsell, https://github.com/cwickham/munsell/ -RoxygenNote: 6.0.1 +RoxygenNote: 6.1.1 diff --git a/NAMESPACE b/NAMESPACE index 7285559..b93964f 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -28,3 +28,4 @@ export(value_slice) import(colorspace) importFrom(methods,as) importFrom(stats,na.exclude) +importFrom(utils,globalVariables) diff --git a/R/munsell.r b/R/munsell.r index 8371982..cfde972 100644 --- a/R/munsell.r +++ b/R/munsell.r @@ -12,5 +12,7 @@ NULL +#' @importFrom utils globalVariables globalVariables(c("hue", "value", "chroma", "name", - "x", "y", "text.colour", "colour")) \ No newline at end of file + "x", "y", "text.colour", "colour")) + \ No newline at end of file