markziemann / mitch

An R package for multi-dimensional pathway enrichment analysis
https://bioconductor.org/packages/mitch
Other
16 stars 4 forks source link

Rmarkdown report chunk headers #29

Closed markziemann closed 1 year ago

markziemann commented 2 years ago

When using mitch_report in another rmarkdown doc, header name clashes can occur.

Simple fix is to change the name of the chunks to something more obscure.

like: heatmap --> heatmapx1281

label: mitch
Quitting from lines 713-713 (/tmp/RtmpEQLoxz/file1fa79762b2da16.md) 
Error in parse_block(g[-1], g[1], params.src, markdown_mode) : 
  Duplicate chunk label 'heatmap', which has been used for the chunk: