Rdocumentation
powered by
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
Link to current version
Version
Version
0.2.8
0.2.7
0.2.6
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.1
Install
install.packages('infuser')
Monthly Downloads
117
Version
0.2.8
License
MIT + file LICENSE
Issues
2
Pull Requests
0
Stars
48
Forks
6
Repository
https://github.com/bart6114/infuser/
Maintainer
Bart Smeets
Last Published
October 4th, 2017
Functions in infuser (0.2.8)
Search all functions
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