Skip to content

Commit

Permalink
(devel/R-glue) Updated 1.4.2. to 1.6.2
Browse files Browse the repository at this point in the history
# 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)
  • Loading branch information
mef committed Apr 18, 2022
1 parent 6e68d81 commit 40aca51
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 7 deletions.
16 changes: 13 additions & 3 deletions devel/R-glue/Makefile
Original file line number Diff line number Diff line change
@@ -1,17 +1,27 @@
# $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
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

Expand Down
8 changes: 4 additions & 4 deletions devel/R-glue/distinfo
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 40aca51

Please sign in to comment.