Received: by mail.netbsd.org (Postfix, from userid 605) id 8066B84E9A; Sun, 12 Mar 2023 08:54:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id AF0B084E77 for ; Sun, 12 Mar 2023 08:54:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id zD9tF0IcLYIf for ; Sun, 12 Mar 2023 08:54:41 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id AD12684D65 for ; Sun, 12 Mar 2023 08:54:41 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id A191EFA90; Sun, 12 Mar 2023 08:54:41 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1678611281131060" MIME-Version: 1.0 Date: Sun, 12 Mar 2023 08:54:41 +0000 From: "Makoto Fujiwara" Subject: CVS commit: pkgsrc/textproc/R-stringr To: pkgsrc-changes@NetBSD.org Reply-To: mef@netbsd.org X-Mailer: log_accum Message-Id: <20230312085441.A191EFA90@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1678611281131060 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: mef Date: Sun Mar 12 08:54:41 UTC 2023 Modified Files: pkgsrc/textproc/R-stringr: Makefile distinfo Log Message: (textproc/R-stringr) Updated 1.4.0 to 1.5.0 # stringr 1.5.0 ## Breaking changes * stringr functions now consistently implement the tidyverse recycling rules (#372). There are two main changes: * Only vectors of length 1 are recycled. Previously, (e.g.) `str_detect(letters, c("x", "y"))` worked, but it now errors. * `str_c()` ignores `NULLs`, rather than treating them as length 0 vectors. Additionally, many more arguments now throw errors, rather than warnings, if supplied the wrong type of input. * `regex()` and friends now generate class names with `stringr_` prefix (#384). * `str_detect()`, `str_starts()`, `str_ends()` and `str_subset()` now error when used with either an empty string (`""`) or a `boundary()`. These operations didn't really make sense (`str_detect(x, "")` returned `TRUE` for all non-empty strings) and made it easy to make mistakes when programming. ## New features * Many tweaks to the documentation to make it more useful and consistent. * New `vignette("from-base")` by @sastoudt provides a comprehensive comparison between base R functions and their stringr equivalents. It's designed to help you move to stringr if you're already familiar with base R string functions (#266). * New `str_escape()` escapes regular expression metacharacters, providing an alternative to `fixed()` if you want to compose a pattern from user supplied strings (#408). * New `str_equal()` compares two character vectors using unicode rules, optionally ignoring case (#381). * `str_extract()` can now optionally extract a capturing group instead of the complete match (#420). * New `str_flatten_comma()` is a special case of `str_flatten()` designed for comma separated flattening and can correctly apply the Oxford commas when there are only two elements (#444). * New `str_split_1()` is tailored for the special case of splitting up a single string (#409). * New `str_split_i()` extract a single piece from a string (#278, @bfgray3). * New `str_like()` allows the use of SQL wildcards (#280, @rjpat). * New `str_rank()` to complete the set of order/rank/sort functions (#353). * New `str_sub_all()` to extract multiple substrings from each string. * New `str_unique()` is a wrapper around `stri_unique()` and returns unique string values in a character vector (#249, @seasmith). * `str_view()` uses ANSI colouring rather than an HTML widget (#370). This works in more places and requires fewer dependencies. It includes a number of other small improvements: * It no longer requires a pattern so you can use it to display strings with special characters. * It highlights unusual whitespace characters. * It's vectorised over both string` and `pattern` (#407). * It defaults to displaying all matches, making `str_view_all()` redundant (and hence deprecated) (#455). * New `str_width()` returns the display width of a string (#380). * stringr is now licensed as MIT (#351). ## Minor improvements and bug fixes * Better error message if you supply a non-string pattern (#378). * A new data source for `sentences` has fixed many small errors. * `str_extract()` and `str_exctract_all()` now work correctly when `pattern` is a `boundary()`. * `str_flatten()` gains a `last` argument that optionally override the final separator (#377). It gains a `na.rm` argument to remove missing values (since it's a summary function) (#439). * `str_pad()` gains `use_width` argument to control whether to use the total code point width or the number of code points as "width" of a string (#190). * `str_replace()` and `str_replace_all()` can use standard tidyverse formula shorthand for `replacement` function (#331). * `str_starts()` and `str_ends()` now correctly respect regex operator precedence (@carlganz). * `str_wrap()` breaks only at whitespace by default; set `whitespace_only = FALSE` to return to the previous behaviour (#335, @rjpat). * `word()` now returns all the sentence when using a negative `start` parameter that is greater or equal than the number of words. (@pdelboca, #245) # stringr 1.4.1 Hot patch release to resolve R CMD check failures. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 pkgsrc/textproc/R-stringr/Makefile \ pkgsrc/textproc/R-stringr/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1678611281131060 Content-Disposition: inline Content-Length: 2209 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/textproc/R-stringr/Makefile diff -u pkgsrc/textproc/R-stringr/Makefile:1.8 pkgsrc/textproc/R-stringr/Makefile:1.9 --- pkgsrc/textproc/R-stringr/Makefile:1.8 Sat Jun 5 07:32:59 2021 +++ pkgsrc/textproc/R-stringr/Makefile Sun Mar 12 08:54:41 2023 @@ -1,20 +1,25 @@ -# $NetBSD: Makefile,v 1.8 2021/06/05 07:32:59 mef Exp $ +# $NetBSD: Makefile,v 1.9 2023/03/12 08:54:41 mef Exp $ R_PKGNAME= stringr -R_PKGVER= 1.4.0 +R_PKGVER= 1.5.0 CATEGORIES= textproc MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= Simple, consistent wrappers for common string operations LICENSE= gnu-gpl-v2 +DEPENDS+= R-cli-[0-9]*:../../devel/R-cli DEPENDS+= R-glue>=1.2.0:../../devel/R-glue +DEPENDS+= R-lifecycle-[0-9]*:../../devel/R-lifecycle DEPENDS+= R-magrittr>=1.5:../../devel/R-magrittr +DEPENDS+= R-rlang-[0-9]*:../../devel/R-rlang DEPENDS+= R-stringi>=1.1.7:../../textproc/R-stringi +DEPENDS+= R-vctrs-[0-9]*:../../math/R-vctrs TEST_DEPENDS+= R-knitr-[0-9]*:../../print/R-knitr TEST_DEPENDS+= R-rmarkdown-[0-9]*:../../textproc/R-rmarkdown TEST_DEPENDS+= R-testthat-[0-9]*:../../devel/R-testthat +TEST_DEPENDS+= R-covr-[0-9]*:../../devel/R-covr USE_LANGUAGES= # none Index: pkgsrc/textproc/R-stringr/distinfo diff -u pkgsrc/textproc/R-stringr/distinfo:1.8 pkgsrc/textproc/R-stringr/distinfo:1.9 --- pkgsrc/textproc/R-stringr/distinfo:1.8 Tue Oct 26 11:21:32 2021 +++ pkgsrc/textproc/R-stringr/distinfo Sun Mar 12 08:54:41 2023 @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.8 2021/10/26 11:21:32 nia Exp $ +$NetBSD: distinfo,v 1.9 2023/03/12 08:54:41 mef Exp $ -BLAKE2s (R/stringr_1.4.0.tar.gz) = 9b054055ef808446210accecd5f0072566089c2f8db6cda4b7b1428e7f0df970 -SHA512 (R/stringr_1.4.0.tar.gz) = c72f150037a5ff55d9d067aef254a37a81cdaab8177b85cc88ba60610e1cfc0d04f0246666ba1a6e2d435e86fcb8cc589d872e24daac65c8faab7c71909b0a99 -Size (R/stringr_1.4.0.tar.gz) = 135777 bytes +BLAKE2s (R/stringr_1.5.0.tar.gz) = 75efc391f7fde0c54d0771ef4e4e1ddb68934a63a539811a99142701f381913a +SHA512 (R/stringr_1.5.0.tar.gz) = 515c6d24b2057ebe94253131dad78d71e03074bd613f4360d432a89c790c25f2d6f704b4602cbf7974522f9838b3a47039ace2bbe752515cda146c51d5e805cf +Size (R/stringr_1.5.0.tar.gz) = 175699 bytes --_----------=_1678611281131060--