From 662972910c03a0793bdc922af5c7d26f33277af7 Mon Sep 17 00:00:00 2001 From: Barret Schloerke Date: Fri, 17 Oct 2025 14:28:22 -0400 Subject: [PATCH 1/3] debug: Test install on macos w/ R4.2 Related: #6702 --- .github/workflows/R-CMD-check.yaml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 8187eb0b3d..d7c21d0366 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -24,18 +24,7 @@ jobs: fail-fast: false matrix: config: - - {os: macos-latest, r: 'release'} - - - {os: windows-latest, r: 'release'} - # use 4.0 or 4.1 to check with rtools40's older compiler - - {os: windows-latest, r: 'oldrel-4'} - - - {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'} - - {os: ubuntu-latest, r: 'release'} - - {os: ubuntu-latest, r: 'oldrel-1'} - - {os: ubuntu-latest, r: 'oldrel-2'} - - {os: ubuntu-latest, r: 'oldrel-3'} - - {os: ubuntu-latest, r: 'oldrel-4'} + - {os: macos-latest, r: 'oldrel-3'} env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} From 95e7879abd8debdab607d022f04ec786cf683318 Mon Sep 17 00:00:00 2001 From: Barret Schloerke Date: Fri, 17 Oct 2025 15:41:46 -0400 Subject: [PATCH 2/3] Integrate tmate for interactive debugging in workflow --- .github/workflows/R-CMD-check.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index d7c21d0366..0137903de6 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -74,3 +74,18 @@ jobs: with: upload-snapshots: true build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")' + + + # > If the workflow run is a re-run, with debugging enabled, then it opens a tmate shell that you can ssh into for interactive debugging. + # > It uses https://github.com/mxschmitt/action-tmate internally. + # Usage: + # * Add your SSH key to your GitHub account. This action does not work without an SSH key. + # * If a workflow run fails, on the web UI select a re-run and turn on debug logging. + # * Wait until the workflow output tells you that the tmate shell is ready, and copy paste the random hostname. + # * Use ssh to log in to the VM. + - name: Debug GHA job (tmate) + uses: r-hub/actions/debug-shell@v1 + # Use `always()` as the action will skip its steps internally if debugging is not enabled and the workflow is not a re-run. + if: always() + with: + connect-timeout-seconds: "600" From 6be18a4e09eaffc7d6c09d0ad5a21f237432b711 Mon Sep 17 00:00:00 2001 From: Barret Schloerke Date: Fri, 17 Oct 2025 16:11:18 -0400 Subject: [PATCH 3/3] Replace .default_geom_element assignment with on_load function to initialize it. --- R/theme-elements.R | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/R/theme-elements.R b/R/theme-elements.R index 3f69eacfb3..77769fd448 100644 --- a/R/theme-elements.R +++ b/R/theme-elements.R @@ -353,14 +353,17 @@ element_geom <- S7::new_class( } ) -.default_geom_element <- element_geom( - ink = "black", paper = "white", accent = "#3366FF", - linewidth = 0.5, borderwidth = 0.5, - linetype = 1L, bordertype = 1L, - family = "", fontsize = 11, - pointsize = 1.5, pointshape = 19, - fill = NULL, colour = NULL -) +.default_geom_element <- NULL +on_load({ + .default_geom_element <- element_geom( + ink = "black", paper = "white", accent = "#3366FF", + linewidth = 0.5, borderwidth = 0.5, + linetype = 1L, bordertype = 1L, + family = "", fontsize = 11, + pointsize = 1.5, pointshape = 19, + fill = NULL, colour = NULL + ) +}) local({ S7::method(print, element) <- function(x, ...) {