From 13bcdda82ae4b1c4ef2eb3d0953b1fc9222ecb8f Mon Sep 17 00:00:00 2001 From: Nic Crane Date: Thu, 19 Jan 2023 08:56:48 +0000 Subject: [PATCH] Change data.frame to a tibble --- r/tests/testthat/test-expression.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r/tests/testthat/test-expression.R b/r/tests/testthat/test-expression.R index ccb09b9eb00..76c3671c48f 100644 --- a/r/tests/testthat/test-expression.R +++ b/r/tests/testthat/test-expression.R @@ -148,7 +148,7 @@ test_that("Nested field ref types", { }) test_that("Nested field from a non-field-ref (struct_field kernel)", { - x <- Expression$scalar(data.frame(a = 1, b = "two")) + x <- Expression$scalar(tibble::tibble(a = 1, b = "two")) expect_true(inherits(x$a, "Expression")) expect_equal(x$a$type(), float64()) expect_error(x$c, "field 'c' not found in struct")