Skip to content

Commit

Permalink
bump version; update news (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbarbone committed Dec 23, 2023
1 parent 234e08b commit aaaa0a5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion 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.4.9007
Version: 0.1.4.9008
Authors@R:
person(
given = "Jordan Mark",
Expand Down
12 changes: 7 additions & 5 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@
## New features

* `op.fuj`, a named list of default options for `{fuj}` is now exported
* `verbose()` has additional options for controlling the message output [#36](https://github.com/jmbarbone/fuj/issues/36)
* `.label` can be set to a string to prepend to the message (defaults to `"[verbose]"`)
* `.fill` can be set to repeat `.label` on each line of the message (defaults to `FALSE`)
* `verbose()` messages are now slightly improved; prints prepended with `"<verboseMessage> "` instead of `"[verbose] "` [#42](https://github.com/jmbarbone/fuj/issues/42)
* `make_verbose()` is included to create a verbose function that will be triggered with a configured option, rather than the default `getOption("fuj.verbose", getOption("verbose"))` pattern.
* multiple improvements for `verbose()`
* `verbose()` has additional options for controlling the message output [#36](https://github.com/jmbarbone/fuj/issues/36)
* `.label` can be set to a string to prepend to the message (defaults to `"[verbose]"`)
* `.fill` can be set to repeat `.label` on each line of the message (defaults to `FALSE`)
* `verbose()` prints prepended with `"verbose "` instead of `"[verbose] "` [#42](https://github.com/jmbarbone/fuj/issues/42)
* `make_verbose()` is included to create a verbose function that will be triggered with a configured option, rather than the default `getOption("fuj.verbose", getOption("verbose"))` pattern.
This can be used to define your own custom verbose function:

```r
Expand All @@ -24,6 +25,7 @@ my_verbose <- make_verbose("my.verbose")
my_verbose("will show")
#> [verbose] will show
```

## Internals

* `%||%` is now set to only export in **R** versions < 4.4 [#35](https://github.com/jmbarbone/fuj/issues/35)
Expand Down

0 comments on commit aaaa0a5

Please sign in to comment.