Processes all RSP preprocessing directives.
# S3 method for RspDocument
preprocess(object, recursive=TRUE, flatten=TRUE, envir=parent.frame(),
clipboard=new.env(), ..., verbose=FALSE)
Returns an RspDocument
.
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
.
Henrik Bengtsson
For more information see RspDocument
.