rdoc_style: rdoc style options
Description
Set Rd output formatting styles to be supplied to options(rdoc.style =
rdoc_style())
Usage
rdoc_style(title = crayon::bold, section_titles = crayon::underline,
arguments = NULL, code_style = prettycode::default_style())
Arguments
code_style
code sections (e.g. examples) and inline code
styles to be passed on to prettycode::highlight
Details
all inputs should be functions or NULL
with the exception of
code_style
which should be a list of functions.
Examples
Run this code# NOT RUN {
options(rdoc.style = rdoc::rdoc_style(arguments = crayon::italic))
# }
Run the code above in your browser using DataLab