Adds a credits section, which is automatically filled with the libraries used. These can be added to or edited.
Arguments
- add
A list of credits to add. Each credit should be a list with at least entries for
"name"and"url", and optionally a"version"and/or"description". These can be named, which will overwrite other credits with the same name.- exclude
Names of automatic credits to exclude. The automatic credits are
"bootstrap","leaflet"(fromoutput_map),"plotly"(fromoutput_plot), and"datatables"(fromoutput_table).
Examples
if (FALSE) {
# adds an institution credit, and excludes the default colorbrewer credit
output_credits(
list(name = "Institution", url = "https://example.com", description = "The institution."),
"colorbrewer"
)
}