Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: rdev
Title: R Development Tools
Version: 1.15.4
Version: 1.15.5
Authors@R:
person("John", "Benninghoff", , "jbenninghoff@mac.com", role = c("aut", "cre"),
comment = c(ORCID = "0000-0002-6230-4742"))
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# rdev 1.15.5

* Added items for ggplot2 version 4 upgrade and switch to YAML chunk [options](https://yihui.org/knitr/options/) to `upkeep_checklist()`

# rdev 1.15.4

* Updated for lintr 3.3.0
Expand Down
17 changes: 12 additions & 5 deletions R/upkeep.R
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,10 @@ use_upkeep_issue <- function(last_upkeep = last_upkeep_year()) {
#' @return Upkeep checklist for current year as a GitHub markdown array.
#'
#' @export
upkeep_checklist <- function(last_upkeep = last_upkeep_year()) {
upkeep_checklist <- function(last_upkeep = last_upkeep_year()) { # nolint: cyclocomp_linter.
lic <- get_license()
ptype <- package_type()
uses_ggplot2 <- desc::desc_has_dep("ggplot2")

bullets <- c(
"### New branch",
Expand Down Expand Up @@ -90,7 +91,7 @@ upkeep_checklist <- function(last_upkeep = last_upkeep_year()) {
""
)
}
if (last_upkeep <= 2024) {
if (last_upkeep <= 2024 && ptype == "analysis") {
bullets <- c(
bullets,
"### 2024",
Expand All @@ -108,7 +109,12 @@ upkeep_checklist <- function(last_upkeep = last_upkeep_year()) {
todo("`rdev::use_gitattributes()`"),
todo("`rdev::use_analysis_package(use_quarto = TRUE)`", ptype == "quarto"),
todo("`rdev::use_codecov()`", length(fs::dir_ls("R")) > 1),
todo("`rdev::use_rdev_pkgdown()", ptype == "rdev"),
todo("`rdev::use_rdev_pkgdown()`", ptype == "rdev"),
todo(
"Update for ggplot2 [version 4](https://tidyverse.org/blog/2025/09/ggplot2-4-0-0/)",
uses_ggplot2
),
todo("Switch to chunk option YAML [syntax](https://yihui.org/knitr/options/"),
""
)
}
Expand All @@ -134,10 +140,11 @@ upkeep_checklist <- function(last_upkeep = last_upkeep_year()) {
length(r_version) == 0 || minimum_r_version > r_version
),
todo(
"Check for GitHub Action updates since {last_upkeep_date()}",
"Check for GitHub Action [updates](https://github.com/r-lib/actions/tree/v2/examples) \\
since {last_upkeep_date()}",
desc::desc_get_field("Package") == "rdev"
),
todo("`rdev::use_rdev_package(quiet = FALSE)`"),
todo("`rdev::use_rdev_package(quiet = FALSE)` (do this **first**)"),
todo("`build_quarto_site(unfreeze = TRUE)`", ptype == "quarto"),
todo(
'`usethis::use_mit_license(copyright_holder = getOption("rdev.license.copyright"))`',
Expand Down
10 changes: 7 additions & 3 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ output: github_document

<!-- README.md is generated from README.Rmd. Please edit that file -->

```{r setup, include = FALSE}
```{r}
#| label: setup
#| include: false
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
Expand Down Expand Up @@ -90,14 +92,16 @@ release branch if on the default.

For my workflow, I typically check renv when I start:

```{r check_renv}
```{r}
#| label: check_renv
library(rdev)

check_renv()
```

I also have a `ci()` function to run all my continuous integration tests locally:

```{r ci}
```{r}
#| label: ci
ci()
```
17 changes: 8 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,12 +218,11 @@ ci()
#>
#> url_check()
#> html_url_check()
#> # A tibble: 3 × 9
#> # A tibble: 2 × 9
#> URL From Status Message New CRAN Spaces R root
#> <chr> <nam> <chr> <chr> <chr> <chr> <chr> <chr> <chr>
#> 1 http://covr.r-lib.org/ref… <chr> 200 OK "htt… "" "" "" /Use…
#> 2 http://r-lib.github.io/rc… <chr> 200 OK "htt… "" "" "" /Use…
#> 3 https://medium.com/@Hadri… <chr> 403 Forbid… "" "" "" "" /Use…
#> 1 http://covr.r-lib.org/ref… <chr> 200 OK http… "" "" "" /Use…
#> 2 http://r-lib.github.io/rc… <chr> 200 OK http… "" "" "" /Use…
#>
#> Setting env vars: NOT_CRAN="true", CI="true"
#> rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "warning")
Expand All @@ -235,10 +234,10 @@ ci()
#> * creating vignettes ... OK
#> * checking for LF line-endings in source and make files and shell scripts
#> * checking for empty or unneeded directories
#> * building ‘rdev_1.15.4.tar.gz’
#> * building ‘rdev_1.15.5.tar.gz’
#>
#> ── R CMD check ─────────────────────────────────────────────────────────────────
#> * using log directory ‘/private/var/folders/vn/cw5f9gws42v9m8mdsds_zbl00000gp/T/RtmpQtVTk6/file11ac21c748d0f/rdev.Rcheck’
#> * using log directory ‘/private/var/folders/vn/cw5f9gws42v9m8mdsds_zbl00000gp/T/Rtmpqk420B/file11cd6e62afeb/rdev.Rcheck’
#> * using R version 4.5.2 (2025-10-31)
#> * using platform: aarch64-apple-darwin20
#> * R was compiled by
Expand All @@ -248,7 +247,7 @@ ci()
#> * using session charset: UTF-8
#> * using option ‘--no-manual’
#> * checking for file ‘rdev/DESCRIPTION’ ... OK
#> * this is package ‘rdev’ version ‘1.15.4
#> * this is package ‘rdev’ version ‘1.15.5
#> * package encoding: UTF-8
#> * checking package namespace information ... OK
#> * checking package dependencies ... OK
Expand Down Expand Up @@ -303,8 +302,8 @@ ci()
#> * DONE
#>
#> Status: OK
#> ── R CMD check results ──────────────────────────────────────── rdev 1.15.4 ────
#> Duration: 26.7s
#> ── R CMD check results ──────────────────────────────────────── rdev 1.15.5 ────
#> Duration: 28.9s
#>
#> 0 errors ✔ | 0 warnings ✔ | 0 notes ✔
```
2 changes: 1 addition & 1 deletion docs/404.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/LICENSE-text.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/LICENSE.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/TODO.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/analysis-package-layout.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/rdev.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/style-guide.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/authors.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 9 additions & 10 deletions docs/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion docs/news/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ articles:
analysis-package-layout: analysis-package-layout.html
rdev: rdev.html
style-guide: style-guide.html
last_built: 2025-12-04T19:56Z
last_built: 2025-12-07T01:08Z
urls:
reference: https://jabenninghoff.github.io/rdev/reference
article: https://jabenninghoff.github.io/rdev/articles
2 changes: 1 addition & 1 deletion docs/reference/build_analysis_site.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/build_quarto_site.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/build_rdev_site.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/check_renv.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading