Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

33 release #34

Merged
merged 7 commits into from
Oct 22, 2023
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
25 changes: 25 additions & 0 deletions .github/workflows/r-check-version.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
on:
pull_request:
branches: [main, master]

name: version checks

jobs:
check-r-version:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3

- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::gh, any::fuj

- uses: jmbarbone/actions/r-check-version@main
with:
ignore-dev-version: true
5 changes: 3 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: fuj
Type: Package
Title: Functions and Utilities for Jordan
Version: 0.1.3.9000
Version: 0.1.4
Authors@R:
person(
given = "Jordan Mark",
Expand All @@ -25,4 +25,5 @@ Suggests:
spelling,
testthat (>= 3.0.0)
Config/testthat/edition: 3
URL: https://jmbarbone.github.io/fuj/
URL: https://jmbarbone.github.io/fuj/, https://github.com/jmbarbone/fuj
BugReports: https://github.com/jmbarbone/fuj/issues
3 changes: 2 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# fuj (development version)
# fuj 0.1.4

* adds `%::%` and `%:::%` (which now aliases `%colons$`) or retrieving exported and non-exported values from namespaces [#31](https://github.com/jmbarbone/fuj/issues/31)
* adds `verbose()` for conditional message printing [#29](https://github.com/jmbarbone/fuj/issues/29)
* GitHub workflow added to maintain version bumps on merge [`jmbarbone/actions/r-check-version`](https://github.com/jmbarbone/actions/blob/main/examples/r-check-version.yaml)

# fuj 0.1.3

Expand Down
4 changes: 2 additions & 2 deletions R/verbose.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#' op <- options(fuj.verbose = function() TRUE)
#' verbose("function will evaluate")
#' verbose(NULL) # nothing
#' verbose(NULL, "something)
#' verbose(NULL, "something")
#' verbose(if (FALSE) {
#' "`if` returns `NULL` when not `TRUE`, which makes for additional control"
#' })
Expand All @@ -47,7 +47,7 @@ verbose <- function(...) {

verbose_message <- function(..., call = NULL) {
struct(
list(.makeMessage("[verbose] ", ...), call),
list(.makeMessage("[verbose] ", ..., appendLF = TRUE), call),
names = c("message", "call"),
class = c("verboseMessage", "message", "condition")
)
Expand Down
6 changes: 3 additions & 3 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
## Test environments

* local R installation, R 4.3.0
* local R installation, R 4.3.1
* windows-latest, release
* macOS-latest release
* ubuntu-latest devel, release, oldrel-1

## R CMD check results

0 errors | 0 warnings | 1 note
0 errors | 0 warnings | 0 note

* This is a patch release
* Includes a single minor fix with accompanying test
* Includes a new function and a new alias
18 changes: 18 additions & 0 deletions man/verbose.Rd

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

32 changes: 16 additions & 16 deletions revdep/README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
# Platform

|field |value |
|:--------|:--------------------------------------|
|version |R version 4.3.0 (2023-04-21) |
|os |Ubuntu 23.04 |
|system |x86_64, linux-gnu |
|ui |RStudio |
|language |(EN) |
|collate |en_US.UTF-8 |
|ctype |en_US.UTF-8 |
|tz |America/New_York |
|date |2023-05-21 |
|rstudio |2023.03.1+446 Cherry Blossom (desktop) |
|pandoc |2.19.2 @ /usr/bin/pandoc |
|field |value |
|:--------|:-----------------------------------------------------------------------------------|
|version |R version 4.3.1 (2023-06-16) |
|os |Ubuntu 22.04.3 LTS |
|system |x86_64, linux-gnu |
|ui |RStudio |
|language |(EN) |
|collate |en_US.UTF-8 |
|ctype |en_US.UTF-8 |
|tz |America/New_York |
|date |2023-10-21 |
|rstudio |2023.12.0-daily+155 Ocean Storm (desktop) |
|pandoc |3.1.8 @ /usr/lib/rstudio/resources/app/bin/quarto/bin/tools/x86_64/ (via rmarkdown) |

# Dependencies

|package |old |new |Δ |
|:-------|:-----|:----------|:--|
|fuj |0.1.2 |0.1.2.9001 |* |
|package |old |new |Δ |
|:-------|:-----|:-----|:--|
|fuj |0.1.3 |0.1.4 |* |

# Revdeps

Expand Down
2 changes: 1 addition & 1 deletion revdep/failures.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<details>

* Version:
* GitHub: NA
* GitHub: https://github.com/jmbarbone/fuj
* Source code: NA
* Number of recursive dependencies: 0

Expand Down