mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
textproc/R-cran-R.rsp: New port
The RSP markup language makes any text-based document come alive. RSP provides a powerful markup for controlling the content and output of LaTeX, HTML, Markdown, AsciiDoc, Sweave and knitr documents (and more), e.g. 'Today's date is <%=Sys.Date()%>'. Contrary to many other literate programming languages, with RSP it is straightforward to loop over mixtures of code and text sections, e.g. in month-by-month summaries. RSP has also several preprocessing directives for incorporating static and dynamic contents of external files (local or online) among other things. Functions rstring() and rcat() make it easy to process RSP strings, rsource() sources an RSP file as it was an R script, while rfile() compiles it (even online) into its final output format, e.g. rfile('report.tex.rsp') generates 'report.pdf' and rfile('report.md.rsp') generates 'report.html'. RSP is ideal for self-contained scientific reports and R package vignettes. It's easy to use - if you know how to write an R script, you'll be up and running within minutes.
This commit is contained in:
parent
36d01889bc
commit
c710d1b797
4 changed files with 45 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
||||||
SUBDIR += 2bsd-diff
|
SUBDIR += 2bsd-diff
|
||||||
SUBDIR += CLDR
|
SUBDIR += CLDR
|
||||||
SUBDIR += R-cran-DT
|
SUBDIR += R-cran-DT
|
||||||
|
SUBDIR += R-cran-R.rsp
|
||||||
SUBDIR += R-cran-R2HTML
|
SUBDIR += R-cran-R2HTML
|
||||||
SUBDIR += R-cran-XML
|
SUBDIR += R-cran-XML
|
||||||
SUBDIR += R-cran-bibtex
|
SUBDIR += R-cran-bibtex
|
||||||
|
|
27
textproc/R-cran-R.rsp/Makefile
Normal file
27
textproc/R-cran-R.rsp/Makefile
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
PORTNAME= R.rsp
|
||||||
|
DISTVERSION= 0.46.0
|
||||||
|
CATEGORIES= textproc
|
||||||
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
||||||
|
|
||||||
|
MAINTAINER= uzsolt@FreeBSD.org
|
||||||
|
COMMENT= Dynamic Generation of Scientific Reports
|
||||||
|
WWW= https://cran.r-project.org/package=R.rsp
|
||||||
|
|
||||||
|
LICENSE= LGPL21 LGPL3
|
||||||
|
LICENSE_COMB= multi
|
||||||
|
|
||||||
|
RUN_DEPENDS= R-cran-digest>0:security/R-cran-digest \
|
||||||
|
R-cran-R.cache>0:devel/R-cran-R.cache \
|
||||||
|
R-cran-R.methodsS3>=1.8.0:devel/R-cran-R.methodsS3 \
|
||||||
|
R-cran-R.oo>=1.23.0:devel/R-cran-R.oo \
|
||||||
|
R-cran-R.utils>0:devel/R-cran-R.utils
|
||||||
|
TEST_DEPENDS= R-cran-base64enc>0:converters/R-cran-base64enc \
|
||||||
|
R-cran-knitr>0:print/R-cran-knitr \
|
||||||
|
R-cran-markdown>0:textproc/R-cran-markdown \
|
||||||
|
R-cran-R.devices>0:graphics/R-cran-R.devices
|
||||||
|
|
||||||
|
USES= cran:auto-plist shebangfix
|
||||||
|
|
||||||
|
SHEBANG_FILES= inst/tcl/r-httpd.tcl
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
3
textproc/R-cran-R.rsp/distinfo
Normal file
3
textproc/R-cran-R.rsp/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
TIMESTAMP = 1739691214
|
||||||
|
SHA256 (R.rsp_0.46.0.tar.gz) = 1a9f680ffe563abdaa91add6ebf5e6c0ecbe57f0d39687bcb272ff2a987c33bb
|
||||||
|
SIZE (R.rsp_0.46.0.tar.gz) = 680925
|
14
textproc/R-cran-R.rsp/pkg-descr
Normal file
14
textproc/R-cran-R.rsp/pkg-descr
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
The RSP markup language makes any text-based document come alive. RSP provides a
|
||||||
|
powerful markup for controlling the content and output of LaTeX, HTML, Markdown,
|
||||||
|
AsciiDoc, Sweave and knitr documents (and more), e.g. 'Today's date is
|
||||||
|
<%=Sys.Date()%>'. Contrary to many other literate programming languages, with
|
||||||
|
RSP it is straightforward to loop over mixtures of code and text sections, e.g.
|
||||||
|
in month-by-month summaries. RSP has also several preprocessing directives for
|
||||||
|
incorporating static and dynamic contents of external files (local or online)
|
||||||
|
among other things. Functions rstring() and rcat() make it easy to process RSP
|
||||||
|
strings, rsource() sources an RSP file as it was an R script, while rfile()
|
||||||
|
compiles it (even online) into its final output format, e.g.
|
||||||
|
rfile('report.tex.rsp') generates 'report.pdf' and rfile('report.md.rsp')
|
||||||
|
generates 'report.html'. RSP is ideal for self-contained scientific reports and
|
||||||
|
R package vignettes. It's easy to use - if you know how to write an R script,
|
||||||
|
you'll be up and running within minutes.
|
Loading…
Add table
Reference in a new issue