File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 11# stringr 1.1.0.9000
22
3- * ` str_replace_all() ` now throws an error if ` replacement ` is not a character
4- vector. If ` replacement ` is ` NA_character_ ` it replaces the complete string
5- with replaces with ` NA ` (#124 ).
6-
73* ` str_match_all() ` now returns NA if an optional group doesn't match
84 (previously it returned ""). This is more consistent with ` str_match() `
95 and other match failures (#134 ).
106
11- * All functions that take a locale (e.g. ` str_to_lower() ` and ` str_sort() ` )
12- default to "en" (English) to ensure that the default is consistent across
13- platforms.
14-
157* ` str_order() ` and ` str_sort() ` gain explicit ` numeric ` argument for sorting
168 mixed numbers and strings.
179
1810* In ` str_replace() ` , ` replacement ` can now be a function that is called once
1911 for each match and who's return value is used to replace the match.
2012
13+ * ` str_replace_all() ` now throws an error if ` replacement ` is not a character
14+ vector. If ` replacement ` is ` NA_character_ ` it replaces the complete string
15+ with replaces with ` NA ` (#124 ).
16+
17+ * All functions that take a locale (e.g. ` str_to_lower() ` and ` str_sort() ` )
18+ default to "en" (English) to ensure that the default is consistent across
19+ platforms.
20+
2121# stringr 1.1.0
2222
2323* Add sample datasets: ` fruit ` , ` words ` and ` sentences ` .
You can’t perform that action at this time.
0 commit comments