Changeset View
Changeset View
Standalone View
Standalone View
autotests/input/test.Rd
- This file was added.
1 | % Single-line comment | ||||
---|---|---|---|---|---|
2 | \name{foo} | ||||
3 | #ifdef unix | ||||
4 | \alias{bar} | ||||
5 | #endif ignored | ||||
6 | \title{Foo} | ||||
7 | \description{ | ||||
8 | We have a list | ||||
9 | \itemize error{ | ||||
10 | \item foo, | ||||
11 | \item bar. | ||||
12 | } | ||||
13 | Also a table: \tabular{lr}{ | ||||
14 | foo \tab \code{foo} \cr | ||||
15 | bar \tab \preformatted{bar} | ||||
16 | } | ||||
17 | } | ||||
18 | \section{Section}{ | ||||
19 | Escaped braces don't need balance \} | ||||
20 | \subsection{Subsection}{ | ||||
21 | \subsection{Subsubsection}{ | ||||
22 | Sections can be nested. | ||||
23 | } | ||||
24 | } | ||||
25 | } | ||||
26 | \usage{ | ||||
27 | foo(a, b = default) | ||||
28 | } | ||||
29 | \newcommand{\macro}{Test#1} | ||||
30 | \arguments{ | ||||
31 | \item{a}{\if{html}{π =} \Sexpr[stage=build]error{4*atan(1)}} | ||||
32 | \item{b}{\macro{text} \link[pkg:bar]{fooo}} | ||||
33 | } | ||||
34 | \seealso{ | ||||
35 | \code{\link{bar}} | ||||
36 | } | ||||
37 | \examples{ | ||||
38 | # R comment | ||||
39 | % Rdoc comment | ||||
40 | foo(1) | ||||
41 | for (i in 1:10) | ||||
42 | foo(i) | ||||
43 | } | ||||
44 | \keyword{foo} |