From dabd4186738f7af2129be71bb1fa5b978e1be6c6 Mon Sep 17 00:00:00 2001 From: Richard Preen Date: Wed, 9 Sep 2026 13:47:51 +0100 Subject: [PATCH 1/2] chore: clean up --- DESCRIPTION | 2 +- R/zzz.R | 1 - cran-comments.md | 4 ++-- prepare_to_submit_to_CRAN.R | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 22bafd8..ac7845b 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -34,7 +34,7 @@ Suggests: rmarkdown, spelling, testthat (>= 3.0.0) -VignetteBuilder: +VignetteBuilder: knitr Config/roxygen2/version: 8.1.0 Config/testthat/edition: 3 diff --git a/R/zzz.R b/R/zzz.R index cd039dd..1226209 100644 --- a/R/zzz.R +++ b/R/zzz.R @@ -2,4 +2,3 @@ # Force matplotlib to use the headless 'Agg' backend before Python initializes Sys.setenv(MPLBACKEND = "Agg") } - diff --git a/cran-comments.md b/cran-comments.md index 8e5542c..7469c31 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,6 +1,6 @@ ## R CMD check results 0 errors | 0 warnings | 1 note -(in readme, news.md and inst/doc/welcome.html) -* win-builder reportss a note that three of the urls (in readme.md, news.md and inst/doc/welcome.html) send reset errors. +(in readme, news.md and inst/doc/welcome.html) +* win-builder reportss a note that three of the urls (in readme.md, news.md and inst/doc/welcome.html) send reset errors. However these all work in a browser and url_check() reports no errors. diff --git a/prepare_to_submit_to_CRAN.R b/prepare_to_submit_to_CRAN.R index 67c34e9..1d72a8a 100644 --- a/prepare_to_submit_to_CRAN.R +++ b/prepare_to_submit_to_CRAN.R @@ -29,7 +29,7 @@ devtools::test() spelling::spell_check_package() # check your package on several platforms -# depreacted in rhubv2 rhub::check_for_cran() +# deprecated in rhubv2 rhub::check_for_cran() devtools::check_win_devel() From 5d3947c7ef177d01938d26ad3102c634f7338de6 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 9 Sep 2026 12:49:03 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .binder/install.R | 1 - prepare_to_submit_to_CRAN.R | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.binder/install.R b/.binder/install.R index 8f3b562..2620b41 100644 --- a/.binder/install.R +++ b/.binder/install.R @@ -1,4 +1,3 @@ - install.packages("reticulate") install.packages("farff") diff --git a/prepare_to_submit_to_CRAN.R b/prepare_to_submit_to_CRAN.R index 1d72a8a..6e20e82 100644 --- a/prepare_to_submit_to_CRAN.R +++ b/prepare_to_submit_to_CRAN.R @@ -35,10 +35,10 @@ devtools::check_win_devel() # If you would like to add comments to CRAN team # Creates cran-comments.md, a template for your communications with CRAN when submitting a package. -#usethis::use_cran_comments(open = rlang::is_interactive()) +# usethis::use_cran_comments(open = rlang::is_interactive()) # If you are submitting a new version to CRAN, Upgrade version number using this command or you can do it manually -#usethis::use_version(which = c("patch", "minor", "major", "dev")[1]) +# usethis::use_version(which = c("patch", "minor", "major", "dev")[1]) # When you are happy with the package and want to submit it to CRAN, you can do this manually by converting the package source directory into a single bundled file and submit this file to CRAN (https://xmpalantir.wu.ac.at/cransubmit/) devtools::build()