Maciej Szymkiewicz created SPARK-30663: ------------------------------------------
Summary: 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: Bug Components: SparkR, Tests Affects Versions: 3.0.0 Reporter: Maciej Szymkiewicz 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} 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