Skip to content

Commit 37db0f8

Browse files
committed
temporarily increase timeout when installing cagis data
1 parent 237b748 commit 37db0f8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

DESCRIPTION

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ Suggests:
2121
rmarkdown,
2222
dplyr,
2323
tibble,
24-
s2
24+
s2,
25+
withr
2526
Config/testthat/edition: 3
2627
URL: https://github.com/geomarker-io/codec,
2728
http://geomarker.io/codec/

R/cincy_geographies.R

+1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ cincy_county_geo <- function(vintage = as.character(2024:2013)) {
7070
#' install_cagis_data()
7171
#' sf::st_layers(install_cagis_data())$name
7272
install_cagis_data <- function(cagis_data_url = "https://www.cagis.org/Opendata/Quarterly_GIS_Data/CAGISOpenDataQ1_2025.gdb.zip") {
73+
withr::local_options(timeout = 600)
7374
cagis_gdb_name <- tools::file_path_sans_ext(basename(cagis_data_url))
7475
dest <- file.path(tools::R_user_dir(package = "codec", "data"), cagis_gdb_name)
7576
if (file.exists(dest)) {

0 commit comments

Comments
 (0)