From 928386e34cb57f69d79f7cad9aebbfbef8926156 Mon Sep 17 00:00:00 2001 From: detule Date: Sat, 29 Nov 2025 10:21:40 +0000 Subject: [PATCH 1/3] tests/redshift: skip test on windows 4.1 --- tests/testthat/test-driver-redshift.R | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/testthat/test-driver-redshift.R b/tests/testthat/test-driver-redshift.R index af5de485..cd9ba8df 100644 --- a/tests/testthat/test-driver-redshift.R +++ b/tests/testthat/test-driver-redshift.R @@ -6,6 +6,13 @@ test_that("the 'uid' and 'pwd' arguments suppress IAM auth", { }) test_that("IAM credentials in environment variables are handled correctly", { + if(is_windows()) { + # paws.common binary tarball for windows 4.1 + # is 0.5.x which does not have paws::locate_credentials + # exported. + # For exmaple, https://cran.rstudio.com/bin/windows/contrib/4.1/ + skip_unless_r(">= 4.2") + } withr::local_envvar( AWS_ACCESS_KEY_ID = "access-key-id", AWS_SECRET_ACCESS_KEY = "secret-access-key", From 610395e71a89414286ec29261e09c35a15068525 Mon Sep 17 00:00:00 2001 From: detule Date: Sat, 29 Nov 2025 10:22:35 +0000 Subject: [PATCH 2/3] paws.common: specify version in suggestion --- DESCRIPTION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index 149bce1e..c9513142 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -36,7 +36,7 @@ Suggests: httr2, knitr, magrittr, - paws.common, + paws.common (>= 0.7.1), rmarkdown, RSQLite, testthat (>= 3.0.0), From 9302e97ecb97530ed2e8b157e9bed456d7fc7a84 Mon Sep 17 00:00:00 2001 From: detule Date: Sat, 29 Nov 2025 10:47:16 +0000 Subject: [PATCH 3/3] Revert "paws.common: specify version in suggestion" This reverts commit 610395e71a89414286ec29261e09c35a15068525. --- DESCRIPTION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index c9513142..149bce1e 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -36,7 +36,7 @@ Suggests: httr2, knitr, magrittr, - paws.common (>= 0.7.1), + paws.common, rmarkdown, RSQLite, testthat (>= 3.0.0),