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?

Thanks,

Brad
---
Brad McNeney
Statistics and Actuarial Science
Simon Fraser University

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to