summaryrefslogtreecommitdiff
path: root/textproc/R-formatR
diff options
context:
space:
mode:
authorbrook <brook>2014-09-19 20:31:50 +0000
committerbrook <brook>2014-09-19 20:31:50 +0000
commit3addb174b7f92052237c34fcb55a4a864e2db8ec (patch)
tree0bb2d467fd5b21e0f1900a03cd6372f0e053966f /textproc/R-formatR
parent86d52774af4cbf86371ed48ce0a8badf2bb31916 (diff)
downloadpkgsrc-3addb174b7f92052237c34fcb55a4a864e2db8ec.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/R-formatR')
-rw-r--r--textproc/R-formatR/DESCR5
-rw-r--r--textproc/R-formatR/Makefile15
-rw-r--r--textproc/R-formatR/distinfo5
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