Skip to content
Prev 283323 / 398498 Next

R package dev: how to export constant?

On 25.01.2012 11:17, cgenolin wrote:
LazyLoad is ignored, LazyData is not.
Either in Data and say
LazyData: yes

or in the code and export the object from the NAMESPACE, if you need it 
outside the NAMESPACE.

Since the constant from above is probbaly only used within the 
NAMESPACE; I'd define it in the ./R/ folder in an .R file without 
exporting it form the NAMESPACE.

Uwe Ligges