[Rcpp-devel] namespace error

Dirk Eddelbuettel edd at debian.org
Thu Jun 2 18:50:21 CEST 2011


On 2 June 2011 at 18:37, soeren.vogel at uzh.ch wrote:
| Hello
| 
| I have a Package called Pack with an Rcpp module Foo, which is a C++ class implemented using Rcpp module. 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.

Dirk

-- 
Gauss once played himself in a zero-sum game and won $50.
                      -- #11 at http://www.gaussfacts.com


More information about the Rcpp-devel mailing list