From 3d9a299a5344e03398e7a1a3fe12d22ba37d5f7f Mon Sep 17 00:00:00 2001 From: SpatLyu Date: Tue, 18 Jun 2024 14:18:14 +0800 Subject: [PATCH] make R CMD check result clean --- R/globals.R | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 R/globals.R diff --git a/R/globals.R b/R/globals.R new file mode 100644 index 00000000..d98ea83d --- /dev/null +++ b/R/globals.R @@ -0,0 +1,6 @@ +# see https://forum.posit.co/t/how-to-solve-no-visible-binding-for-global-variable-note/28887 +# or https://forum.posit.co/t/when-programming-with-dplyr-what-is-the-correct-way-to-avoid-undefined-global-variables/55946 + +utils::globalVariables(c(".", "Ecological", "Interaction", "Interactive variable", + "Q-statistic", "Risk","qstatistic", "variable", "variable1", + "variable2", "x", "zone1", "zone2"))