Add JavaScript tab in the report

knitr_add_tab_item(code, header, prefix, desc = "", opt = NULL,
    message = NULL, hide_and_show = FALSE)

Arguments

code

R code to execute.

header

Header or the title for the tab.

prefix

Prefix of the chunk label.

desc

Decription in the tab.

opt

Options for the knitr chunk.

message

Message to print.

hide_and_show

Whether to hide the code output.

Details

Each tab contains the R source code and results generated from it (figure, tables, text, ...).

This function is only for internal use.

Value

No value is returned.

See also

knitr_insert_tabs produces a complete HTML fragment.

Author

Zuguang Gu <z.gu@dkfz.de>

Examples

# There is no example
NULL
#> NULL