BSD Ports

devel/R-cran-whisker 0.4.1_2 DragonFly

{{mustache}} for R, Logicless Templating

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv3
Categories
devel
Package size
72.1 KiB, 206.9 KiB installed

Description

Whisker is a implementation in R confirming to the Mustache specification. Mustache is a logicless templating language, meaning that no programming source code can be used in your templates. This may seem very limited, but Mustache is nonetheless powerful and has the advantage of being able to be used unaltered in many programming languages. It makes it very easy to write a web application in R using Mustache templates which could also be re-used for client-side rendering with "Mustache.js".

Mustache (and therefore whisker) takes a simple, but different, approach to templating compared to most templating engines. Most templating libraries, such as Sweave, knitr and brew, allow the user to mix programming code and text throughout the template. This is powerful, but ties your template directly to a programming language and makes it difficult to seperate programming code from templating code.

Whisker, on the other hand, takes a Mustache template and uses the variables of the current environment (or the supplied list) to fill in the variables.

In the other systems

The newest version among them is 0.4.1, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/R-cran-whisker0.4.1_2 newestnone known-[email protected]-
FreeBSDdevel/R-cran-whisker0.4.1_2 newestnone known-[email protected]-
MidnightBSDdevel/R-cran-whisker0.4.1_2 newestno data-[email protected]-
HardenedBSDdevel/R-cran-whisker0.4.1_2 newestno data-[email protected]-
GhostBSDdevel/R-cran-whisker0.4.1_2 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install R-cran-whisker

From DPorts:

cd /usr/dports/devel/R-cran-whisker && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 1