Skip to content

Commit 1664a87

Browse files
author
smeyer
committed
test Rd conversion of \Sexpr-generated paragraphs (HTML to be fixed)
git-svn-id: https://svn.r-project.org/R/trunk@88474 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent 77a133d commit 1664a87

File tree

4 files changed

+23
-0
lines changed

4 files changed

+23
-0
lines changed

tests/testit.Rd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ foo(\var{x}, \var{y}, ...)
6363
--
6464
6565
\Sexpr[echo=TRUE,results=verbatim,keep.source=TRUE]{x<-007}
66+
67+
Georgi Boshnakov's example of generated paragraphs:
68+
\Sexpr[results=rd]{paste(letters[1:3], collapse="\n\n")}
6669
}
6770
\value{
6871
[NULL]\cr\cr\dots

tests/testit.html.save

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,13 @@ output
101101
&gt; x&lt;-007
102102
&#8288;</code>
103103
</p>
104+
<p>Georgi Boshnakov's example of generated paragraphs:
105+
a
106+
107+
b
108+
109+
c
110+
</p>
104111

105112

106113
<h3><code style="white-space: pre;">&#8288;\tabular&#8288;</code></h3>

tests/testit.tex.save

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,13 @@ output
7171
\AsIs{\texttt{
7272
> x<-007
7373
}}
74+
75+
Georgi Boshnakov's example of generated paragraphs:
76+
a
77+
78+
b
79+
80+
c
7481
\end{Section}
7582
%
7683
\begin{Section}{\AsIs{\texttt{\bsl{}tabular}}}

tests/testit.txt.save

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@ _V_a_l_u_e:
6262

6363
> x<-007
6464

65+
Georgi Boshnakov's example of generated paragraphs: a
66+
67+
b
68+
69+
c
70+
6571
\_t_a_b_u_l_a_r:
6672

6773
1 linked text in \tabular <https://example.org/a&b#c>

0 commit comments

Comments
 (0)