Re: [Rd] Error in formatDL(nm, txt, indent = max(nchar(nm, "w")) + 3)

2017-03-09 Thread Spencer Graves
Hi, Bill et al.: On 2017-03-09 9:58 AM, William Dunlap wrote: It happens in the fda package because some of the headers are longer than typical (e.g., "Repository/R-Forge/DateTimeStamp") and formatDL dies if the indent argument is too large compared to the width argument. It might be nice to c

Re: [Rd] Error in formatDL(nm, txt, indent = max(nchar(nm, "w")) + 3)

2017-03-09 Thread William Dunlap via R-devel
It happens in the fda package because some of the headers are longer than typical (e.g., "Repository/R-Forge/DateTimeStamp") and formatDL dies if the indent argument is too large compared to the width argument. It might be nice to change formatDL so it never gave such an error, but did something r

Re: [Rd] Error in formatDL(nm, txt, indent = max(nchar(nm, "w")) + 3)

2017-03-09 Thread William Dunlap via R-devel
This error can arise when getOption("width") is too small. 80 seems to be the limit for me with R-3.3.2 on Windows. Bill Dunlap TIBCO Software wdunlap tibco.com On Wed, Mar 8, 2017 at 10:28 PM, Spencer Graves wrote: > Hello: > > > I tried "debug(help)" with the problem mentioned below. I

Re: [Rd] Error in formatDL(nm, txt, indent = max(nchar(nm, "w")) + 3)

2017-03-08 Thread Spencer Graves
Hello: I tried "debug(help)" with the problem mentioned below. It stopped with a call to "library", from which I generate the following simple replication of this error: > library(help = 'fda', character.only = TRUE) Error in formatDL(nm, txt, indent = max(nchar(nm, "w")) + 3) : in

[Rd] Error in formatDL(nm, txt, indent = max(nchar(nm, "w")) + 3)

2017-03-08 Thread Spencer Graves
Hello: A call to help(..., help_type='text') fails with "package='fda": > install.packages('fda') > help(package='fda', help_type='text') Error in formatDL(nm, txt, indent = max(nchar(nm, "w")) + 3) : incorrect values of 'indent' and 'width' I have this wrapped inside "try" in