[ 
https://issues.apache.org/jira/browse/SPARK-30663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17224347#comment-17224347
 ] 

Apache Spark commented on SPARK-30663:
--------------------------------------

User 'zero323' has created a pull request for this issue:
https://github.com/apache/spark/pull/30219

> Remove 1.x testthat switch once Jenkins version is updated to 2.x
> -----------------------------------------------------------------
>
>                 Key: SPARK-30663
>                 URL: https://issues.apache.org/jira/browse/SPARK-30663
>             Project: Spark
>          Issue Type: Planned Work
>          Components: SparkR, Tests
>    Affects Versions: 3.0.0
>            Reporter: Maciej Szymkiewicz
>            Priority: Minor
>
> As part of SPARK-23435 proposal we include {{testthat}} 1.x compatibility 
> mode 
> {code}
>     if (grepl("^1\\..*", packageVersion("testthat"))) {
>                          NULL,              # testthat 1.x
>                          "summary")         test_runner <- 
> testthat:::run_tests
>       reporter <- "summary"
>     } else {
>       # testthat >= 2.0.0
>       test_runner <- testthat:::test_package_dir
>       reporter <- testthat::default_reporter()
>     }
> {code}
> in {{R/pkg/tests/run-all.R}}.
> It should be removed once whole infrastructure uses {{testhat}} 2.x or later.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to