I'm composing a package in R 3.1.2, with RStudio, using the devtools package. When I check() the package, there is one persistent note to the effect that there is "no visible binding for global variable"...
I have read several threads that suggest assigning my offending variables to NULL, to using globalVariables(), and that pronounce anathema on globalVariables(). Nothing is working for me, unhappily. I'm happy to do anything that works, including submitting my package with the NOTE I'm getting, and keeping my fingers crossed.
But before I submit as is, can anyone enlighten me as to why one should try to avoid a the situation that generates the NOTE? Should I care?
Details: I am initializing an object in .onAttach() and assign()ing it into the global environment. I understand this may be bad practice.