r2dir: Generate hierarchical directories according to the outline of...

View source: R/wrapper.R

r2dirR Documentation

Generate hierarchical directories according to the outline of R code

Description

Generate hierarchical directories according to the outline of R code

Usage

r2dir(
  from = NA,
  dir_to = NA,
  md_list = FALSE,
  md_bookdown = TRUE,
  dir_quiet = FALSE
)

Arguments

from

Character. The source text of the (R) Markdown syntax text, the R code, the FreeMind mind map code, or the path to the directory.

dir_to

Character. The path of the output directory.

md_list

Logical. whether to process lists like headings in the Markdown input.

md_bookdown

Logical. Whether the R Markdown syntax text is in bookdown style, i.e. # (PART), # (APPENDIX), and # References as an upper level of the Level 1 heading.

dir_quiet

Logical. Whether to display the results of generated directories.

Value

Directory generated.


mindr documentation built on Dec. 20, 2025, 1:06 a.m.

Related to r2dir in mindr...