search for: badlineno

Displaying 3 results from an estimated 3 matches for "badlineno".

2007 May 01
1
R CMD Rdconv drops sections: arguments, seealso, examples (PR#9649)
...ckets must be unmatched ones, hence report error. + if ($complete_text =~ /([{}])/s) { + # Would like to tell which which line has unmatched { or }, + # but lines starting with % have already been removed. + # Hence the 'on or after' in the message. + my $badlineno=0 ; + my $extra_info = "(\'$1\')" ; + if ($complete_text =~ /(\\\w+{)/) { + $extra_info = "(\'$1\')" ; + } + foreach my $line (split /\n/, $complete_text) { + $badlineno++; + last if ($line =~ /[{}]/) ; + } +...
2007 Apr 30
1
R CMD Rdconv drops sections: arguments, seealso, examples (PR#9645)
...rackets must be unmatched ones, hence report error. + if ($complete_text =~ /[{}]/s) { + # Would like to tell which which line has unmatched { or }, + # but lines starting with % have already been removed. + # Hence the 'on or after' in the message. + my $badlineno=0 ; + foreach my $line (split /\n/, $complete_text) { + $badlineno++; + last if ($line =~ /[{}]/) ; + } + die "Rdconv(): mismatched braces in help file $Rdname on or after line $badlineno\n" ; + } } sub unmark_brackets { > \name...
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.