tests/testthat.R

library(testthat)
library(sparklyr)
library(sparkxgb)

if (identical(Sys.getenv("NOT_CRAN"), "true")) {
  # timeout for downloading Apache Spark
  options(timeout = 300)

  test_check("sparkxgb")
  on.exit({spark_disconnect_all()})
}

Try the sparkxgb package in your browser

Any scripts or data that you put into this service are public.

sparkxgb documentation built on Feb. 23, 2021, 5:16 p.m.