https://github.com/pzhaonet/mindr
'mindr' is an R package that can convert files between (R)markdown, R scripts, and mind maps. A brief introduction can be found in one of my previous posts:
[New Project] mindr: an R package that creates a markdown post out of a mind map
[New Features on mindr] Support LaTeX Equations. Conversion between .R scripts and .Rmd documents
Commit: v.1.2.0 'mm()', 'tree()', 'pandoc'.
The new version 1.2.0 mainly brings four exciting features.
tree() can create a mind map from a directory on your computer. See the following image as a demo.mm() can convert the file formats automatically according to the suffix of the input file. This is a big step of mindr, because mm() wraps (almost) all the previous features into one function. Users do not have to memorize other functions.