From 0e1025680da6878787cb5dc43dbaed3590fe2681 Mon Sep 17 00:00:00 2001 From: wen Date: Sun, 18 Dec 2016 02:39:05 +0000 Subject: [PATCH] Update to 1.4 Upstream changes: CHANGES IN formatR VERSION 1.4 NEW FEATURES o `tidy_source()` can preserve line breaks in character strings in source code MAJOR CHANGES o the deprecated functions tidy.source(), tidy.dir(), and tidy.eval() have been removed; use tidy_source(), tidy_dir() and tidy_eval() instead o comments that begin with `#+` or `#-` are no longer wrapped; such comments are treated as knitr chunk options in `knitr::spin()` (#52) BUG FIXES o `tidy_source()` should not write an extra space to the last line of code (thanks, @mr-karan, #49) o long strings (> 1000 characters) in source code can be preserved now (thanks, @jholtman, #50) o `tidy_source()` might move any lines of code starting with `else` back to the previous lines (thanks, @Auburngrads, #51) --- textproc/R-formatR/Makefile | 4 ++-- textproc/R-formatR/distinfo | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/textproc/R-formatR/Makefile b/textproc/R-formatR/Makefile index 7b249c85a9944..a7382fb13885f 100644 --- a/textproc/R-formatR/Makefile +++ b/textproc/R-formatR/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2016/04/16 14:52:15 wen Exp $ +# $NetBSD: Makefile,v 1.3 2016/12/18 02:39:05 wen Exp $ CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_R_CRAN:=contrib/} @@ -9,7 +9,7 @@ COMMENT= Format R code automatically # TODO: LICENSE= GPL R_PKGNAME= formatR -R_PKGVER= 1.3 +R_PKGVER= 1.4 .include "../../math/R/Makefile.extension" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/R-formatR/distinfo b/textproc/R-formatR/distinfo index deca8fa180fb1..64792e78c48f3 100644 --- a/textproc/R-formatR/distinfo +++ b/textproc/R-formatR/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.3 2016/04/16 14:52:15 wen Exp $ +$NetBSD: distinfo,v 1.4 2016/12/18 02:39:05 wen Exp $ -SHA1 (R/formatR_1.3.tar.gz) = 69ac9993027bdbc3fbf7f23e9f56f642dfd11094 -RMD160 (R/formatR_1.3.tar.gz) = 9f452446faba9f967d3c3cb5166dfe2f35c62cd3 -SHA512 (R/formatR_1.3.tar.gz) = 8390d5a2e676371e9aab8ed087054b76f9458f6a1237ef166287de5d585cbcc0322d8d47b0f8ba7fe1a34ea487797e86fb2c54b8256dc2e77b7fab535f841421 -Size (R/formatR_1.3.tar.gz) = 28139 bytes +SHA1 (R/formatR_1.4.tar.gz) = f4b3d9f25e9c8355e058940631807c047d522bc8 +RMD160 (R/formatR_1.4.tar.gz) = aa8d4dfd9df7efbfc2fdd7d6979460b1f54102cf +SHA512 (R/formatR_1.4.tar.gz) = 62d2ba50d6405a6446af15a80e595a103729768d19698ef5191ba83ddc0b4f80388c54bc7dcba4d9fde1507a8da013e921a16e6d5b1a56fcf5df3e215d6cbaf1 +Size (R/formatR_1.4.tar.gz) = 28109 bytes