[Bioc-devel] using data() inside a package function
Stephanie M. Gogarten
sdmorris at u.washington.edu
Tue Aug 30 19:17:50 CEST 2011
I stored the results of a calculation in the data directory of my
package, so it can be loaded when needed by a function.
data/relationsMeanVar.RData
I then refer to this in the function as
data(relationsMeanVar)
FS <- relationsMeanVar$FullSibs
This generates a NOTE in R CMD check:
* checking R code for possible problems ... NOTE
ibdPlot: no visible binding for global variable ‘relationsMeanVar’
Is there a better way to do this?
thanks,
Stephanie Gogarten
More information about the Bioc-devel
mailing list