Skip to content

Commit 3796f0e

Browse files
authored
[CI] bugfix(R): Fix testthat compatibility issues with version 3.3.0 (#2524)
1 parent eee44b5 commit 3796f0e

14 files changed

+2
-19
lines changed

R/tests/testthat.R

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ if (identical(Sys.getenv("NOT_CRAN"), "true")) {
3030
filter <- Sys.getenv("TESTTHAT_FILTER", unset = "")
3131
if (identical(filter, "")) filter <- NULL
3232

33-
reporter <- MultiReporter$new(reporters = list(
34-
ProgressReporter$new(show_praise = FALSE),
35-
CheckReporter$new(),
36-
SummaryReporter$new(show_praise = FALSE)
37-
))
38-
test_check("apache.sedona", filter = filter, reporter = reporter)
33+
# Use default reporter to avoid compatibility issues with testthat 3.3.0
34+
test_check("apache.sedona", filter = filter)
3935
}

R/tests/testthat/test-apply-spatial-partitioner.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
context("apply spatial partition")
1918

2019
sc <- testthat_spark_connection()
2120

R/tests/testthat/test-bounding-box.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
context("bounding box")
1918

2019
test_that("bounding box object works as expected", {
2120
sc <- testthat_spark_connection()

R/tests/testthat/test-build-index.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
context("build index")
1918

2019
sc <- testthat_spark_connection()
2120

R/tests/testthat/test-crs-transform.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
context("CRS transform")
1918

2019
test_that("crs_transform() works as expected", {
2120
sc <- testthat_spark_connection()

R/tests/testthat/test-data-interface-raster.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
context("data interface: raster")
1918

2019
sc <- testthat_spark_connection()
2120

R/tests/testthat/test-data-interface.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
context("data interface")
1918

2019
sc <- testthat_spark_connection()
2120

R/tests/testthat/test-dbplyr-integration.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
context("dbplyr integration")
1918

2019
sc <- testthat_spark_connection()
2120

R/tests/testthat/test-init.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
context("initialization")
1918

2019
sc <- testthat_spark_connection()
2120

R/tests/testthat/test-sdf-interface.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
context("sdf interface")
1918

2019
sc <- testthat_spark_connection()
2120

0 commit comments

Comments
 (0)