Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-15637

SparkR tests failing on R 3.2.2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • SparkR
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              felixcheung Felix Cheung
              felixcheung Felix Cheung
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: