Skip to content
Back to formatted view

Raw Message

Message-ID: <31B29881-D739-4E27-9796-432D4C1BA04D@uzh.ch>
Date: 2011-06-02T16:37:47Z
From: soeren.vogel at uzh.ch
Subject: [Rcpp-devel] namespace error

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?

Thanks *S*