[ 
https://issues.apache.org/jira/browse/SPARK-15637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shivaram Venkataraman updated SPARK-15637:
------------------------------------------
    Assignee: Felix Cheung

> SparkR tests failing on R 3.2.2
> -------------------------------
>
>                 Key: SPARK-15637
>                 URL: https://issues.apache.org/jira/browse/SPARK-15637
>             Project: Spark
>          Issue Type: Bug
>          Components: SparkR
>    Affects Versions: 2.0.0
>            Reporter: Felix Cheung
>            Assignee: Felix Cheung
>             Fix For: 2.0.0
>
>
> As discussed in SPARK-15439
> I think we have an issue here - I"m running R 3.2.2 and the mask tests are 
> failing because:
> > R.version$minor
> [1] "2.2"
> And this is not strict enough?
> if (as.numeric(R.version$major) == 3 && as.numeric(R.version$minor) > 2)
> { namesOfMasked <- c("endsWith", "startsWith", namesOfMasked) 
> namesOfMaskedCompletely <- c("endsWith", "startsWith", 
> namesOfMaskedCompletely) }
> 1. Failure: Check masked functions (@test_context.R#35) 
> ------------------------
> length(maskedBySparkR) not equal to length(namesOfMasked).
> 1/1 mismatches
> [1] 20 - 22 == -2
> 2. Failure: Check masked functions (@test_context.R#36) 
> ------------------------
> sort(maskedBySparkR) not equal to sort(namesOfMasked).
> Lengths differ: 20 vs 22
> 3. Failure: Check masked functions (@test_context.R#44) 
> ------------------------
> length(maskedCompletely) not equal to length(namesOfMaskedCompletely).
> 1/1 mismatches
> [1] 3 - 5 == -2
> 4. Failure: Check masked functions (@test_context.R#45) 
> ------------------------
> sort(maskedCompletely) not equal to sort(namesOfMaskedCompletely).
> Lengths differ: 3 vs 5



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to