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

    https://github.com/apache/spark/pull/7567#discussion_r35114903
  
    --- Diff: R/pkg/inst/tests/test_sparkSQL.R ---
    @@ -21,10 +21,10 @@ context("SparkSQL functions")
     
     # Utility function for easily checking the values of a StructField
     checkStructField <- function(actual, expectedName, expectedType, 
expectedNullable) {
    -  expect_equal(class(actual), "structField")
    -  expect_equal(actual$name(), expectedName)
    -  expect_equal(actual$dataType.toString(), expectedType)
    -  expect_equal(actual$nullable(), expectedNullable)
    +  testthat::expect_equal(class(actual), "structField")
    --- End diff --
    
    We don't need to do this -- instead we can include `library(testthat)` in 
our `lint-R` script as Jenkins and developers who run unit tests should have 
this package installed.


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