diff options
author | brook <brook@pkgsrc.org> | 2014-09-19 20:31:50 +0000 |
---|---|---|
committer | brook <brook@pkgsrc.org> | 2014-09-19 20:31:50 +0000 |
commit | 27bee60dca974f11eabbdd49ffeeba4ad9a45766 (patch) | |
tree | 0bb2d467fd5b21e0f1900a03cd6372f0e053966f /textproc | |
parent | 9d0cda6c4a99f4e7023031656c5c8b429b900eda (diff) | |
download | pkgsrc-27bee60dca974f11eabbdd49ffeeba4ad9a45766.tar.gz |
Initial import of formatR v1.0 as textproc/R-formatR.
This package provides a function tidy_source() to format R source
code. Spaces and indent will be added to the code automatically, and
comments will be preserved under certain conditions, so that R code
will be more human-readable and tidy. There is also a Shiny app as a
user interface in this package (see tidy_app()).
Note: this commit is part of reorganizing some of the recently
imported R packages, which are being reimported into more appropriate
categories (and removed from math) as a result of a recent discussion
on tech-pkg and privately with wiz@. See the thread starting with:
http://mail-index.netbsd.org/tech-pkg/2014/09/05/msg013558.html
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/R-formatR/DESCR | 5 | ||||
-rw-r--r-- | textproc/R-formatR/Makefile | 15 | ||||
-rw-r--r-- | textproc/R-formatR/distinfo | 5 |
3 files changed, 25 insertions, 0 deletions
diff --git a/textproc/R-formatR/DESCR b/textproc/R-formatR/DESCR new file mode 100644 index 00000000000..6e6cb3e7fb5 --- /dev/null +++ b/textproc/R-formatR/DESCR @@ -0,0 +1,5 @@ +This package provides a function tidy_source() to format R source +code. Spaces and indent will be added to the code automatically, and +comments will be preserved under certain conditions, so that R code +will be more human-readable and tidy. There is also a Shiny app as a +user interface in this package (see tidy_app()). diff --git a/textproc/R-formatR/Makefile b/textproc/R-formatR/Makefile new file mode 100644 index 00000000000..589ab42e168 --- /dev/null +++ b/textproc/R-formatR/Makefile @@ -0,0 +1,15 @@ +# $NetBSD: Makefile,v 1.1 2014/09/19 20:31:50 brook Exp $ + +CATEGORIES= textproc +MASTER_SITES= ${MASTER_SITE_R_CRAN:=contrib/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= ${R_HOMEPAGE_BASE}/formatR/ +COMMENT= Format R code automatically +# TODO: LICENSE= GPL + +R_PKGNAME= formatR +R_PKGVER= 1.0 + +.include "../../math/R/Makefile.extension" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/R-formatR/distinfo b/textproc/R-formatR/distinfo new file mode 100644 index 00000000000..06b49c88f74 --- /dev/null +++ b/textproc/R-formatR/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2014/09/19 20:31:50 brook Exp $ + +SHA1 (R/formatR_1.0.tar.gz) = 9fc399675e8dcc8979ebc99c94816d08830cc9ba +RMD160 (R/formatR_1.0.tar.gz) = e8eb942cce07c3dd26ef1e8ceab961c6b8144e80 +Size (R/formatR_1.0.tar.gz) = 28265 bytes |