From 6f85ef53f93b3dc181a699bcbb53bc272a7d8964 Mon Sep 17 00:00:00 2001 From: dieghernan Date: Mon, 8 Jan 2024 09:59:05 +0000 Subject: [PATCH] Update tests --- .github/workflows/wipe-cache.yaml | 2 ++ tests/testthat/test-reverse_geo_lite_sf.R | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/wipe-cache.yaml b/.github/workflows/wipe-cache.yaml index 45fbff09..1a64277a 100644 --- a/.github/workflows/wipe-cache.yaml +++ b/.github/workflows/wipe-cache.yaml @@ -1,6 +1,8 @@ name: Clear all Github actions caches manually on: workflow_dispatch: + schedule: + - cron: '0 16 15 * *' jobs: cache-clear: diff --git a/tests/testthat/test-reverse_geo_lite_sf.R b/tests/testthat/test-reverse_geo_lite_sf.R index f68d4a08..843bcb54 100644 --- a/tests/testthat/test-reverse_geo_lite_sf.R +++ b/tests/testthat/test-reverse_geo_lite_sf.R @@ -214,7 +214,7 @@ test_that("Dedupe", { lats <- rep(c(40.75728, 55.95335), 50) longs <- rep(c(-73.98586, -3.188375), 50) - expect_silent(dup <- reverse_geo_lite_sf(lats, longs)) + expect_silent(dup <- reverse_geo_lite_sf(lats, longs, progressbar = FALSE)) expect_s3_class(dup, "sf") expect_s3_class(dup, "tbl")