From 4b525c455cedfdf858b13573074424c730fd83c8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Nov 2025 20:10:42 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/lorenzwalthert/precommit: v0.4.3.9015 → v0.4.3.9017](https://github.com/lorenzwalthert/precommit/compare/v0.4.3.9015...v0.4.3.9017) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b10d404fe..e1e619e0c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ # R specific hooks: https://github.com/lorenzwalthert/precommit repos: - repo: https://github.com/lorenzwalthert/precommit - rev: v0.4.3.9015 + rev: v0.4.3.9017 hooks: - id: style-files args: [--style_pkg=styler, --style_fun=tidyverse_style, --cache-root=styler-perm] From a15dc32be4c8696f6921100714e58e3314bedae3 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Nov 2025 20:12:06 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- inst/hooks/local/consistent-release-tag.R | 1 - tests/testthat/test-hook-deps-in-desc-R.R | 1 - tests/testthat/test-hook-roxygenize.R | 3 --- tests/testthat/test-hook-use-tidy-description.R | 1 - 4 files changed, 6 deletions(-) diff --git a/inst/hooks/local/consistent-release-tag.R b/inst/hooks/local/consistent-release-tag.R index f877f49ac..b72c26f45 100755 --- a/inst/hooks/local/consistent-release-tag.R +++ b/inst/hooks/local/consistent-release-tag.R @@ -23,7 +23,6 @@ path_config <- c( ) - assert_config_has_rev <- function(path_config, latest_tag) { file <- yaml::read_yaml(path_config) repo <- purrr::map(file$repos, "repo") diff --git a/tests/testthat/test-hook-deps-in-desc-R.R b/tests/testthat/test-hook-deps-in-desc-R.R index fdad32cfa..305229313 100644 --- a/tests/testthat/test-hook-deps-in-desc-R.R +++ b/tests/testthat/test-hook-deps-in-desc-R.R @@ -84,7 +84,6 @@ if (!on_windows_on_cran()) { ) - # Rnw run_test("deps-in-desc", "deps-in-desc", diff --git a/tests/testthat/test-hook-roxygenize.R b/tests/testthat/test-hook-roxygenize.R index 7723a977e..91ad8eda1 100644 --- a/tests/testthat/test-hook-roxygenize.R +++ b/tests/testthat/test-hook-roxygenize.R @@ -73,9 +73,6 @@ if (!on_cran()) { } - - - # with up to date rd present run_test("roxygenize", file_name = c("man/flie.Rd" = "flie-true.Rd"), diff --git a/tests/testthat/test-hook-use-tidy-description.R b/tests/testthat/test-hook-use-tidy-description.R index 2315d2030..c9352ceb2 100644 --- a/tests/testthat/test-hook-use-tidy-description.R +++ b/tests/testthat/test-hook-use-tidy-description.R @@ -2,7 +2,6 @@ run_test("use-tidy-description", "DESCRIPTION", suffix = "") - if (!on_cran()) { # in sub directory with correct root run_test("use-tidy-description",