This question is slightly different from others on this subject -- I do indeed have a variable called "mypkgdata":
I am writing a package which ships with a data set. This data set is needed for calculations from within the package. In the DESCRIPTION file, I have specified "LazyData" for that purpose, such that the data set is always around when anyone loads the package. When I run the check, however, I get:
.getmodules2: no visible binding for global variable ‘mypkgdata’
What is the correct way of solving this problem?