rmarkdown 2.24
-
Fixed
file_scope
being lost when extending output formats that considers thefile_scope
usingoutput_format()
. Merge behavior is to apply overlayfile_scope
function onto the result ofbase_format
'sfile_scope
function. This implies thatfile_scope
gains second argument which receives the returned values of the basefile_scope
(thanks, @atusy, #2488). -
Added
output_format_dependency()
which allows extending output format from within chunks (thanks, @atusy, #2462) -
Fix an issue with shiny prerendered document where dependencies context were written twice leasing to parsing error (thanks, @gadenbuie, rstudio/learn#597, #2500).