stringi_1.5.1
1.5.1 (2020-08-31)
-
[NEW FEATURE] #400:
%s$%
and%stri$%
are now binary operators
that call base R'ssprintf()
. -
[NEW FEATURE] #399: The
%s*%
and%stri*%
operators can be used
in addition tostri_dup()
, for the very same purpose. -
[NEW FEATURE] #355:
stri_opts_regex()
now accepts thetime_limit
and
stack_limit
options so as to prevent malformed or malicious regexes
from running for too long. -
[NEW FEATURE] #345:
stri_startswith()
andstri_endswith()
are now equipped
with thenegate
parameter. -
[NEW FEATURE] #382: Incorrect regexes are now reported to ease debugging.
-
[DEPRECATION WARNING] #347: Any unknown option passed to
stri_opts_fixed()
,
stri_opts_regex()
,stri_opts_coll()
, andstri_opts_brkiter()
now
generates a warning. In the future, the...
parameter will be removed,
so that will be an error. -
[DEPRECATION WARNING]
stri_duplicated()
'sfromLast
argument
has been renamedfrom_last
.fromLast
is now its alias scheduled
for removal in a future version of the package. -
[DEPRECATION WARNING]
stri_enc_detect2()
is scheduled for removal in a future version of the package.
Usestri_enc_detect()
or the more targetedstri_enc_isutf8()
,
stri_enc_isascii()
, etc., instead. -
[NEW FEATURE] #398: Alternative, British spelling of function parameters
has been introduced, e.g.,stri_opts_coll()
now supports both
normalization
andnormalisation
. -
[NEW FEATURE] #393:
stri_read_bin()
,stri_read_lines()
, and
stri_write_lines()
are no longer marked as draft API.
stri_read_lines()
does not supportencoding="auto"
anymore. -
[NEW FEATURE] #187:
stri_read_bin()
,stri_read_lines()
, and
stri_write_lines()
now support connection objects as well. -
[NEW FEATURE] #386: New function
stri_sort_key()
for generating
locale-dependent sort keys which can be ordered at the byte level and
return an equivalent ordering to the original string (@DavisVaughan). -
[BUGFIX] #138:
stri_encode()
andstri_rand_strings()
now can generate strings of much larger lengths. -
[BUGFIX]
stri_wrap()
did not honourindent
correctly when
use_width
wasTRUE
.