[Rd] installing dependencies: binary vs source

From: Hervé Pagès <hpages_at_fhcrc.org>
Date: Thu, 11 Nov 2010 16:40:31 -0800


Installing from binaries on Windows:

> install.packages("multtest")

   Warning: dependency 'Biobase' is not available    trying URL

   Content type 'application/zip' length 1645590 bytes (1.6 Mb)    opened URL
   downloaded 1.6 Mb

   package 'multtest' successfully unpacked and MD5 sums checked

   The downloaded packages are in  


Note the warning that a dependency is missing. But still the package got installed even though it won't be loadable.

Now installing from source on Windows:

> install.packages("multtest", type="source")
   Warning: dependency 'Biobase' is not available    trying URL 'http://cran.fhcrc.org/src/contrib/multtest_2.6.0.tar.gz'    Content type 'application/x-gzip' length 1457444 bytes (1.4 Mb)    opened URL
   downloaded 1.4 Mb

   ERROR: dependency 'Biobase' is not available for package 'multtest'

   The downloaded packages are in  


   Warning message:
   In install.packages("multtest", type = "source") :      installation of package 'multtest' had non-zero exit status

Note the warning *and* ERROR.

Is this the intended behavior of install.packages() when installing from binaries?


PS: Sorry I don't have access to an R-2.13 installation where I can test this at the moment.

> sessionInfo()

   R version 2.12.0 (2010-10-15)
   Platform: x86_64-pc-mingw32/x64 (64-bit)


   [1] LC_COLLATE=English_United States.1252
   [2] LC_CTYPE=English_United States.1252
   [3] LC_MONETARY=English_United States.1252
   [5] LC_TIME=English_United States.1252

   attached base packages:
   [1] stats     graphics  grDevices utils     datasets  methods   base

Hervé Pagès

Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M2-B876
P.O. Box 19024
Seattle, WA 98109-1024

E-mail: hpages_at_fhcrc.org
Phone:  (206) 667-5791
Fax:    (206) 667-1319

R-devel_at_r-project.org mailing list
Received on Fri 12 Nov 2010 - 00:45:22 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 Sat 13 Nov 2010 - 23:40:21 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