[Bioc-devel] no visible binding warning messages
Vincent Carey 525-2265
stvjc at channing.harvard.edu
Wed Sep 12 17:25:17 CEST 2007
> Can you help me overcome warning messages that I am getting with R-2.6.0alpha.
> My package compiles without these warning messages under R-2.5.1.
>
> When running the command:
>
> R CMD check affylmGUI
>
> I get over 400 lines of warning messages like:
>
> * checking R code for possible problems ... NOTE
> affylmGUI: no visible binding for global variable
> affylmGUIenvironment
> affylmGUI: no visible binding for global variable .affylmGUIglobals
> affylmGUI : <anonymous>: no visible binding for global variable
> .affylmGUIglobals
> affyPlotMA: no visible binding for global variable
> affylmGUIenvironment
> affyPlotMA: no visible binding for global variable .affylmGUIglobals
> affyPlotMA : plotFunction: no visible binding for global variable
> .affylmGUIglobals
> ...
>
> If I set the environment variable _R_CHECK_USE_CODETOOLS_ to false,
> I don't get any of these messages and the package compiles fine - no errors, no
> warnings. However I need to remove all these warnings by the deadline date. I
If I understand correctly, a NOTE is not a WARNING, so you are not
obligated to remove it, and NOTEs should not turn your Check page
color to yellow.
If you can get rid of the NOTE by giving an initial binding for the
global variables, why not do that?
More information about the Bioc-devel
mailing list