Re: [Rd] Solaris build problem

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Mon, 14 Jun 2010 15:53:47 +0100 (BST)

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


______________________________________________ R-devel_at_r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Received on Mon 14 Jun 2010 - 14:59:32 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 14 Jun 2010 - 16:01:07 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive