Skip to content

Commit

Permalink
(textproc/R-formatR) Updated 1.7 to 1.11
Browse files Browse the repository at this point in the history
(from https://github.com/yihui/formatR/releases/tag/v1.11 etc)
v1.11
@yihui yihui released this Jun 1, 2021 ? 1 commit to master since this release

  * The right arrow assignment operator -> is supported now.

  * Added a new argument args.newline to formatR::tidy_source(). When set to
    TRUE, function arguments can start on a new line, e.g.,

    shiny::updateSelectizeInput(session, "foo", label = "New Label", selected = c("A",
      "B"), choices = LETTERS, server = TRUE)

    can be reformatted to:

    shiny::updateSelectizeInput(
      session, "foo", label = "New Label", selected = c("A", "B"),
      choices = LETTERS, server = TRUE
    )

formatR 1.10
@yihui yihui released this May 25, 2021 ? 13 commits to master since this
release

  * Support the new pipe operator |> in R 4.1.0.

  * The width.cutoff argument works more accurately when comments are indented
    (thanks, @iqis, #92). Previously, width.cutoff did not take the indentation
    or the number of # characters in a comment when wrapping it, which may lead
    to wrapped comment lines that are wider than width.cutoff.

formatR 1.9
@yihui yihui released this Apr 14, 2021 ? 19 commits to master since this
release

NEW FEATURES

  * Lines will be wrapped after operators %>%, %T%, %$%, and %<>% now (thanks,
    @g4challenge #54, @jzelner #62, @edlee123 #68).

  * The argument width.cutoff of tidy_source() used to be the lower bound of
    line widths. Now if you pass a number wrapped in I(), it will be treated as
    the uppper bound, e.g., tidy_source(width.cutoff = I(60)). However, please
    note that the upper bound cannot always be respected, e.g., when the code
    contains an extremely long string, there is no way to break it into shorter
    lines automatically (thanks, @krivit @pablo14, #71).

  * The value of the argument width.cutoff can be specified in the global
    option formatR.width now. By default, the value is still taken from the
    global option width like before.

BUG FIXES

  * When the text in the clipboard on macOS does not have a final EOL,
    tidy_source() fails to read the last line (thanks, @edlee123, #54).

formatR 1.8
@yihui yihui released this Mar 13, 2021 ? 53 commits to master since this
release

  * White spaces on blank lines are removed now (thanks, @nylander, #88).

  * This package requires R >= 3.2.3 now.
  • Loading branch information
mef committed Sep 4, 2021
1 parent 852e61a commit 65edb92
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions textproc/R-formatR/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.6 2019/08/08 19:53:56 brook Exp $
# $NetBSD: Makefile,v 1.7 2021/09/04 12:45:00 mef Exp $

R_PKGNAME= formatR
R_PKGVER= 1.7
R_PKGVER= 1.11
CATEGORIES= textproc

MAINTAINER= pkgsrc-users@NetBSD.org
Expand Down
10 changes: 5 additions & 5 deletions textproc/R-formatR/distinfo
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.5 2019/07/31 20:48:51 brook Exp $
$NetBSD: distinfo,v 1.6 2021/09/04 12:45:01 mef Exp $

SHA1 (R/formatR_1.7.tar.gz) = bcd4bec2b469b0817ce750d7f19403aa04055b7a
RMD160 (R/formatR_1.7.tar.gz) = f3af0f9a92b043ee607f0f73b00083d5fac9418b
SHA512 (R/formatR_1.7.tar.gz) = ab4a70fb276036b57c0e5438e1192ff5af098b55a5f2b227c175c0c33274332947ab0661223ee1347ea5b6f32e801dfcf9448f34ec02e1ff98d054fc78fbe9ee
Size (R/formatR_1.7.tar.gz) = 105954 bytes
SHA1 (R/formatR_1.11.tar.gz) = ffd50292902e104963f92edfe4675ebf1286bba6
RMD160 (R/formatR_1.11.tar.gz) = 2d9173ee4c9ead93b577bfe066e597d5b5b8876e
SHA512 (R/formatR_1.11.tar.gz) = 448eb939300e060b5cf4ae5b2c3b5067469600d7a888de8725bf68fa3ec503419bfa5e2a969e42b295ed823408e9752597478432468758fc98af12ae1943937f
Size (R/formatR_1.11.tar.gz) = 95158 bytes

0 comments on commit 65edb92

Please sign in to comment.