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
1 change: 1 addition & 0 deletions .Rprofile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ options(
warnPartialMatchArgs = TRUE,
warnPartialMatchAttr = TRUE,
warnPartialMatchDollar = TRUE,
rdev.license.copyright = "John Benninghoff",
styler.cache_root = "styler-perm"
)

Expand Down
3 changes: 2 additions & 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.0
Version: 1.15.1
Authors@R:
person("John", "Benninghoff", , "jbenninghoff@mac.com", role = c("aut", "cre"),
comment = c(ORCID = "0000-0002-6230-4742"))
Expand Down Expand Up @@ -59,6 +59,7 @@ Suggests:
xaringanExtra
VignetteBuilder:
knitr
Config/rdev/last-upkeep: 2025-10-24
Config/testthat/edition: 3
Encoding: UTF-8
Language: en-US
Expand Down
8 changes: 8 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# rdev 1.15.1

* Minor updates to `upkeep_checklist()`

* Initial upkeep using `use_upkeep_issue()`

* `create_github_repo()` now opens the new repository on both macOS and Windows

# rdev 1.15.0

* Added functions `use_upkeep_issue()` and `upkeep_checklist()`, used to open an issue in the package repository with a checklist of maintenance tasks, based on `usethis::use_upkeep_issue()` and `usethis::use_tidy_upkeep_issue()`
Expand Down
12 changes: 6 additions & 6 deletions R/setup.R
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,8 @@ fix_gitignore <- function(path = ".") {
#' 1. Adds branch protection to the default branch (if `private` is `FALSE`)
#' 1. Clones the repository locally with [usethis::create_from_github()]
#' 1. Creates a basic package using [usethis::create_package()]
#' 1. If running interactively on macOS, the repository will automatically be opened in RStudio,
#' GitHub Desktop, and the default browser
#' 1. If running interactively, the repository will automatically be opened in RStudio, GitHub
#' Desktop, and the default browser
#'
#' @section GitHub Actions: GitHub Actions can be disabled by setting `rdev.github.actions` to
#' `FALSE`: `options(rdev.github.actions = FALSE)`
Expand Down Expand Up @@ -342,10 +342,10 @@ create_github_repo <- function(repo_name, repo_desc = "", private = FALSE, org =
writeLines("update the Title and Description fields in `DESCRIPTION` without committing,")
writeLines("and run either setup_ananlysis() or setup_rdev() to finish configuration.")

if (Sys.info()["sysname"] == "Darwin" && rlang::is_interactive()) {
# TODO: replace open with view_url
system(paste0("open ", create$html_url, "/settings"))
system(paste0("github ", fs_path))
view_url(paste0(create$html_url, "/settings"))
gh_desk <- Sys.which("github")
if (gh_desk != "" && rlang::is_interactive()) {
system(paste0(gh_desk, " ", fs_path))
}

invisible(create)
Expand Down
4 changes: 2 additions & 2 deletions R/upkeep.R
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ upkeep_checklist <- function(last_upkeep = last_upkeep_year()) {
"### 2022",
"",
todo("`rdev::use_spelling()`"),
todo("`rdev::use_codecov()`", length(fs::dir_ls("R")) > 1),
todo("Add `rdev.license.copyright` to `.Rprofile`", lic == "mit"),
""
)
Expand Down Expand Up @@ -109,6 +108,7 @@ upkeep_checklist <- function(last_upkeep = last_upkeep_year()) {
todo("`rdev::use_lintr()`"),
todo("`rdev::use_gitattributes()`"),
todo("`rdev::use_analysis_package(use_quarto = TRUE)`", ptype == "quarto"),
todo("`rdev::use_codecov()`", length(fs::dir_ls("R")) > 1),
""
)
}
Expand Down Expand Up @@ -140,7 +140,7 @@ upkeep_checklist <- function(last_upkeep = last_upkeep_year()) {
todo("`rdev::use_rdev_package()`"),
todo("`build_quarto_site(unfreeze = TRUE)`", ptype == "quarto"),
todo(
'`usethis::use_mit_license(copyright_holder = getOption("rdev.license.copyright")`',
'`usethis::use_mit_license(copyright_holder = getOption("rdev.license.copyright"))`',
lic == "mit"
),
todo(
Expand Down
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ knitr::opts_chunk$set(
<!-- badges: start -->
[![R-CMD-check](https://github.com/jabenninghoff/rdev/workflows/R-CMD-check/badge.svg)](https://github.com/jabenninghoff/rdev/actions)
[![lint](https://github.com/jabenninghoff/rdev/workflows/lint/badge.svg)](https://github.com/jabenninghoff/rdev/actions)
[![Codecov test coverage](https://codecov.io/gh/jabenninghoff/rdev/branch/main/graph/badge.svg)](https://app.codecov.io/gh/jabenninghoff/rdev?branch=main)
[![Codecov test coverage](https://codecov.io/gh/jabenninghoff/rdev/graph/badge.svg)](https://app.codecov.io/gh/jabenninghoff/rdev)
<!-- badges: end -->

## Overview
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
[![R-CMD-check](https://github.com/jabenninghoff/rdev/workflows/R-CMD-check/badge.svg)](https://github.com/jabenninghoff/rdev/actions)
[![lint](https://github.com/jabenninghoff/rdev/workflows/lint/badge.svg)](https://github.com/jabenninghoff/rdev/actions)
[![Codecov test
coverage](https://codecov.io/gh/jabenninghoff/rdev/branch/main/graph/badge.svg)](https://app.codecov.io/gh/jabenninghoff/rdev?branch=main)
coverage](https://codecov.io/gh/jabenninghoff/rdev/graph/badge.svg)](https://app.codecov.io/gh/jabenninghoff/rdev)
<!-- badges: end -->

## Overview
Expand Down Expand Up @@ -234,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.0.tar.gz’
#> * building ‘rdev_1.15.1.tar.gz’
#>
#> ── R CMD check ─────────────────────────────────────────────────────────────────
#> * using log directory ‘/private/var/folders/vn/cw5f9gws42v9m8mdsds_zbl00000gp/T/Rtmp3eVLau/file4c093ddd9292/rdev.Rcheck’
#> * using log directory ‘/private/var/folders/vn/cw5f9gws42v9m8mdsds_zbl00000gp/T/RtmpyrvqW0/file7c32a711393/rdev.Rcheck’
#> * using R version 4.5.1 (2025-06-13)
#> * using platform: aarch64-apple-darwin20
#> * R was compiled by
Expand All @@ -247,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.0
#> * this is package ‘rdev’ version ‘1.15.1
#> * package encoding: UTF-8
#> * checking package namespace information ... OK
#> * checking package dependencies ... OK
Expand Down Expand Up @@ -302,8 +302,8 @@ ci()
#> * DONE
#>
#> Status: OK
#> ── R CMD check results ──────────────────────────────────────── rdev 1.15.0 ────
#> Duration: 37.7s
#> ── R CMD check results ──────────────────────────────────────── rdev 1.15.1 ────
#> Duration: 26s
#>
#> 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.

14 changes: 7 additions & 7 deletions docs/index.html

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

8 changes: 7 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-10-24T17:51Z
last_built: 2025-10-27T19:00Z
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.

Loading