[Rcpp-devel] namespace error

Laurent Gatto lg390 at cam.ac.uk
Thu Jun 2 22:51:23 CEST 2011


Dear Soeren,

On 2 June 2011 20:39,  <soeren.vogel at uzh.ch> wrote:
> On 02.06.2011, at 18:50, Dirk Eddelbuettel wrote:
>
>> On 2 June 2011 at 18:37, soeren.vogel at uzh.ch wrote:
>>
>> When R CMD CHECKing the package, I repeatedly get the error:
>> |
>> | Error: .onLoad failed in loadNamespace() for 'GUTS', details:
>> |   call: value[[3L]](cond)
>> |   error: failed to load module mod_guts from package GUTS
>> | Execution halted
>> | A namespace must be able to be loaded with just the base namespace
>> | loaded: otherwise if the namespace gets loaded by a saved object, the
>> | session will be unable to start.
>> |
>> | However, the package loads and works fine after installing, so I am confused about this error. What am I doing wrong, and how to circumvent?
>>
>> Please see the last five or ten days of the list archive.  This was discussed
>> in at least two previous threads.
>
> According to these discussions there is no way to circumvent this error, right?
>
> *S*
>

You have good chances to get rid of it using the latest svn version of Rccp:

svn checkout svn://svn.r-forge.r-project.org/svnroot/rcpp
cd rcpp/pkg
R CMD INSTALL Rcpp

Hope this helps,

Laurent

 _______________________________________________
> Rcpp-devel mailing list
> Rcpp-devel at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
>


More information about the Rcpp-devel mailing list