Github user shivaram commented on a diff in the pull request:

    https://github.com/apache/spark/pull/12426#discussion_r61354381
  
    --- Diff: R/pkg/inst/tests/testthat/test_context.R ---
    @@ -141,3 +141,8 @@ test_that("sparkJars sparkPackages as comma-separated 
strings", {
       expect_that(processSparkJars(f), not(gives_warning()))
       expect_match(processSparkJars(f), f)
     })
    +
    +test_that("sparkLapply should perform simple transforms", {
    +  doubled <- spark.lapply(1:10, function(x){2 * x})
    +  expect_equal(doubled, as.list(2 * 1:10))
    +})
    --- End diff --
    
    Would be good to add a test where we capture some environment variables 
and/or use a package. Also we should update 
https://github.com/apache/spark/blob/master/docs/sparkr.md but we can open 
another JIRA for that I guess.


---
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]

Reply via email to