Skip to content

Commit 389432d

Browse files
committed
* split_match_regex_to_transcript gave warnings about perl = TRUE that were
due to `gsub` with a `fixed = TRUE` clashing with the `perl = TRUE`.
1 parent db57eef commit 389432d

4 files changed

Lines changed: 11 additions & 5 deletions

File tree

DESCRIPTION

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
Package: textshape
2-
Date: 2018-01-21
2+
Date: 2018-01-27
33
Title: Tools for Reshaping Text
44
Version: 1.5.2
5-
Authors@R: c(person("Tyler", "Rinker", email = "tyler.rinker@gmail.com", role = c("aut",
6-
"cre")), person("Joran", "Elias", role = "ctb"), person("Matthew", "Flickinger",
7-
role = "ctb"), person('Paul', 'Foster', role = "ctb"))
5+
Authors@R: c(person("Tyler", "Rinker", email = "tyler.rinker@gmail.com", role = c("aut", "cre")),
6+
person("Joran", "Elias", role = "ctb"), person("Matthew", "Flickinger", role = "ctb"),
7+
person('Paul', 'Foster', role = "ctb"))
88
Maintainer: Tyler Rinker <tyler.rinker@gmail.com>
99
Description: Tools that can be used to reshape and restructure text data.
1010
Depends: R (>= 3.4.0)

NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ textshape 1.5.1 -
2222

2323
BUG FIXES
2424

25+
* `split_match_regex_to_transcript` gave warnings about `perl = TRUE` that were
26+
due to `gsub` with a `fixed = TRUE` clashing with the `perl = TRUE`.
27+
2528
NEW FEATURES
2629

2730
* `flatten` added for flattening nested, named lists into single tiered lists

NEWS.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ textshape 1.5.1 -
2222

2323
**BUG FIXES**
2424

25+
* `split_match_regex_to_transcript` gave warnings about `perl = TRUE` that were
26+
due to `gsub` with a `fixed = TRUE` clashing with the `perl = TRUE`.
27+
2528
**NEW FEATURES**
2629

2730
* `flatten` added for flattening nested, named lists into single tiered lists

R/utils.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.mgsub <- function (pattern, replacement, text.var, fixed = TRUE,
2-
order.pattern = fixed, perl = TRUE, ...) {
2+
order.pattern = fixed, perl = !fixed, ...) {
33

44
if (fixed && order.pattern) {
55
ord <- rev(order(nchar(pattern)))

0 commit comments

Comments
 (0)