Learn R Programming

infuser (version 0.2.8)

A Very Basic Templating Engine

Description

This light-weight templating package provides flexible and user-friendly value substitution in string templates or template files (e.g. SQL files) at runtime.

Copy Link

Version

Install

install.packages('infuser')

Monthly Downloads

92

Version

0.2.8

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

October 4th, 2017

Functions in infuser (0.2.8)

trim

Returns string w/o leading or trailing whitespace
variables_requested

Shows which variables are requested by the template
infuse

Infuse a template with values.
print.infuse

prints/shows the result of the infuse function using the cat function
print_requested_params

Prints requested parameters
read_template

Reads the template from a file or string