Processes all RSP preprocessing directives.
# S3 method for RspDocument
preprocess(object, recursive=TRUE, flatten=TRUE, envir=parent.frame(),
clipboard=new.env(), ..., verbose=FALSE)
If TRUE
, any RspDocument
s introduced via
preprocessing directives are recursively parsed and preprocessed
as well.
If TRUE
, any RspDocument
introduced is
replaced (inserted and expanded) by its list
of
RspConstruct
s.
The environment
where the preprocessing is evaluated.
An environment
hold cut'n'paste directives during
preprocessing.
Not used.
See Verbose
.
Returns an RspDocument
.
For more information see RspDocument
.