[R] installing my own package - problems with INDEX

Uwe Ligges ligges at statistik.uni-dortmund.de
Tue Jun 15 11:40:09 CEST 2004


Pamela Hall wrote:

> Hi there;
> 
> I am a neophyte to R though I have been messing around with programming in other languages and environments for some years (my dog's name is punchcard to give you some idea of how many years).  I have been trying to make a package and install it, to no avail.  The functions I have written all work as expected (by me, that is).  But I cannot get the html help pages to work.  
> 
> The failure appears to be in creating the INDEX file.  No matter how carefully I check all of my *.Rd pages, the error message that I have "unbalanced braces"  keeps showing up.  I cannot find any error in matching braces.  I am using Alpha as the editor, and it identifies mismatched braces - there are none in the *.Rd file.

Have you checked really carefully for "Unbalanced braces"? Many editors 
Please do so an look whether opening and closing of barces happens in 
the correct order. Also, watch out for escaped braces and stuff like 
that. Some appropriate editor might help, but don't rely on it (since 
it's not the parser itself).

Uwe Ligges


> Another aspect of this problem is that the INDEX file only contains one line, that of the first file.  However, the html dir has an index file (00Index.html) that contains all of the functions I have documented, but they are all linked to the same identical function web page - the first one.
> 
> Please give me a hint.  There are no mismatched braces as far as I can tell.  Even when I try to check a single function and its Rd file, I get the same error message.  And there are no other error messages.  The package can be attached and the functions work, but the help pages do not.
> 
> I must be doing something really simple, but very wrong.  What are the 5 most common first mistakes some one makes in Rd files?
> 
> thanks
> -ph
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html




More information about the R-help mailing list