some minor bugfix in installscript
This commit is contained in:
parent
2c9b268402
commit
c613710a0c
@ -3,7 +3,7 @@
|
||||
installedp<- sapply(packagesToInstall, function(pkgs){
|
||||
if(!is.element(pkgs,installed.packages()[,1])){
|
||||
install.packages(pkgs)
|
||||
if(!is.element(pkgs,installed.packages([,1]))){
|
||||
if(!is.element(pkgs,installed.packages())[,1]){
|
||||
return(FALSE)
|
||||
} else {
|
||||
return(TRUE)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user