Skip to content

Commit 02b6ecf

Browse files
committed
Updated NEWS.
1 parent ecdcc00 commit 02b6ecf

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Package: statnet.common
2-
Version: 4.12.0-487
2+
Version: 4.12.0-488
33
Date: 2025-05-29
44
Title: Common R Scripts and Utilities Used by the Statnet Project Software
55
Authors@R: c(

NEWS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ New utilities
2323
- New functions, `ERRVL2()` and `ERRVL3()` that, unlike `ERRVL()`, do
2424
not require the expressions to be wrapped in `try()`.
2525

26+
- New function, `replace()`, a more pipe-friendly drop-in replacement
27+
for `base::replace()` for which replacement indices and values can
28+
be specified as functions evaluated on the input vector.
29+
2630
Enhancements to existing utilities
2731
----------------------------------
2832

NEWS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212

1313
* New functions, `ERRVL2()` and `ERRVL3()` that, unlike `ERRVL()`, do not require the expressions to be wrapped in `try()`.
1414

15+
* New function, `replace()`, a more pipe-friendly drop-in replacement for `base::replace()` for which replacement indices and values can be specified as functions evaluated on the input vector.
16+
1517
## Enhancements to existing utilities
1618

1719
* The behavior of `trim_env()` has changed: if no variables are to be copied in, the environment is set directly to `baseenv()`.

0 commit comments

Comments
 (0)