[Rd] installing dependencies: binary vs source

Hervé Pagès hpages at fhcrc.org
Fri Nov 12 01:40:31 CET 2010


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'
   * removing 'D:/biocbld/bbs-2.7-bioc/R/library/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

More information about the R-devel mailing list