Skip to content

Commit

Permalink
Restores using the text file as the source of the latest XGBoot package
Browse files Browse the repository at this point in the history
  • Loading branch information
edgararuiz committed Apr 30, 2024
1 parent 33d9be4 commit addea5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/dependencies.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ spark_dependencies <- function(spark_version, scala_version, ...) {
stop(sprintf("Unsupported Scala version '%s'.", scala_version))
}
sparklyr::spark_dependency(
jars = system.file("java/sparkxgb-3.0-2.12.jar", package = "sparkxgb"),
packages = "ml.dmlc:xgboost4j-spark_2.12:2.0.3"
jars = package_file("java/sparkxgb-3.0-2.12.jar"),
packages = readLines(package_file("maven/scala_212.txt"))
)
}

Expand Down

0 comments on commit addea5c

Please sign in to comment.