Skip to content

Commit 2e7c7ef

Browse files
Skip test requiring recent dbplyr (#616)
`sql_runif()` was only added in 2.4.0: https://github.com/tidyverse/dbplyr/blob/860bd6adf988a2b039485030d234eba05ee46a3c/NEWS.md?plain=1#L199
1 parent e574a61 commit 2e7c7ef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/testthat/test-dplyr.R

+1
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ test_that("all BigQuery tbls share the same src", {
174174
})
175175

176176
test_that("runif is correctly translated", {
177+
skip_if_not_installed("dbplyr", "2.4.0")
177178
expect_equal(
178179
dbplyr::translate_sql(runif(n()), con = simulate_bigrquery()),
179180
dbplyr::sql("RAND()")

0 commit comments

Comments
 (0)