./devel/R-glue, Interpreted string literals

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.7.0, Package name: R-glue-1.7.0, Maintainer: minskim

An implementation of interpreted string literals, inspired by Python's
Literal String Interpolation and Docstrings, and Julia's Triple-Quoted
String Literals.


Required to run:
[math/R]

Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)


Version history: (Expand)


CVS history: (Expand)


   2024-01-21 03:14:04 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(devel/R-glue) Updated 1.6.2 to 1.7.0

# glue 1.7.0

* If rlang is installed, glue will generate more informative errors if an
  interpolated expression either can't be parsed or fails to evaluate (#229).

* `+` now works in more situations, and gives errors when one side isn't a
  character vector. It no longer automatically applies glue interpolation to
  a non-glue input, if there is one. You'll need to do that yourself (#286).

* `glue_collapse(character())` (and hence `glue_sql_collapse(character())`) now
  return `""`, so that they always return a single string (#88).

* `glue_sql()` now collapses an empty vector to `""` not \ 
`"NULL"` (#272).

* `glue_sql()` now uses `DBI::dbQuoteLiteral()` for all object types. This
  should increase fidelity of escaping for different object types (#279).

* The "Speed of glue" vignette has been converted to an article, which \ 
allows
  several package to be removed from `Suggests` (and re-located to
  `Config/Needs/website`). The code got a light refresh, including a switch
  from microbenchmark to bench and more modern use of ggplot2.

* Add `$(C_VISIBILITY)` to compiler flags to hide internal symbols from the dll \ 
(#284 @lionel-).
   2022-04-18 16:05:03 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(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)
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2021-06-06 14:35:52 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(devel/R-glue) Updated 1.4.1 to 1.4.2

# glue 1.4.2

* The required version of R is now 3.2 (#189)
* `glue_sql()` now collapses `DBI::SQL()` elements correctly (#192 @shrektan)
* The internal `compare()` method gains a `...` argument, for compatibility with \ 
testthat 3.0.0
   2020-07-31 20:20:26 by Brook Milligan | Files touched by this commit (2) | Package updated
Log message:
R-glue: update to 1.4.1.
   2019-08-08 21:53:58 by Brook Milligan | Files touched by this commit (189) | Package updated
Log message:
Update all R packages to canonical form.

The canonical form [1] of an R package Makefile includes the
following:

- The first stanza includes R_PKGNAME, R_PKGVER, PKGREVISION (as
  needed), and CATEGORIES.

- HOMEPAGE is not present but defined in math/R/Makefile.extension to
  refer to the CRAN web page describing the package.  Other relevant
  web pages are often linked from there via the URL field.

This updates all current R packages to this form, which will make
regular updates _much_ easier, especially using pkgtools/R2pkg.

[1] http://mail-index.netbsd.org/tech-pkg/2019/08/02/msg021711.html
   2019-07-31 17:24:11 by Brook Milligan | Files touched by this commit (1) | Package updated
Log message:
R-glue: update to canonical form of an R package.