summaryrefslogtreecommitdiff
path: root/textproc/R-formatR
diff options
context:
space:
mode:
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