./devel/R-glue, Interpreted string literals

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

Branch: CURRENT, Version: 1.6.2, Package name: R-glue-1.6.2, 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:

Required to build:

Master sites: (Expand)

Version history: (Expand)

CVS history: (Expand)

   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

* `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:

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

./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

- 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.
   2019-04-07 15:19:52 by Wen Heping | Files touched by this commit (2)
Log message:
Update to 1.3.1

Upstream changes:
glue 1.3.1

    glue() now has a + method to combine strings.

Bugfixes and minor changes

    glue_sql() now supports unquoting lists of Id objects.
    glue_sql() now quotes characters with NAs appropriately (#115).
    glue_sql() now quotes Dates appropriately (#98).
    A potential protection error reported by rchk was fixed.

glue 1.3.0
Breaking changes

    The evaluate() function has been removed. Changes elsewhere in glue made the \ 
implementation trivial so it was removed for clarities sake. Previous uses can \ 
be replaced by eval(parse(text = text), envir).

    collapse() has been renamed to glue_collapse() to avoid namespace collisions \ 
with dplyr::collapse().


    compare.glue() was added, to make it easier to use glue objects in \ 
testthat::expect_equal() statements.

    glue_col() and glue_data_col() functions added to display strings with color.

Bugfixes and minor changes

    Glue now throws an informative error message when it cannot interpolate a \ 
function into a string (#114, @haleyjeppson & @ijlyttle).

    Glue now evaluates unnamed arguments lazily with delayedAssign(), so there \ 
is no performance cost if an argument is not used. (#83, @egnha).

    Fixed a bug where names in the assigned expression of an interpolation \ 
variable would conflict with the name of the variable itself (#89, @egnha).

    Do not drop the glue class when subsetting (#66).

    Fix glue() and collapse() always return UTF-8 encoded strings (#81, @dpprdan)