sbr_blocks.Rd
Returns a string of the report code blocks in markdown format ready for inclusion in a report.
sbr_blocks(
x_name = ".*",
sub = character(0),
report = sbr_get_report(),
tag = ".*",
drop = NULL,
sort = NULL,
rename = NULL,
nheaders = 2L,
header1 = 4L,
main = subfoldr2::sbf_get_main()
)
A string of the regular expression to match file names.
A string of the path to the root sub folder.
A string of the path to the report folder.
A string of the regular expression that the tag must match to be included.
A character vector specifying the sub folders and file names to exclude from the report or NULL.
A character vector specifying the initial sort order for sub folders and file names or NULL. Missing items appear afterwards in alphabetical order.
A unique named character vector specifying new heading names for sub folders or NULL. By default sub folder names have the first letter of each word capitalized.
A count of the number of sub folder levels to assign headers to.
A count of the heading level for the first sub folder level.
A string of the path to the main folder.
A string of the code blocks in markdown format.