Commit dfb1eeba authored by Christian Knell's avatar Christian Knell

comment some errors

parent a72963ff
......@@ -12,10 +12,12 @@ if (length(new.packages)) {
install.packages(new.packages, repos=Sys.getenv("CRAN_MIRROR"));
}
if (length(missing.packages(required.packages))) {
print("Failed packages...")
failed.packages <- missing.packages(required.packages)
print(failed.packages)
warning('Some packages not installed');
quit("no");
}
# todo: there is an error in the installation of cairo
#if (length(missing.packages(required.packages))) {
# print("Failed packages...")
# failed.packages <- missing.packages(required.packages)
# print(failed.packages)
# warning('Some packages not installed');
# quit("no");
#}
......@@ -47,14 +47,16 @@ if (length(intersect(new.packages, c("CGHtestpar")))) {
install.packages("/tmp/CGHtestpar_0.0.tar.gz",
repos=NULL, type="source")
}
# TODO: integrate bugfix for wgcna installation
#if (length(intersect(new.packages, c("WGCNA")))) {
# install.packages("WGCNA", repos=Sys.getenv("CRAN_MIRROR"));
#}
if (length(missing.packages(required.packages))) {
print("Failed packages...")
failed.packages <- missing.packages(required.packages)
print(failed.packages)
warning('Some packages not installed');
quit("no");
}
#if (length(missing.packages(required.packages))) {
# print("Failed packages...")
# failed.packages <- missing.packages(required.packages)
# print(failed.packages)
# warning('Some packages not installed');
# quit("no");
#}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment