From 1fe06574e7b2af7f51d6b0572b81be9660b6e3f4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Feb 2024 18:08:25 +0000 Subject: [PATCH 01/11] Bump Vampire/setup-wsl from 2 to 3 Bumps [Vampire/setup-wsl](https://github.com/vampire/setup-wsl) from 2 to 3. - [Release notes](https://github.com/vampire/setup-wsl/releases) - [Commits](https://github.com/vampire/setup-wsl/compare/v2...v3) --- updated-dependencies: - dependency-name: Vampire/setup-wsl dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/R-CMD-check-wsl.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/R-CMD-check-wsl.yaml b/.github/workflows/R-CMD-check-wsl.yaml index df3c423f..29c9d908 100644 --- a/.github/workflows/R-CMD-check-wsl.yaml +++ b/.github/workflows/R-CMD-check-wsl.yaml @@ -58,7 +58,7 @@ jobs: install.packages("curl") shell: Rscript {0} - - uses: Vampire/setup-wsl@v2 + - uses: Vampire/setup-wsl@v3 with: distribution: Ubuntu-22.04 use-cache: 'false' From ce557ad8ac68ad57f040040964248de83afcb6c0 Mon Sep 17 00:00:00 2001 From: Ven Popov Date: Tue, 19 Mar 2024 15:26:55 +0100 Subject: [PATCH 02/11] add tests showing failure of inv_metric for 1 parameter --- tests/testthat/test-model-sample-metric.R | 36 +++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/tests/testthat/test-model-sample-metric.R b/tests/testthat/test-model-sample-metric.R index 38159d40..7163b4c8 100644 --- a/tests/testthat/test-model-sample-metric.R +++ b/tests/testthat/test-model-sample-metric.R @@ -54,6 +54,42 @@ test_that("sample() method works with provided inv_metrics", { }) +test_that("sample() method works with inv_metrics extracted from previous fit", { + expect_sample_output(fit_r <- mod$sample(data = data_list, + chains = 2, + seed = 123)) + inv_metric_vector <- fit_r$inv_metric(matrix = FALSE) + inv_metric_matrix <- fit_r$inv_metric() + + expect_equal(dim(inv_metric_vector[[1]]), 1) + expect_equal(dim(inv_metric_matrix[[1]]), c(1, 1)) + + expect_silent(expect_sample_output(fit_r <- mod$sample(data = data_list, + chains = 1, + metric = "diag_e", + inv_metric = inv_metric_vector[[1]], + seed = 123))) + + expect_silent(expect_sample_output(fit_r <- mod$sample(data = data_list, + chains = 1, + metric = "dense_e", + inv_metric = inv_metric_matrix[[1]], + seed = 123))) + + expect_silent(expect_sample_output(fit_r <- mod$sample(data = data_list, + chains = 2, + metric = "diag_e", + inv_metric = inv_metric_vector, + seed = 123))) + + expect_silent(expect_sample_output(fit_r <- mod$sample(data = data_list, + chains = 2, + metric = "dense_e", + inv_metric = inv_metric_matrix, + seed = 123))) +}) + + test_that("sample() method works with lists of inv_metrics", { inv_metric_vector <- array(1, dim = c(1)) inv_metric_vector_json <- test_path("resources", "metric", "bernoulli.inv_metric.diag_e.json") From 69135f4d0f3e70484946794e57456727f71f2106 Mon Sep 17 00:00:00 2001 From: Ven Popov Date: Tue, 19 Mar 2024 15:48:35 +0100 Subject: [PATCH 03/11] fix case with matrix=FALSE and 1 parameter --- R/args.R | 3 +++ R/fit.R | 3 +++ 2 files changed, 6 insertions(+) diff --git a/R/args.R b/R/args.R index c885bb2e..6dcf8095 100644 --- a/R/args.R +++ b/R/args.R @@ -254,6 +254,9 @@ SampleArgs <- R6::R6Class( fileext = ".json" ) for (i in seq_along(inv_metric_paths)) { + if (length(inv_metric[[i]] == 1) && metric == "diag_e") { + inv_metric[[i]] <- array(inv_metric[[i]], dim = c(1)) + } write_stan_json(list(inv_metric = inv_metric[[i]]), inv_metric_paths[i]) } diff --git a/R/fit.R b/R/fit.R index cc1e2e53..7fafcd6b 100644 --- a/R/fit.R +++ b/R/fit.R @@ -1743,6 +1743,9 @@ inv_metric <- function(matrix = TRUE) { if (matrix && !is.matrix(out[[1]])) { # convert each vector to a diagonal matrix out <- lapply(out, diag) + } else if (length(out[[1]]) == 1) { + # convert each scalar to a 1x1 matrix + out <- lapply(out, array, dim = c(1)) } out } From daa111d9c4f664dc0de966a254b719eb26c2baac Mon Sep 17 00:00:00 2001 From: Ven Popov Date: Tue, 19 Mar 2024 16:20:15 +0100 Subject: [PATCH 04/11] fix empty matrix inv_metric with 1 parameter --- R/args.R | 2 +- R/fit.R | 4 +-- tests/testthat/test-model-sample-metric.R | 40 ++++++++++++++++++++++- 3 files changed, 42 insertions(+), 4 deletions(-) diff --git a/R/args.R b/R/args.R index 6dcf8095..7b4a8686 100644 --- a/R/args.R +++ b/R/args.R @@ -254,7 +254,7 @@ SampleArgs <- R6::R6Class( fileext = ".json" ) for (i in seq_along(inv_metric_paths)) { - if (length(inv_metric[[i]] == 1) && metric == "diag_e") { + if (length(inv_metric[[i]]) == 1 && metric == "diag_e") { inv_metric[[i]] <- array(inv_metric[[i]], dim = c(1)) } write_stan_json(list(inv_metric = inv_metric[[i]]), inv_metric_paths[i]) diff --git a/R/fit.R b/R/fit.R index 7fafcd6b..99feca4c 100644 --- a/R/fit.R +++ b/R/fit.R @@ -1742,9 +1742,9 @@ inv_metric <- function(matrix = TRUE) { out <- private$inv_metric_ if (matrix && !is.matrix(out[[1]])) { # convert each vector to a diagonal matrix - out <- lapply(out, diag) + out <- lapply(out, function(x) diag(x, nrow = length(x))) } else if (length(out[[1]]) == 1) { - # convert each scalar to a 1x1 matrix + # convert each scalar to an array with dimension 1 out <- lapply(out, array, dim = c(1)) } out diff --git a/tests/testthat/test-model-sample-metric.R b/tests/testthat/test-model-sample-metric.R index 7163b4c8..422442fa 100644 --- a/tests/testthat/test-model-sample-metric.R +++ b/tests/testthat/test-model-sample-metric.R @@ -4,6 +4,9 @@ set_cmdstan_path() mod <- testing_model("bernoulli") data_list <- testing_data("bernoulli") +mod2 <- testing_model("logistic") +data_list2 <- testing_data("logistic") + test_that("sample() method works with provided inv_metrics", { inv_metric_vector <- array(1, dim = c(1)) @@ -54,7 +57,7 @@ test_that("sample() method works with provided inv_metrics", { }) -test_that("sample() method works with inv_metrics extracted from previous fit", { +test_that("sample() method works with inv_metrics extracted from previous fit with 1 parameter", { expect_sample_output(fit_r <- mod$sample(data = data_list, chains = 2, seed = 123)) @@ -89,6 +92,41 @@ test_that("sample() method works with inv_metrics extracted from previous fit", seed = 123))) }) +test_that("sample() method works with inv_metrics extracted from previous fit with > 1 parameter", { + expect_sample_output(fit_r <- mod2$sample(data = data_list2, + chains = 2, + seed = 123)) + inv_metric_vector <- fit_r$inv_metric(matrix = FALSE) + inv_metric_matrix <- fit_r$inv_metric() + + expect_equal(length(inv_metric_vector[[1]]), 4) + expect_equal(dim(inv_metric_matrix[[1]]), c(4, 4)) + + expect_silent(expect_sample_output(fit_r <- mod2$sample(data = data_list2, + chains = 1, + metric = "diag_e", + inv_metric = inv_metric_vector[[1]], + seed = 123))) + + expect_silent(expect_sample_output(fit_r <- mod2$sample(data = data_list2, + chains = 1, + metric = "dense_e", + inv_metric = inv_metric_matrix[[1]], + seed = 123))) + + expect_silent(expect_sample_output(fit_r <- mod2$sample(data = data_list2, + chains = 2, + metric = "diag_e", + inv_metric = inv_metric_vector, + seed = 123))) + + expect_silent(expect_sample_output(fit_r <- mod2$sample(data = data_list2, + chains = 2, + metric = "dense_e", + inv_metric = inv_metric_matrix, + seed = 123))) +}) + test_that("sample() method works with lists of inv_metrics", { inv_metric_vector <- array(1, dim = c(1)) From 9a6aebcd0a422cb5ae86966880f9c70b4aa76616 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Mar 2024 18:22:13 +0000 Subject: [PATCH 05/11] Bump r-lib/actions from 2.8.2 to 2.8.4 Bumps [r-lib/actions](https://github.com/r-lib/actions) from 2.8.2 to 2.8.4. - [Release notes](https://github.com/r-lib/actions/releases) - [Commits](https://github.com/r-lib/actions/compare/v2.8.2...v2.8.4) --- updated-dependencies: - dependency-name: r-lib/actions dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/R-CMD-check-wsl.yaml | 4 ++-- .github/workflows/R-CMD-check.yaml | 4 ++-- .github/workflows/Test-coverage.yaml | 8 ++++---- .github/workflows/cmdstan-tarball-check.yaml | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/R-CMD-check-wsl.yaml b/.github/workflows/R-CMD-check-wsl.yaml index b24a728c..f0244dff 100644 --- a/.github/workflows/R-CMD-check-wsl.yaml +++ b/.github/workflows/R-CMD-check-wsl.yaml @@ -37,11 +37,11 @@ jobs: - uses: actions/checkout@v4 - - uses: r-lib/actions/setup-r@v2.8.2 + - uses: r-lib/actions/setup-r@v2.8.4 with: r-version: 'release' rtools-version: '42' - - uses: r-lib/actions/setup-pandoc@v2.8.2 + - uses: r-lib/actions/setup-pandoc@v2.8.4 - name: Query dependencies run: | diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 1ff60668..9e22daf0 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -57,11 +57,11 @@ jobs: sudo apt-get install -y libcurl4-openssl-dev || true sudo apt-get install -y openmpi-bin openmpi-common libopenmpi-dev || true - - uses: r-lib/actions/setup-r@v2.8.2 + - uses: r-lib/actions/setup-r@v2.8.4 with: r-version: ${{ matrix.config.r }} rtools-version: ${{ matrix.config.rtools }} - - uses: r-lib/actions/setup-pandoc@v2.8.2 + - uses: r-lib/actions/setup-pandoc@v2.8.4 - name: Query dependencies run: | diff --git a/.github/workflows/Test-coverage.yaml b/.github/workflows/Test-coverage.yaml index 69c19fdc..428e9e6e 100644 --- a/.github/workflows/Test-coverage.yaml +++ b/.github/workflows/Test-coverage.yaml @@ -34,8 +34,8 @@ jobs: if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/master'" - uses: actions/checkout@v4 - - uses: r-lib/actions/setup-r@v2.8.2 - - uses: r-lib/actions/setup-pandoc@v2.8.2 + - uses: r-lib/actions/setup-r@v2.8.4 + - uses: r-lib/actions/setup-pandoc@v2.8.4 - name: Install Ubuntu dependencies run: | @@ -85,12 +85,12 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: r-lib/actions/setup-r@v2.8.2 + - uses: r-lib/actions/setup-r@v2.8.4 with: r-version: 'release' rtools-version: '42' - - uses: r-lib/actions/setup-pandoc@v2.8.2 + - uses: r-lib/actions/setup-pandoc@v2.8.4 - name: Query dependencies run: | diff --git a/.github/workflows/cmdstan-tarball-check.yaml b/.github/workflows/cmdstan-tarball-check.yaml index fd995436..57769447 100644 --- a/.github/workflows/cmdstan-tarball-check.yaml +++ b/.github/workflows/cmdstan-tarball-check.yaml @@ -40,12 +40,12 @@ jobs: sudo apt-get install -y libcurl4-openssl-dev || true sudo apt-get install -y openmpi-bin openmpi-common libopenmpi-dev || true - - uses: r-lib/actions/setup-r@v2.8.2 + - uses: r-lib/actions/setup-r@v2.8.4 with: r-version: ${{ matrix.config.r }} rtools-version: ${{ matrix.config.rtools }} - - uses: r-lib/actions/setup-pandoc@v2.8.2 + - uses: r-lib/actions/setup-pandoc@v2.8.4 - name: Query dependencies run: | From c8d64921c7823e19bb76776a2afdadf8f5e0932b Mon Sep 17 00:00:00 2001 From: gowerc Date: Tue, 2 Apr 2024 18:08:05 +0100 Subject: [PATCH 06/11] Added coercion generics --- NAMESPACE | 7 ++++++ R/generics.R | 54 +++++++++++++++++++++++++++++++++++++++++ man/cmdstan_coercion.Rd | 37 ++++++++++++++++++++++++++++ 3 files changed, 98 insertions(+) create mode 100644 R/generics.R create mode 100644 man/cmdstan_coercion.Rd diff --git a/NAMESPACE b/NAMESPACE index c8a6217d..559452fb 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -6,6 +6,13 @@ S3method(as_draws,CmdStanMCMC) S3method(as_draws,CmdStanMLE) S3method(as_draws,CmdStanPathfinder) S3method(as_draws,CmdStanVB) +export(as.CmdStanDiagnose) +export(as.CmdStanGQ) +export(as.CmdStanLaplace) +export(as.CmdStanMCMC) +export(as.CmdStanMLE) +export(as.CmdStanPathfinder) +export(as.CmdStanVB) export(as_cmdstan_fit) export(as_draws) export(as_mcmc.list) diff --git a/R/generics.R b/R/generics.R new file mode 100644 index 00000000..663cb859 --- /dev/null +++ b/R/generics.R @@ -0,0 +1,54 @@ + +#' Coercion methods for CmdStan objects +#' +#' These methods are used to coerce objects into `cmdstanr` objects. +#' Primarily intended for other packages to use when interfacing +#' with `cmdstanr`. +#' +#' @param object to be coerced +#' @param ... additional arguments +#' +#' @name cmdstan_coercion +NULL + +#' @rdname cmdstan_coercion +#' @export +as.CmdStanMCMC <- function(object, ...) { + UseMethod("as.CmdStanMCMC") +} + +#' @rdname cmdstan_coercion +#' @export +as.CmdStanMLE <- function(object, ...) { + UseMethod("as.CmdStanMLE") +} + +#' @rdname cmdstan_coercion +#' @export +as.CmdStanLaplace <- function(object, ...) { + UseMethod("as.CmdStanLaplace") +} + +#' @rdname cmdstan_coercion +#' @export +as.CmdStanVB <- function(object, ...) { + UseMethod("as.CmdStanVB") +} + +#' @rdname cmdstan_coercion +#' @export +as.CmdStanPathfinder <- function(object, ...) { + UseMethod("as.CmdStanPathfinder") +} + +#' @rdname cmdstan_coercion +#' @export +as.CmdStanGQ <- function(object, ...) { + UseMethod("as.CmdStanGQ") +} + +#' @rdname cmdstan_coercion +#' @export +as.CmdStanDiagnose <- function(object, ...) { + UseMethod("as.CmdStanDiagnose") +} diff --git a/man/cmdstan_coercion.Rd b/man/cmdstan_coercion.Rd new file mode 100644 index 00000000..d2d2b483 --- /dev/null +++ b/man/cmdstan_coercion.Rd @@ -0,0 +1,37 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/generics.R +\name{cmdstan_coercion} +\alias{cmdstan_coercion} +\alias{as.CmdStanMCMC} +\alias{as.CmdStanMLE} +\alias{as.CmdStanLaplace} +\alias{as.CmdStanVB} +\alias{as.CmdStanPathfinder} +\alias{as.CmdStanGQ} +\alias{as.CmdStanDiagnose} +\title{Coercion methods for CmdStan objects} +\usage{ +as.CmdStanMCMC(object, ...) + +as.CmdStanMLE(object, ...) + +as.CmdStanLaplace(object, ...) + +as.CmdStanVB(object, ...) + +as.CmdStanPathfinder(object, ...) + +as.CmdStanGQ(object, ...) + +as.CmdStanDiagnose(object, ...) +} +\arguments{ +\item{object}{to be coerced} + +\item{...}{additional arguments} +} +\description{ +These methods are used to coerce objects into \code{cmdstanr} objects. +Primarily intended for other packages to use when interfacing +with \code{cmdstanr}. +} From 1a07f461361fc938dd805051119d30698e5be73e Mon Sep 17 00:00:00 2001 From: jgabry Date: Wed, 17 Apr 2024 12:21:10 -0600 Subject: [PATCH 07/11] Update error message when using rvar draws format closes #582 --- R/utils.R | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/R/utils.R b/R/utils.R index 9764ec36..ca1ae550 100644 --- a/R/utils.R +++ b/R/utils.R @@ -396,8 +396,9 @@ assert_valid_draws_format <- function(format) { } if (format %in% c("rvars", "draws_rvars")) { stop( - "\nWe are fixing a bug in fit$draws(format = 'draws_rvars').", - "\nFor now please use posterior::as_draws_rvars(fit$draws()) instead." + "\nTo use the rvar format please convert after extracting the draws, ", + "e.g., posterior::as_draws_rvars(fit$draws()).", + call. = FALSE ) } } From 4a6dd9d37ba2efee34a677bf99f7c7bbd0a9578e Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Thu, 18 Apr 2024 21:36:13 +0300 Subject: [PATCH 08/11] Add handling for new rtools version --- R/install.R | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/R/install.R b/R/install.R index 7d92f5e9..995c14a9 100644 --- a/R/install.R +++ b/R/install.R @@ -855,8 +855,10 @@ rtools4x_version <- function() { rtools_ver <- "40" } else if (R.version$minor < "3.0") { rtools_ver <- "42" - } else { + } else if (R.version$minor < "5.0") { rtools_ver <- "43" + } else { + rtools_ver <- "44" } rtools_ver } From 920b70b40b105f9365d1cc7ff36a527148d515d1 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Thu, 18 Apr 2024 21:41:13 +0300 Subject: [PATCH 09/11] Bump r-lib actions --- .github/workflows/R-CMD-check-wsl.yaml | 4 ++-- .github/workflows/R-CMD-check.yaml | 4 ++-- .github/workflows/Test-coverage.yaml | 8 ++++---- .github/workflows/cmdstan-tarball-check.yaml | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/R-CMD-check-wsl.yaml b/.github/workflows/R-CMD-check-wsl.yaml index f0244dff..0535c9bf 100644 --- a/.github/workflows/R-CMD-check-wsl.yaml +++ b/.github/workflows/R-CMD-check-wsl.yaml @@ -37,11 +37,11 @@ jobs: - uses: actions/checkout@v4 - - uses: r-lib/actions/setup-r@v2.8.4 + - uses: r-lib/actions/setup-r@v2.8.7 with: r-version: 'release' rtools-version: '42' - - uses: r-lib/actions/setup-pandoc@v2.8.4 + - uses: r-lib/actions/setup-pandoc@v2.8.7 - name: Query dependencies run: | diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 9e22daf0..9830ff5d 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -57,11 +57,11 @@ jobs: sudo apt-get install -y libcurl4-openssl-dev || true sudo apt-get install -y openmpi-bin openmpi-common libopenmpi-dev || true - - uses: r-lib/actions/setup-r@v2.8.4 + - uses: r-lib/actions/setup-r@v2.8.7 with: r-version: ${{ matrix.config.r }} rtools-version: ${{ matrix.config.rtools }} - - uses: r-lib/actions/setup-pandoc@v2.8.4 + - uses: r-lib/actions/setup-pandoc@v2.8.7 - name: Query dependencies run: | diff --git a/.github/workflows/Test-coverage.yaml b/.github/workflows/Test-coverage.yaml index 428e9e6e..7e32303d 100644 --- a/.github/workflows/Test-coverage.yaml +++ b/.github/workflows/Test-coverage.yaml @@ -34,8 +34,8 @@ jobs: if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/master'" - uses: actions/checkout@v4 - - uses: r-lib/actions/setup-r@v2.8.4 - - uses: r-lib/actions/setup-pandoc@v2.8.4 + - uses: r-lib/actions/setup-r@v2.8.7 + - uses: r-lib/actions/setup-pandoc@v2.8.7 - name: Install Ubuntu dependencies run: | @@ -85,12 +85,12 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: r-lib/actions/setup-r@v2.8.4 + - uses: r-lib/actions/setup-r@v2.8.7 with: r-version: 'release' rtools-version: '42' - - uses: r-lib/actions/setup-pandoc@v2.8.4 + - uses: r-lib/actions/setup-pandoc@v2.8.7 - name: Query dependencies run: | diff --git a/.github/workflows/cmdstan-tarball-check.yaml b/.github/workflows/cmdstan-tarball-check.yaml index 57769447..d9869f78 100644 --- a/.github/workflows/cmdstan-tarball-check.yaml +++ b/.github/workflows/cmdstan-tarball-check.yaml @@ -40,12 +40,12 @@ jobs: sudo apt-get install -y libcurl4-openssl-dev || true sudo apt-get install -y openmpi-bin openmpi-common libopenmpi-dev || true - - uses: r-lib/actions/setup-r@v2.8.4 + - uses: r-lib/actions/setup-r@v2.8.7 with: r-version: ${{ matrix.config.r }} rtools-version: ${{ matrix.config.rtools }} - - uses: r-lib/actions/setup-pandoc@v2.8.4 + - uses: r-lib/actions/setup-pandoc@v2.8.7 - name: Query dependencies run: | From 2647de60df592384b328c803f5ea10a75bba272e Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Thu, 18 Apr 2024 22:00:11 +0300 Subject: [PATCH 10/11] Fix WSL rtools mismatch --- .github/workflows/R-CMD-check-wsl.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/R-CMD-check-wsl.yaml b/.github/workflows/R-CMD-check-wsl.yaml index 0535c9bf..2beb520a 100644 --- a/.github/workflows/R-CMD-check-wsl.yaml +++ b/.github/workflows/R-CMD-check-wsl.yaml @@ -38,9 +38,6 @@ jobs: - uses: actions/checkout@v4 - uses: r-lib/actions/setup-r@v2.8.7 - with: - r-version: 'release' - rtools-version: '42' - uses: r-lib/actions/setup-pandoc@v2.8.7 - name: Query dependencies From e4c279b2ed308e5bee1af68b5c846b2bbe5716ef Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Thu, 18 Apr 2024 22:20:13 +0300 Subject: [PATCH 11/11] Coverage workflow rtools mismatch --- .github/workflows/Test-coverage.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/Test-coverage.yaml b/.github/workflows/Test-coverage.yaml index 7e32303d..311020ef 100644 --- a/.github/workflows/Test-coverage.yaml +++ b/.github/workflows/Test-coverage.yaml @@ -86,9 +86,6 @@ jobs: - uses: actions/checkout@v4 - uses: r-lib/actions/setup-r@v2.8.7 - with: - r-version: 'release' - rtools-version: '42' - uses: r-lib/actions/setup-pandoc@v2.8.7