Commit graph

4 commits

Author SHA1 Message Date
wen
9100aba56d Update to 1.1.0
Upstream changes:
stringr 1.1.0

    Add sample datasets: fruit, words and sentences.

    fixed(), regex(), and coll() now throw an error if you use them with anything other than a plain string (#60). I've clarified that the replacement for perl() is regex() not regexp() (#61). boundary() has improved defaults when splitting on non-word boundaries (#58, @lmullen).

    str_detect() now can detect boundaries (by checking for a str_count() > 0) (#120). str_subset() works similarly.

    str_extract() and str_extract_all() now work with boundary(). This is particularly useful if you want to extract logical constructs like words or sentences. str_extract_all() respects the simplify argument when used with fixed() matches.

    str_subset() now respects custom options for fixed() patterns (#79, @gagolews).

    str_replace() and str_replace_all() now behave correctly when a replacement string contains $s, \\\\1, etc. (#83, #99).

    str_split() gains a simplify argument to match str_extract_all() etc.

    str_view() and str_view_all() create HTML widgets that display regular expression matches (#96).

    word() returns NA for indexes greater than number of words (#112).
2016-12-18 02:33:18 +00:00
wen
0bdc81fe3b Update to 1.0.0
Add missing DEPENDS
Remove period from COMMENT

Upstream changelog not found.
2016-01-01 13:38:34 +00:00
agc
2eddae48e5 Add SHA512 digests for distfiles for textproc category
Problems found locating distfiles:
	Package cabocha: missing distfile cabocha-0.68.tar.bz2
	Package convertlit: missing distfile clit18src.zip
	Package php-enchant: missing distfile php-enchant/enchant-1.1.0.tgz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-04 01:59:17 +00:00
brook
0d59efd586 Initial import of stringr v0.6.2 as textproc/R-stringr.
stringr is a set of simple wrappers that make R's string functions
more consistent, simpler and easier to use.  It does this by ensuring
that: function and argument names (and positions) are consistent, all
functions deal with NA's and zero length character appropriately, and
the output data structures from each function matches the input data
structures of other functions.

Note: this commit is part of reorganizing some of the recently
imported R packages, which are being reimported into more appropriate
categories (and removed from math) as a result of a recent discussion
on tech-pkg and privately with wiz@.  See the thread starting with:

  http://mail-index.netbsd.org/tech-pkg/2014/09/05/msg013558.html
2014-09-19 21:03:26 +00:00