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@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@stats.ox.ac.uk
> Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/<http://www.stats.ox.ac.uk/%7Eripley/>
> University of Oxford,             Tel:  +44 1865 272861 (self)
> 1 South Parks Road,                     +44 1865 272866 (PA)
> Oxford OX1 3TG, UK                Fax:  +44 1865 272595
>

	[[alternative HTML version deleted]]

