- Function
render_rmd()
is now overwritten previous versions of rendered files.
- All duties regarding reading and writing yaml head were passed to package
yaml
. - A description for the class
rmd_doc
was added. - Function
yamlme:::write_yaml()
is working recursively, based on discussions here and here - Parameters
temp_file
anddelete_temp
are deprecated. - Function
render_rmd()
will write in the temporal directory and then move resulting files to the working directory, if necessary. - If not included, extension *.Rmd will be automatically added to
filename
inwrite_rmd()
. - Parameter
output_file
in functionrender_rmd()
may include the .Rmd extension or not and the file can be written in the temporary directory or any other path. - Replacement methods for function
as.list()
(functionas<-
).
- A
print()
method forrmd_doc
objects. - An
update()
method forrmd_doc
objects.
- Objects of class
rmd_doc
are now structured as lists instead of character vectors. - Output of function
read_rmd()
is an object of classrmd_doc
instead of plain character vector.
- Dash vectors may also be of length 1