This function is a simple wrapper around
bookdown::render_book()
and can be used to render a protocol to html and
pdf in order to preview updates that have been made.
Arguments
- protocol_code
Character string giving the protocol code
- output_dir
The output directory. If
NULL
, a field namedoutput_dir
in the configuration file_bookdown.yml
will be used (possibly not specified, either, in which case a directory name_book
will be used).- ...
additional parameters passed on to
bookdown::render_book()