There is a newer version of the record available.

Published June 23, 2015 | Version v0.5-2
Software Open

stringi: stringi_0.5-2

  • 1. Rexamine
  • 2. Wikimedia Foundation

Description

  • [NEW FUNCTIONS] #137: date-time formatting/parsing:

    • stri_timezone_list() - lists all known time zone identifiers
    • stri_timezone_set(), stri_timezone_get() - manage current default time zone
    • stri_timezone_info() - basic information on a given time zone
    • stri_datetime_symbols() - localizable date-time formatting data
    • stri_datetime_fstr() - convert a strptime-like format string to an ICU date/time format string
    • stri_datetime_format() - convert date/time to string
    • stri_datetime_parse() - convert string to date/time object
    • stri_datetime_create() - construct date-time objects from numeric representations
    • stri_datetime_now() - return current date-time
    • stri_datetime_fields() - get values for date-time fields
    • stri_datetime_add() - add specific number of date-time units to a date-time object
  • [BUGFIX] #168: Build now fails if icudt is not available.

  • [BACKWARD INCOMPABILITY] The second argument to stri_pad_*() has been renamed width.

  • [GENERAL] #69: stringi is now bundled with ICU4C 55.1.

  • [NEW FUNCTIONS] stri_extract_*_boundaries() extract text between text boundaries.

  • [NEW FUNCTION] #46: stri_trans_char() is a stringi-flavoured chartr() equivalent.

  • [NEW FUNCTION] #8: stri_width() approximates the width of a string in a more Unicodish fashion than nchar(..., "width")

  • [NEW FEATURE] #149: stri_pad() and stri_wrap() now by default bases on code point widths instead of the number of code points. Moreover, the default behavior of stri_wrap() is now such that it does not get rid of non-breaking, zero width, etc. spaces

  • [NEW FEATURE] #133: stri_wrap() silently allows for width <= 0 (for compatibility with strwrap()).

  • [NEW FEATURE] #139: stri_wrap() gained a new argument: whitespace_only.

  • [GENERAL] #144: Performance improvements in handling ASCII strings (these affect stri_sub(), stri_locate() and other string index-based operations)

  • [GENERAL] #143: Searching for short fixed patterns (stri_*_fixed()) now relies on the current libC's implementation of strchr() and strstr(). This is very fast e.g. on glibc utilizing the SSE2/3/4 instruction set.

  • [GENERAL] #141: a local copy of icudt*.zip may be used on package install; see the INSTALL file for more information.

  • [GENERAL] #165: the ./configure option --disable-icu-bundle forces the use of system ICU when building the package.

  • [BUGFIX] locale specifiers are now normalized in a more intelligent way: e.g. @calendar=gregorian expands to DEFAULT_LOCALE@calendar=gregorian.

  • [BUGFIX] #134: stri_extract_all_words() did not accept simplify=NA.

  • [BUGFIX] #132: incorrect behavior in stri_locate_regex() for matches of zero lengths

  • [BUGFIX] stringr/#73: stri_wrap() returned CHARSXP instead of STRSXP on empty string input with simplify=FALSE argument.

  • [BUGFIX] #164: libicu-dev usage used to fail on Ubuntu.

  • [BUGFIX] #135: C++11 is now used by default (see the INSTALL file, however) to build stringi from sources. This is because ICU4C uses the long long type which is not part of the C++98 standard.

  • [BUGFIX] #154: Dates and other objects with a custom class attribute were not coerced to the character type correctly.

  • [BUGFIX] Force ICU u_init() call on stringi dynlib load.

  • [BUGFIX] #157: many overfull hboxes in the package PDF manual has been corrected.

Files

stringi-v0.5-2.zip

Files (48.0 MB)

Name Size Download all
md5:9a22b4a02ef11ca1c3ed1233dcd93aa9
48.0 MB Preview Download

Additional details

Related works