Displaying 4 results from an estimated 4 matches for "complete_text".
2007 May 01
1
R CMD Rdconv drops sections: arguments, seealso, examples (PR#9649)
...ge 'timhPackage'
> ** Removing '/tmp/Rlib/timhPackage'
> ** Restoring previous '/tmp/Rlib/timhPackage'
>
> The code to report the line number doesn't work quite right
> since any "% comment" lines in the Rd file have been removed
> from $complete_text by the time we get here. I fudged by
> putting 'on or after line XXX' in the error message.
The following patch adds a little more information (the
name of the \tag or whether it is an unmatched { or })
to the error message, so Tim's example results in
% R CMD INSTALL -l /tmp/...
2007 Apr 30
1
R CMD Rdconv drops sections: arguments, seealso, examples (PR#9645)
...uilding help failed for package 'timhPackage'
** Removing '/tmp/Rlib/timhPackage'
** Restoring previous '/tmp/Rlib/timhPackage'
The code to report the line number doesn't work quite right
since any "% comment" lines in the Rd file have been removed
from $complete_text by the time we get here. I fudged by
putting 'on or after line XXX' in the error message.
I tried this on 650 packages from CRAN and didn't get any
false alarms, but I'm not convinced that none are possible.
*** R-2.5.0/share/perl/R/Rdconv.pm~ 2007-03-29 19:05:08.000000000 -0700...
2007 Apr 10
1
R CMD Rdconv drops sections: arguments, seealso, examples (PR#9606)
I've created a .Rd file (below), then converted that to .sgml using
R CMD Rdconv --type=Ssgm combn.Rd > combn.sgml
The output (shown below) is missing some of the sections:
arguments
seealso
examples
If instead I convert to .d (below), the same sections are missing,
and the "note" section is included but without the necessary newline.
1997 Sep 01
1
R-alpha: old Rdoc 2 new Rdoc
...quot;debug|d");
GetOptions (@knownoptions) || die("Unknown Option!\n");
$max_parent = 0;
$NP = "normal_parent";
$PN = "parent_normal";
$EOP = "escaped_opening_parent";
$ECP = "escaped_closing_parent";
$ID = "$NP\\d+$PN";
undef $/;
$complete_text = <>;
print stderr "Marking Parantheses ... " if $opt_debug;
$text = mark_parents($complete_text);
print stderr "done\n" if $opt_debug;
print stderr "Searching logical blocks ... " if $opt_debug;
$text =~ /TITLE($ID)/;
$id = $1;
@args = get_two_args($id);
$t...