From edd at debian.org  Fri Oct  4 14:51:19 2013
From: edd at debian.org (Dirk Eddelbuettel)
Date: Fri, 4 Oct 2013 07:51:19 -0500
Subject: [Rd] check warning  with .onLoad() and setClass()
In-Reply-To: <m2fvshfd09.fsf@krugs.de>
References: <m2zjqqfybi.fsf@krugs.de>
	<AD583E37-4E49-406C-B4A8-8F13C31E9B14@r-project.org>
	<m28uy9b8tu.fsf@krugs.de>
	<21070.43875.526391.331124@max.nulle.part>
	<m2fvshfd09.fsf@krugs.de>
Message-ID: <21070.47559.867778.190980@max.nulle.part>


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

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



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