Compiles an RSP document into a preprocessed and validated RSP document.
## Default S3 method:
rclean(..., file=NULL, path=NULL, envir=parent.frame(), args="*", verbose=FALSE)
character strings with RSP markup.
Alternatively, a file, a URL or a connection from
with the strings are read.
If a file, the path is prepended to the file, iff given.
The environment in which the RSP string is preprocessed.
A named list of arguments assigned to the environment
in which the RSP document is parsed.
Returns an RspString.
rcat() and rfile().
# RSP-embedded text to a preprocessed and validated RSP string
s <- rclean('Current <%@include content="time"%> is <%=Sys.time()%>\n')
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.