From hpages at fhcrc.org  Fri Oct 19 21:12:07 2007
From: hpages at fhcrc.org (Herve Pages)
Date: Fri, 19 Oct 2007 12:12:07 -0700
Subject: [Rd] install.packages() and configure.args
Message-ID: <47190187.50507@fhcrc.org>

Hi,

In the case where install.packages("packageA") also needs to install
required package "packageB", then what is passed thru the 'configure.args'
argument seems to be lost when it's the turn of packageA to be installed
(the last package to get installed).

This is not easy to reproduce but let's say you have the graphviz libraries
installed on your system, but you don't have the graph package installed yet.
Then this

  install.packages("Rgraphviz",
                   rep="http://bioconductor.org/packages/2.1/bioc",
                   configure.args="--with-graphviz=/some/non/standard/place")

will fail because --with-graphviz=/some/non/standard/place doesn't seem to be
passed to Rgraphviz's configure script. But if you already have the graph package,
then it will work.

Cheers,
H.



[Rd] install.packages() and configure.args
Herve Pages