From ripley at stats.ox.ac.uk  Mon Jun 14 16:53:47 2010
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Mon, 14 Jun 2010 15:53:47 +0100 (BST)
Subject: [Rd] Solaris build problem
In-Reply-To: <AANLkTilMkiVO1t1hBitktCJcZRWILeXkT08ERIUgmMZw@mail.gmail.com>
References: <AANLkTimNqAaT6xNep_oFb3Q6UXw4y-AwYKRsaz0AiHoL@mail.gmail.com>
	<alpine.LFD.2.00.1006141423540.31984@localhost>
	<AANLkTilMkiVO1t1hBitktCJcZRWILeXkT08ERIUgmMZw@mail.gmail.com>
Message-ID: <alpine.LFD.2.00.1006141542300.21982@gannet.stats.ox.ac.uk>

At one level the answer is easy: cxxPack was not installed at system 
level when that check was run, and I presume it was installed on the 
other build systems.

However, the vignette checker should be able to find the package from 
the copy installed for checking, soI need to dig deeper to find out 
why that did not happen.

On Mon, 14 Jun 2010, Dominick Samperi wrote:

> I guess I should have been more explicit, here is the error as it appears
> in CRAN logs for package cxxPack:
> 
> checking package vignettes in 'inst/doc' ... WARNING
> Error in loadNamespace(name) : there is no package called 'cxxPack'
> Calls: ::: ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
> Execution halted
> Error in loadNamespace(name) : there is no package called 'cxxPack'
> Calls: ::: ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
> Execution halted
> "testDotproduct.cpp", line 1: Error: Could not open include
> file<cxxPack.hpp>.
> "testDotproduct.cpp", line 2: Error: RcppExport is not defined.
> [clip]
> 
> It appears that the failure occurs at the very beginning of the vignette
> where library(cxxPack) is called, since the other errors (not able to find
> header files) would be expected after this error.
> 
> Could this be related to the parallel make problem that sometimes
> occurs under Windows? There a bug in GNU make causes one package
> to corrupt the environment of another.
> 
> Thanks,
> Dominick
> 
> On Mon, Jun 14, 2010 at 9:24 AM, Prof Brian Ripley <ripley at stats.ox.ac.uk>
> wrote:
> On Mon, 14 Jun 2010, Dominick Samperi wrote:
>
>       Hello,
>
>       I have package that builds fine under all OS's at CRAN
>       except Solaris, and
>       the Solaris problem occurs at vignette processing time:
>       the library
>       command fails. So, if a package Foo has a vignette is
>       there a problem
>       if an R code chunk runs library(Foo) from within a code
>       chunk in
>       the vignette under Solaris?
> 
> 
> Many other packages do it ...
> 
>
>       Thanks,
>       Dominick
> 
> 
> 
> 
> --
> Brian D. Ripley, ? ? ? ? ? ? ? ? ?ripley at stats.ox.ac.uk
> Professor of Applied Statistics, ?http://www.stats.ox.ac.uk/~ripley/
> University of Oxford, ? ? ? ? ? ? Tel: ?+44 1865 272861 (self)
> 1 South Parks Road, ? ? ? ? ? ? ? ? ? ? +44 1865 272866 (PA)
> Oxford OX1 3TG, UK ? ? ? ? ? ? ? ?Fax: ?+44 1865 272595
> 
> 
> 
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


[Rd] Solaris build problem
Prof Brian Ripley