On 25.03.2015 21:15, Joshua N Pritikin wrote:
CRAN check is issuing a complaint,

Found the following calls to data() loading into the global environment:
File ‘OpenMx/R/MxAlgebra.R’:
   data(omxSymbolTable)
See section ‘Good practice’ in ‘?data’.

Which says "use a file ‘R/sysdata.rda’". So why do you use 'R/omxSymbolTable.rda' then?

Best,
Uwe Ligges



I tried placing an rda file in the package's R/ directory, but now I get
a new CRAN check complaint,

Subdirectory 'R' contains invalid file names:
   ‘omxSymbolTable.rda’

Furthermore, I can't figure out how to load this file. I found this 2013
post,

http://r.789695.n4.nabble.com/Good-practice-for-data-for-R-packages-td4660313.html

"The objects will be available in your NAMESPACE." -- I don't
understand. Can somebody clarify?

Thanks.


______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to