[Rd] check warning with .onLoad() and setClass()

Dirk Eddelbuettel edd at debian.org
Fri Oct 4 14:51:19 CEST 2013

On 4 October 2013 at 14:15, Rainer M Krug wrote:
| Hm. loadModule is Rcpp function, but I am only interested in using the
| setClass() function, which has nothing to do with Rcpp. I don't even use
| Rcpp in the package, only in one which is imported.

Sorry, assumed Reference Class created via Modules. My bad, and never mind.

But as John said, .onLoad() can be replaces since he made those changes in R
(and also in Rcpp). See ?setLoadAction, evalOnLoad(), ...


Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com

More information about the R-devel mailing list