Skip to content

Releases: egnha/nofrills

v0.3.2

04 Feb 08:48
Compare
Choose a tag to compare

Nofrills now depends on a stable release of rlang, version 1.0.0 and above. (A minor internal fix was made to address a breaking change in rlang::is_expression().) There are no user-facing changes.

v0.3.0

21 Jan 08:18
Compare
Choose a tag to compare
  • Currying operators curry() and curry_fn() are introduced (#10). Notably,
    curry_fn() supports quasiquotation, which enables more easily inspectable
    functions. For example:

    compare_to <- curry_fn(target, x ~ identical(x, QUQ(target)))
    print(compare_to("this"))
    #> function (x)
    #> identical(x, "this")
  • fn() now accepts closures as part of the body. In particular, nested calls
    of fn() can be unquoted, e.g., fn(x ~ !!fn(y ~ !!fn(z ~ x + y + z)))
    yields function(x) function(y) function(z) x + y + z.

  • Literal unquoting operators QUQ(), QUQS() now resolve to their
    bang-operator forms (!!, !!!), rather than their functional aliases
    (UQ(), UQS()), as these aliases are slated for potential deprecation in
    rlang (#9). rlang::UQE() has already been axed, so QUQE() is gone too.

v0.2.1

16 Dec 09:22
Compare
Choose a tag to compare
  • Repairs spurious test failures introduced by the release of testthat 2.0.0

  • Removes ..() as an alias for fn()

v0.2.0

18 Sep 19:10
Compare
Choose a tag to compare
  • fn() now comprehends literal unquoting operators via the use of QUQ(),
    QUQS() and QUQE(). This allows you to make functions with fn() that
    contain unquoting operators, which is handy when programming with dplyr or
    other tidyverse packages.

  • make_fn_aware() is a new functional operator that enhances a function by
    enabling it to interpret abbreviated functional arguments (cf. as_fn()).

  • In order to keep the package namespace slim, ..() has been softly
    deprecated.

v0.1.0

24 Jul 04:42
Compare
Choose a tag to compare
On CRAN