SynapseML/tools/tests/run_r_tests.R

10 строки
293 B
R

if (!require("sparklyr")) {
packages.install("sparklyr")
library("sparklyr")
}
spark_install_tar(paste(getwd(), "/../../../../../../spark-3.4.1-bin-hadoop3.tgz", sep = ""))
options("testthat.output_file" = "../../../../r-test-results.xml")
devtools::test(reporter = JunitReporter$new())