[R] install.packages barfs on dependencies= argument

Allan Engelhardt allane at cybaea.com
Tue Mar 15 08:57:49 CET 2011


I'm sure I used to be able to do

my.dependencies<- c("Depends", "Imports", "LinkingTo", "Suggests", "Enhances")
install.packages("animation", lib = Sys.getenv("R_LIBS_USER"), dependecies = my.dependencies)

but now I get

Error in download.file(url, destfile, method, mode = "wb", ...) :
   unused argument(s) (dependecies = c("Depends", "Imports", 
"LinkingTo", "Suggests", "Enhances"))
Warning in download.packages(pkgs, destdir = tmpd, available = available,  :
   download of package 'animation' failed

Did anything change?

Allan

 > sessionInfo()
R version 2.12.2 (2011-02-25)
Platform: x86_64-redhat-linux-gnu (64-bit)

locale:
  [1] LC_CTYPE=en_GB.utf8       LC_NUMERIC=C
  [3] LC_TIME=en_GB.utf8        LC_COLLATE=en_GB.utf8
  [5] LC_MONETARY=C             LC_MESSAGES=en_GB.utf8
  [7] LC_PAPER=en_GB.utf8       LC_NAME=C
  [9] LC_ADDRESS=C              LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_GB.utf8 LC_IDENTIFICATION=C

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

other attached packages:
[1] ctv_0.7-0

loaded via a namespace (and not attached):
[1] tools_2.12.2



More information about the R-help mailing list