From 17c2b7dbcdeb121783e1ad085fa58055295fffbf Mon Sep 17 00:00:00 2001 From: Garrick Aden-Buie Date: Thu, 18 Jun 2026 10:39:26 -0400 Subject: [PATCH] fix: install archived CRAN packages from GitHub for deploy job MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #464 biclust, metricsgraphics, and rbokeh were archived on CRAN; replace with GitHub refs in Config/Needs/deploy so pak can install them. maptools is retired with no maintained GitHub source; remove the unused library() call from 12_leaflet-waste. Also bump actions/checkout@v2 → @v4 in the deploy step. --- .github/workflows/R-CMD-check.yaml | 2 +- DESCRIPTION | 6 +++--- examples/12_leaflet-waste/dashboard.Rmd | 1 - 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 2030caf8..8e9f93b2 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -34,7 +34,7 @@ jobs: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: rstudio/shiny-workflows/setup-r-package@v1 with: diff --git a/DESCRIPTION b/DESCRIPTION index b127b91c..8ce9cf14 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -66,10 +66,10 @@ Imports: Suggests: testthat Config/Needs/deploy: dplyr, ggplot2, DT, talgalili/d3heatmap, plotly, - plyr, biclust, webshot, bit, jcheng5/bubbles, digest, + plyr, Biclustering/biclust, webshot, bit, jcheng5/bubbles, digest, hadley/shinySignals, dygraphs, quantmod, forecast, highcharter, - arules, treemap, viridisLite, leaflet, metricsgraphics, rbokeh, readr, - tidyr, jsonlite, maptools, purrr, maps, hexbin + arules, treemap, viridisLite, leaflet, hrbrmstr/metricsgraphics, + hafen/rbokeh, readr, tidyr, jsonlite, purrr, maps, hexbin Config/Needs/website: rstudio/quillt Config/roxygen2/version: 8.0.0 Config/testthat/edition: 3 diff --git a/examples/12_leaflet-waste/dashboard.Rmd b/examples/12_leaflet-waste/dashboard.Rmd index c0efc13d..181e793e 100644 --- a/examples/12_leaflet-waste/dashboard.Rmd +++ b/examples/12_leaflet-waste/dashboard.Rmd @@ -12,7 +12,6 @@ output: library(flexdashboard) library(shiny) library(jsonlite) -library(maptools) library(ggplot2) library(tidyr) library(dplyr)