2024-10-19 00:33:19 by Makoto Fujiwara | Files touched by this commit (2) |
Log message:
(devel/R-glue) Updated 1.7.0 to 1.8.0, make test does not pass
# glue 1.8.0
* glue has a two new articles:
- "Get started", with contributions from @stephhazlitt and @BrennanAntone
(#137, #170, #332).
- How to write a function that wraps glue (#281).
* If the last argument of `glue()` is empty, it is dropped (#320). This makes
it easy to structure `glue()` calls with one argument per line, and to \
anticipate adding arguments:
``` r
glue(
"here's some text, ",
"and maybe more text will be added in the future?",
)
```
* `glue_sql("{var*}")` once again generates `NULL` if var is empty.
This reverts #292. (#318).
* The `.envir` argument to `glue()` and `glue_data()` really must be an
environment now, as documented. Previously a list-ish object worked in
some cases (by accident, not really by design). When you need to lookup
values in a list-ish object, use `glue_data(.x =)` (#308, #317).
Ditto for `glue_sql()` and `glue_data_sql()`.
|
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) | |
Log message:
R-glue: update to 1.4.1.
|
2019-08-08 21:53:58 by Brook Milligan | Files touched by this commit (189) | |
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) | |
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
Features
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().
Features
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)
|