From 28316d7d12e5430a2050e7472548b4eaf964ced6 Mon Sep 17 00:00:00 2001 From: benjaminhlina Date: Wed, 16 Sep 2026 12:07:26 -0400 Subject: [PATCH 1/2] switch to {cli} so link is formatted without the comma --- R/style_helpers.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/style_helpers.R b/R/style_helpers.R index 7822b8d..767915a 100644 --- a/R/style_helpers.R +++ b/R/style_helpers.R @@ -489,8 +489,8 @@ mapbox_style <- function(style_name) { maptiler_style <- function(style_name, variant = NULL, api_key = NULL) { if (is.null(api_key)) { if (Sys.getenv("MAPTILER_API_KEY") == "") { - rlang::abort( - "A MapTiler API key is required. Get one at https://www.maptiler.com, then supply it here or set it in your .Renviron file with 'MAPTILER_API_KEY'='YOUR_KEY_HERE'." + cli::cli_abort( + "A MapTiler API key is required. Get one at {.url https://www.maptiler.com}, then supply it here or set it in your .Renviron file with 'MAPTILER_API_KEY'='YOUR_KEY_HERE'." ) } else { api_key <- Sys.getenv("MAPTILER_API_KEY") From 0be44ca86dcedbce2d1514f626c18141b4895b4f Mon Sep 17 00:00:00 2001 From: benjaminhlina Date: Wed, 16 Sep 2026 12:07:59 -0400 Subject: [PATCH 2/2] Alphabatize the imports and suggest so one can quickly scan and know what pkgs are being imported or suggested --- DESCRIPTION | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 9f326ba..c15c49b 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -19,27 +19,28 @@ Roxygen: list(markdown = TRUE) Depends: R (>= 4.1.0) Imports: - htmlwidgets, - geojsonsf, - sf, - rlang, - htmltools, - grDevices, base64enc, - terra, classInt, - shiny, - viridisLite, - png, + cli, + geojsonsf, + grDevices, + htmltools, + htmlwidgets, + httpuv, jsonlite, - httpuv + png, + rlang, + sf, + shiny, + terra, + viridisLite Suggests: chromote, knitr, + leaflet, mapboxapi, testthat (>= 3.0.0), usethis, - leaflet, withr Config/testthat/edition: 3 Config/roxygen2/version: 8.0.0