Changeset: 4ee642d63164 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=4ee642d63164
Modified Files:
clients/R/Tests/dbi.R
clients/R/Tests/dplyr.R
clients/R/Tests/survey.R
Branch: Oct2014
Log Message:
Second arg of test run can be database name.
diffs (36 lines):
diff --git a/clients/R/Tests/dbi.R b/clients/R/Tests/dbi.R
--- a/clients/R/Tests/dbi.R
+++ b/clients/R/Tests/dbi.R
@@ -9,6 +9,8 @@ dbport <- 50000
dbname <- "mTests_clients_R"
if (length(args) > 0)
dbport <- args[[1]]
+if (length(args) > 1)
+ dbname <- args[[2]]
options(monetdb.insert.splitsize=10)
diff --git a/clients/R/Tests/dplyr.R b/clients/R/Tests/dplyr.R
--- a/clients/R/Tests/dplyr.R
+++ b/clients/R/Tests/dplyr.R
@@ -17,6 +17,8 @@ dbport <- 50000
dbname <- "mTests_clients_R"
if (length(args) > 0)
dbport <- args[[1]]
+if (length(args) > 1)
+ dbname <- args[[2]]
# old way
diff --git a/clients/R/Tests/survey.R b/clients/R/Tests/survey.R
--- a/clients/R/Tests/survey.R
+++ b/clients/R/Tests/survey.R
@@ -10,6 +10,8 @@ dbport <- 50000
dbname <- "mTests_clients_R"
if (length(args) > 0)
dbport <- args[[1]]
+if (length(args) > 1)
+ dbname <- args[[2]]
# install.packages("sqlsurvey",
repos=c("http://cran.r-project.org","http://R-Forge.R-project.org"), dep=TRUE)
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list