Displaying 1 result from an estimated 1 matches for "rutgersmapb36".
2012 Apr 06
2
R CMD check returns NOTE about package data set as global variable
I'm developing a package that comes with a data set called RutgersMapB36. One of the package's functions requires this data frame. A toy example is:
test<-function() {
data(RutgersMapB36)
return(RutgersMapB36[,1])
}
R CMD check returns a NOTE:
test: no visible binding for global variable 'RutgersMapB36'
Is there any way to avoid this NOTE?
Thank...