Debian Codegraph @

man/brew.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/brew.R
3 \name{brew}
4 \alias{brew}
5 \title{Patched brew}
6 \usage{
7 brew(text = NULL, envir = parent.frame())
8 }
9 \arguments{
10 \item{text}{character vector}
11
12 \item{envir}{environment}
13 }
14 \value{
15 \code{brew}ed document to \code{stdout} and raw results while evaluating the \code{text} in a structured list.
16 }
17 \description{
18 This is a forked/patched version of `brew` package made by Jeffrey Horner (c) 2007. See: \code{References} about the original version.
19 }
20 \details{
21 This custom function can do more and also less compared to the original \code{brew} package. First of all the internal caching mechanism (and other, from \code{pander} package POV needless features) of `brew` is removed for some extra profits:
22 \itemize{
23 \item multiple R expressions can be passed between \code{<\%= ... \%>} tags,
24 \item the text of the file and also the evaluated R objects are (invisibly) returned in a structured list, which can be really useful while post-processing the results of `brew`.
25 }
26 }
27 \note{
28 This function should be never called directly (use \code{brew::brew} instead) as being a helper function of \code{Pandoc.brew}.
29 }
30 \references{
31 Jeffrey Horner (2011). _brew: Templating Framework for Report Generation._ \url{https://cran.r-project.org/package=brew}
32 }
33 \seealso{
34 \code{\link{Pandoc.brew}}
35 }
36 \keyword{internal}