Automatically install package dependencies
On May 30, 2012, at 6:36 PM, Ronaldo Reis J?nior wrote:
Hi, I have a R Package. It is working, but I can't that it install the dependencies automatically. When I try to install I receive this message:
install.packages("./RT4Bio_1.0.tar.gz",dependencies=TRUE)
Installing package(s) into '/usr/local/lib/R/site-library' (as 'lib' is unspecified) inferring 'repos = NULL' from the file name
Please read all of the messages
ERROR: dependency 'ReadImages' is not available for package 'RT4Bio'
* removing '/usr/local/lib/R/site-library/RT4Bio'
Mensagens de aviso perdidas:
In install.packages("./RT4Bio_1.0.tar.gz", dependencies = TRUE) :
installation of package './RT4Bio_1.0.tar.gz' had non-zero exit
status
But in description of the package I have this tag:
Depends: ReadImages, MASS, survival
Why R don't get the ReadImages package and install it automatically?
install.packages() is not set up to do a pan-repository scan by default. You would need to offer an argument to 'repos'.
David. > > Thanks > Ronaldo > > -- > 5? lei - Se voc? acha que est? certo e ? capaz de convencer o seu > orientador, ele ser? muito feliz. > > --Herman, I. P. 2007. Following the law. NATURE, Vol 445, p. > 228. > >> Prof. Ronaldo Reis J?nior > | .''`. UNIMONTES/DBG/Lab. Ecologia Comportamental e Computacional > | : :' : Campus Universit?rio Prof. Darcy Ribeiro, Vila Mauric?ia > | `. `'` CP: 126, CEP: 39401-089, Montes Claros - MG - Brasil > | `- Fone: (38) 3229-8192 | ronaldo.reis at unimontes.br > | http://www.ppgcb.unimontes.br/lecc | LinuxUser#: 205366 > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. David Winsemius, MD West Hartford, CT