powered by
inserts an element in the report in the current section.
insert_report( id, title = NA, ..., interpretation = TRUE, is.chunk = TRUE, add = FALSE )
a string with the key of what is inserted in the report.
the title of the content, if there is no title is NA.
the content to be inserted.
a logical value indicating whether a label has to be inserted for interpretation.
a logical value indicating whether the content has to be enclosed in a chunk.
a logical value indicating if the content has to be added to what is a before.
# NOT RUN { new_report(iris, "iris") insert_report("1_part", 'Title 1', 'head(iris)\n', 'summary(iris)') get_report() clean_report() # }
Run the code above in your browser using DataLab