Mercurial > repos > mzytnicki > s_mart
changeset 116:36a3781a5000 draft
Uploaded
author | mzytnicki |
---|---|
date | Wed, 24 Apr 2013 07:22:11 -0400 |
parents | 0d59e2319246 |
children | c1acfc0abcd1 |
files | tool_dependencies.xml |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tool_dependencies.xml Wed Apr 24 06:32:00 2013 -0400 +++ b/tool_dependencies.xml Wed Apr 24 07:22:11 2013 -0400 @@ -6,8 +6,8 @@ <package name="R_PACKAGES" version="1.0"> <install version="1.0"> <actions> - <action type="shell_command">R --slave --no-save --no-restore --quiet -e 'if (!require("RColorBrewer")){install.packages("RColorBrewer", repos = c("http://cran.rstudio.com/"), dependencies = TRUE)}'</action> - <action type="shell_command">R --slave --no-save --no-restore --quiet -e 'if (!require("Hmisc")){install.packages("Hmisc", repos = c("http://cran.rstudio.com/"), dependencies = TRUE)}'</action> + <action type="shell_command">R --slave --no-save --no-restore --quiet -e 'if("RColorBrewer" %in% rownames(installed.packages()) == FALSE){install.packages("RColorBrewer", repos = c("http://cran.rstudio.com/"), dependencies = TRUE)}'</action> + <action type="shell_command">R --slave --no-save --no-restore --quiet -e 'if("Hmisc" %in% rownames(installed.packages()) == FALSE){install.packages("Hmisc", repos = c("http://cran.rstudio.com/"), dependencies = TRUE)}'</action> </actions> </install> <readme>