toRd.shiny.tag-methods: Methods for 'toRd.shiny.tag'

Description Usage Arguments Methods (by HTML tag) See Also Examples

Description

Methods for toRd.shiny.tag().

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# Special Methods ------------------------------------------------------
## Default S3 method:
toRd.shiny.tag(obj, ...)
## S3 method for class 'shiny.tag'
toRd.shiny.tag(obj, ...)
# Defined Methods ------------------------------------------------------
## S3 method for class 'a'
toRd.shiny.tag(obj, ...)
## S3 method for class 'abbr'
toRd.shiny.tag(obj, ..., abbr.check.caps=TRUE)
## S3 method for class 'br'
toRd.shiny.tag(obj, ...)
## S3 method for class 'code'
toRd.shiny.tag(obj, ...)
## S3 method for class 'div'
toRd.shiny.tag(obj, ..., sub.section=FALSE)
## S3 method for class 'dfn'
toRd.shiny.tag(obj, ...)
## S3 method for class 'dd'
toRd.shiny.tag(obj, ...)
## S3 method for class 'dt'
toRd.shiny.tag(obj, ...)
## S3 method for class 'dl'
toRd.shiny.tag(obj, ...)
## S3 method for class 'html'
toRd.shiny.tag(obj, ...)
## S3 method for class 'img'
toRd.shiny.tag(obj, ...)
## S3 method for class 'li'
toRd.shiny.tag(obj, ...)
## S3 method for class 'p'
toRd.shiny.tag(obj, ...)
## S3 method for class 'ol'
toRd.shiny.tag(obj, ...)
## S3 method for class 'section'
toRd.shiny.tag(obj, ..., sub.section=FALSE)
## S3 method for class 'table'
toRd.shiny.tag(obj, ..., col.align = 'l')
## S3 method for class 'tr'
toRd.shiny.tag(obj, ..., head=FALSE)
## S3 method for class 'tbody'
toRd.shiny.tag(obj, ..., head=FALSE)
## S3 method for class 'tfoot'
toRd.shiny.tag(obj, ..., warn.info.loss = "message")
## S3 method for class 'thead'
toRd.shiny.tag(obj, ...)
## S3 method for class 'ul'
toRd.shiny.tag(obj, ...)
# Generated Methods ----------------------------------------------------
## Extractors ==========================================================
## S3 method for class 'h1'
toRd.shiny.tag(obj, ..., warn.info.loss="warning")
## S3 method for class 'h2'
toRd.shiny.tag(obj, ..., warn.info.loss="warning")
## S3 method for class 'h3'
toRd.shiny.tag(obj, ..., warn.info.loss="warning")
## S3 method for class 'h4'
toRd.shiny.tag(obj, ..., warn.info.loss="warning")
## S3 method for class 'h5'
toRd.shiny.tag(obj, ..., warn.info.loss="warning")
## S3 method for class 'span'
toRd.shiny.tag(obj, ..., warn.info.loss="warning")
## S3 method for class 'td'
toRd.shiny.tag(obj, ..., warn.info.loss="none")
## S3 method for class 'th'
toRd.shiny.tag(obj, ..., warn.info.loss="message")
## Converters ==========================================================
## S3 method for class 'aside'
toRd.shiny.tag(obj, ...)
## S3 method for class 'em'
toRd.shiny.tag(obj, ...)
## S3 method for class 'cite'
toRd.shiny.tag(obj, ...)
## S3 method for class 'kbd'
toRd.shiny.tag(obj, ...)
## S3 method for class 'pre'
toRd.shiny.tag(obj, ...)
## S3 method for class 'q'
toRd.shiny.tag(obj, ...)
## S3 method for class 'samp'
toRd.shiny.tag(obj, ...)
## S3 method for class 'strong'
toRd.shiny.tag(obj, ...)

Arguments

obj

a shiny.tag object.

...

passed to methods.

warn.info.loss

should warning be issued when information might be lost. Note that defaults are different for different methods.

abbr.check.caps

Check is abbreviations in all caps.

col.align

Column alignment for tables.

head

Used internally to indicate if a child of a <thead> node.

sub.section

Used internally for nested <section>s and <div>s.

Methods (by HTML tag)

Special Methods

These are defined for completeness but always produce errors.

Defined Methods

Generated Methods

These methods are generated.

Extractors: Only extract the contents but do not wrap in an Rd tag.

Converters: Convert simply from an HTML tag to an Rd tag.

See Also

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
toRd(htmltools::a("some text", href="https://r-project.org"))
toRd(htmltools::tags$abbr("GPL"))
toRd(htmltools::code("plot(rnorm(100))"))
toRd(htmltools::tags$dfn("abc"))
toRd(htmltools::tags$dl( htmltools::tags$dt("term1")
                       , htmltools::tags$dd("definition 1.")
                       , htmltools::tags$dt("term2")
                       , htmltools::tags$dd("definition 2.")
                       ))
toRd(htmltools::tags$ol( htmltools::tags$li("First")
                       , htmltools::tags$li("Second")
                       ))
toRd(htmltools::tags$ul( htmltools::tags$li("First")
                       , htmltools::tags$li("Second")
                       ))

RDocTaskForce/htmlRd documentation built on May 13, 2019, 10:04 a.m.