1% A regression test example of Rd conversion
2\name{testit}
3\title{An Rd Regression Test}
4\alias{\{}
5\usage{
6\\x \\y \%\{\}
7
8foo(\var{x}, \var{y})
9}
10\details{
11  Escaped backslash \code{\\x}.
12
13  \code{\%\{\}}
14
15  \link{a link} and one to a known destination:
16  \link[stats]{weighted.mean}
17
18  var in \var{text}.
19
20  \code{foo(\var{x}, \var{y})}.
21  \preformatted{
22  Escaped backslash \\x.
23
24  \%\{\}
25
26  var in \var{text}.
27
28  foo(\var{x}, \var{y}).
29
30  From gap: pedtodot.Rd -- n=split(m,par,"\034")
31  }
32  Yihui Xie's example:
33  \Sexpr[results=rd,stage=render]{"\\\\describe{\\\\item{def}{ghi}}"}
34}
35\examples{
36\\x
37\%\{\}
38foo(\var{x}, \var{y})
39}
40