add_footer_pure: Add success footer information item to item for the figure or...

View source: R/fun-add-footer.R

add_footer_pureR Documentation

Description

This function should be in the code chunk (always follow the code of plot or kable) and without setting "result= 'asis'".

Usage

add_footer_pure(text, type = "note")

Arguments

text

character, information text.

type

character, is one of c('note', 'source') and default 'note'

Value

invisible

Examples

cap_note <- "This is a note, ba la ba la"
cap_source <- "source from yearbook 2021"
## Not run: 
 add_footer_pure(cap_note)
 cat("\n")
 add_footer_pure(cap_source, type = "source")

## End(Not run)



huhuaping/techme documentation built on June 16, 2024, 3:38 a.m.