app_citation: Generate a recommended app citation

Description Usage Arguments Details Value Examples

Description

Generate a sub section for an app's information page to provide a recommended citation.

Usage

1
2
app_citation(author, year, title, publisher, url,
  heading = "Recommended citation", heading_size = "h3")

Arguments

author

character string, appears as is.

year

year of publication.

title

citation title.

publisher

the publisher.

url

the url of the application.

heading

the heading of the citation section, defaults to "Recommended citation".

heading_size

character, the heading tag, defaults to "h3".

Details

All character strings appear as is. For example, enter author="First Last, Last, F. , Last, F" if that is how three authors should appear in the citation. Note that terminal periods (.) are implicit.

Value

a character string wrapped in shiny::HTML.

Examples

1
#not run

leonawicz/apputils documentation built on May 13, 2019, 1:38 a.m.