Skip to content
Back to formatted view

Raw Message

Message-ID: <19943.48973.88198.950151@max.nulle.part>
Date: 2011-06-02T16:50:21Z
From: Dirk Eddelbuettel
Subject: [Rcpp-devel] namespace error
In-Reply-To: <31B29881-D739-4E27-9796-432D4C1BA04D@uzh.ch>

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