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