From 40aca51688b4642615d13187a8efac38590aa901 Mon Sep 17 00:00:00 2001 From: mef Date: Mon, 18 Apr 2022 14:05:03 +0000 Subject: [PATCH] (devel/R-glue) Updated 1.4.2. to 1.6.2 # glue 1.6.2 * Modify a test for better forward compatibility with R. # glue 1.6.1 * Glue Now registers its custom knitr engines in a way that is more robust to namespace-loading edge cases that can arise during package installation (#254). # glue 1.6.0 * `glue()`, `glue_data()`, `glue_col()`, and `glue_data_col()` gain a new `.literal` argument, which controls how quotes and the comment character are treated when parsing the expression string (#235). This is mostly useful when using a custom transformer. * Trailing whitespace-only lines don't interfere with indentation (#247). # glue 1.5.1 * Jennifer Bryan is now the maintainer. * The existing custom language engines for knitr, `glue` and `glue_sql`, are documented in a new vignette (#71). *Detail added after release: glue now sets up registration of these engines in `.onLoad()`.* * `glue_col()` gives special treatment to styling functions from the crayon package, e.g. `glue_col("{blue foo}")` "just works" now, even if crayon is not attached (but is installed) (#241). * Unterminated backticks trigger the same error as unterminated single or double quotes (#237). * `glue_sql()` collapses zero-length `DBI::SQL` object into `DBI::SQL("NULL")` (#244 @shrektan). # glue 1.5.0 ## Breaking changes * Long deprecated function `collapse()` has been removed (#213) ## New functions and arguments * New `glue_sql_collapse()` function to collapse inputs and return a `DBI::SQL()` object (#103). * `glue()` gains a new `.comment` argument, to control the comment character (#193). * `glue()` gains a new `.null` argument, to control the value to replace `NULL` values with (#217, @echasnovski). ## Bugfixes and minor changes * `sql_quote_transformer()` is now allows whitespace after the trailing `*` (#218). * `compare_proxy.glue()` method defined so glue objects can be compared to strings in testthat 3e without errors (#212) * `print.glue()` no longer prints an empty newline for 0 length inputs (#214) * Unterminated comments in glue expression now throw an error (#227, @gaborcsardi) * Unterminated quotes in glue expressions now throw an error (#226, @gaborcsardi) --- devel/R-glue/Makefile | 16 +++++++++++++--- devel/R-glue/distinfo | 8 ++++---- 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/devel/R-glue/Makefile b/devel/R-glue/Makefile index 27e0e850166e..5ea5c91fb5e9 100644 --- a/devel/R-glue/Makefile +++ b/devel/R-glue/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.6 2021/06/06 12:35:52 mef Exp $ +# $NetBSD: Makefile,v 1.7 2022/04/18 14:05:03 mef Exp $ R_PKGNAME= glue -R_PKGVER= 1.4.2 +R_PKGVER= 1.6.2 CATEGORIES= devel MAINTAINER= minskim@NetBSD.org @@ -9,9 +9,19 @@ COMMENT= Interpreted string literals LICENSE= mit # Packages suggested but not available: -# 'RSQLite', 'R.utils', 'forcats', 'rprintf' +# 'rprintf' TEST_DEPENDS+= R-microbenchmark-[0-9]*:../../benchmarks/R-microbenchmark TEST_DEPENDS+= R-dplyr-[0-9]*:../../math/R-dplyr +TEST_DEPENDS+= R-DBI-[0-9]*:../../math/R-DBI +TEST_DEPENDS+= R-forcats-[0-9]*:../../math/R-forcats +TEST_DEPENDS+= R-ggplot2-[0-9]*:../../graphics/R-ggplot2 +TEST_DEPENDS+= R-R.utils-[0-9]*:../../devel/R-R.utils +TEST_DEPENDS+= R-RSQLite-[0-9]*:../../databases/R-RSQLite +TEST_DEPENDS+= R-covr-[0-9]*:../../devel/R-covr +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-waldo-[0-9]*:../../devel/R-waldo USE_LANGUAGES= c diff --git a/devel/R-glue/distinfo b/devel/R-glue/distinfo index e2d671170d31..23030b31820a 100644 --- a/devel/R-glue/distinfo +++ b/devel/R-glue/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.6 2021/10/26 10:14:04 nia Exp $ +$NetBSD: distinfo,v 1.7 2022/04/18 14:05:03 mef Exp $ -BLAKE2s (R/glue_1.4.2.tar.gz) = 676ed8f523a50036bed64d603eca3a2bf647f203ed17ca535c055fcd926e4973 -SHA512 (R/glue_1.4.2.tar.gz) = d4c43c95fedf881be2fbe0e406a282e9af30b741533b653cb3c84ead8952e971d94cb4b6a98df07551b17726630b426e6178296e1c146e6cf04e9a7bd6d0562c -Size (R/glue_1.4.2.tar.gz) = 99049 bytes +BLAKE2s (R/glue_1.6.2.tar.gz) = c9d95773fed448069d4f16623000fec7bbe1c9d86bf4c04334d6f949151ba9a2 +SHA512 (R/glue_1.6.2.tar.gz) = f3fdfa83bb162750a213b434ee14c8ec7973369f07224ae312d2a35567d2d7f68ab051dbe2de69ae56b454bbd8ec407e1b3a65b3f16eee329098d9fdd02b5502 +Size (R/glue_1.6.2.tar.gz) = 106510 bytes