[R] Creating packages in 1.8
Seth Falcon
sfalcon at fhcrc.org
Fri Oct 31 18:27:09 CET 2003
Does R CMD check succeed if you unset R_HOME (or unset R_ENVIRON?).
The R shell wrapper script writes the warning message to STDOUT if
R_HOME is set to something other the setting hard-coded into the
wrapper.
This can be a problem if other scripts are depending upon the output of
R CMD <BLAH> stuff. For example, I could not build RPy until I unset
R_HOME b/c RPy's build script relies upon the output of R CMD HOME and
it didn't like "WARNING: ..." as an include path ;-)
+ seth
On Fri, Oct 31, 2003 at 02:50:39PM -0000, Crispin Miller wrote:
> Hi,
> I decided to upgrade to 1.8 today... :-)
> Anyway, we are writing our own package that is dependent on a
> bioconductor library - 'affy'.
> I've checked and when I fire up R, library(affy) behaves as expected...
> so it all seems to be installed and OK...
>
> In the DESCRIPTION file in my package source I have the line:
>
> Depends: affy
>
> When I run R CMD check simpleaffy
>
> I get to:
>
> ...
> * checking package dependencies ... ERROR
> Packages required but not available:
> WARNING: ignoring environment value of R_HOME
> Prompt >
>
> Any ideas what is going on - as far as I can see the only dependency is
> to affy which is there and OK... I get no list of packages that are
> missing :-(
>
> I'm assuming the warning comes because I have R_ENVIRON pointing to a
> .Renviron file in my home directory...
>
> Any help would be much appreciated!
> Cheers,
> Crispin
>
> --------------------------------------------------------
>
>
> This email is confidential and intended solely for the use o...{{dropped}}
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
More information about the R-help
mailing list