[R] bug in odfWeave

Abhijit Dasgupta Abhijit.Dasgupta at mail.jci.tju.edu
Sat Dec 23 06:03:02 CET 2006


Hi,

I think there is a minor bug in odfWeave. In the function odfStyleGen, 
the following line has an extra "=":

           if(length(grep("italic", thisStyle$fontType)))
               fontText <- c(fontText, tagattr("fo:font-style=", "italic"))
 
This is creating an error if some text needs to be formatted as italic, 
since the corresponding entry in style.xml is "fo:font-style==italic". 
For the windows version, which I'm using, I can't correct since the R 
files are packaged in odfWeave.rdb (or at least I don't know how). 
Hopefully Max Kuhn or someone can update the windows binary to correct 
this.

Abhijit Dasgupta

PS: I found the bug after downloading the source files.



More information about the R-help mailing list