Github user shivaram commented on a diff in the pull request:
https://github.com/apache/spark/pull/13635#discussion_r67584715
--- Diff: R/pkg/inst/tests/testthat/test_context.R ---
@@ -156,7 +160,8 @@ test_that("sparkJars sparkPackages as comma-separated
strings", {
})
test_that("spark.lapply should perform simple transforms", {
- sc <- sparkR.init()
+ sc <- sparkR.sparkContext()
doubled <- spark.lapply(sc, 1:10, function(x) { 2 * x })
--- End diff --
Again not related to this PR, but we should remove the need to pass in a
SparkContext to this function similar to the DataFrame ones. I'll file a new
JIRA for this
cc @thunterdb @mengxr
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]