Re: [Rd] Problem with build and check

2014-11-13 Thread Duncan Murdoch
On 12/11/2014 2:36 PM, Joshua Ulrich wrote: On Wed, Nov 12, 2014 at 1:28 PM, Duncan Murdoch wrote: > On 12/11/2014 2:11 PM, Therneau, Terry M., Ph.D. wrote: >> >> I am getting failure of build and check, for an Rd file that has a long >> argument list. >> Guess diagnosis: a quoted string beyond

Re: [Rd] Problem with build and check

2014-11-12 Thread Joshua Ulrich
On Wed, Nov 12, 2014 at 1:28 PM, Duncan Murdoch wrote: > On 12/11/2014 2:11 PM, Therneau, Terry M., Ph.D. wrote: >> >> I am getting failure of build and check, for an Rd file that has a long >> argument list. >> Guess diagnosis: a quoted string beyond a certain point in the argument >> list is fat

Re: [Rd] Problem with build and check

2014-11-12 Thread William Dunlap
'Writing R Extensions', section 2.1 Rd format, says" Comments run from a percent symbol % to the end of the line in all types of text (as on the first line of the load example). Because backslashes, braces and percent symbols have special meaning, to enter them into text sometimes requires escape

Re: [Rd] Problem with build and check

2014-11-12 Thread Duncan Murdoch
On 12/11/2014 2:11 PM, Therneau, Terry M., Ph.D. wrote: I am getting failure of build and check, for an Rd file that has a long argument list. Guess diagnosis: a quoted string beyond a certain point in the argument list is fatal. No, the problem is that % is a comment marker in .Rd. You need

Re: [Rd] Problem with build and check

2014-11-12 Thread Enrico Schumann
On Wed, 12 Nov 2014, "Therneau, Terry M., Ph.D." writes: > I am getting failure of build and check, for an Rd file that has a long > argument list. > Guess diagnosis: a quoted string beyond a certain point in the argument list > is fatal. Another guess: should you not escape the '%'? That is,

Re: [Rd] Problem with build and check

2014-11-12 Thread Paul Gilbert
I certainly have longer argument lists with no problem. More likely the Rd file needs special consideration for %. Paul On 11/12/2014 02:11 PM, Therneau, Terry M., Ph.D. wrote: I am getting failure of build and check, for an Rd file that has a long argument list. Guess diagnosis: a quoted stri

[Rd] Problem with build and check

2014-11-12 Thread Therneau, Terry M., Ph.D.
I am getting failure of build and check, for an Rd file that has a long argument list. Guess diagnosis: a quoted string beyond a certain point in the argument list is fatal. Example: Use the function below, create an Rd file for it with prompt(). Move the .Rd file to the man directory (no ne