# NOT RUN {
#START_TAG_TEST
doc.filename = "addTitle_bsdoc/example.html"
# set default font size to 11
options( "ReporteRs-fontsize" = 11 )
doc = bsdoc( )
doc = addTitle( doc, "Title example 1", level = 1 )
doc = addTitle( doc, "Title example 2", level = 1 )
# Write the object
writeDoc( doc, file = doc.filename )
#STOP_TAG_TEST
# }
Run the code above in your browser using DataLab