Displaying 1 result from an estimated 1 matches for "rconv".
Did you mean:
iconv
2012 Jan 13
1
checkRd freezes while parsing erroneous preprocessor macros
...lowing minimal Rd file:
----
\name{foo}
\title{foo}
\description{
#ifdef windows
win
#endifd
#ifdef unix
unix
#endif
}
----
By accident I have a typo at line 6, instead of having #endif I typed #endifd.
If I run checkRd(), parse_Rd(), Rd2HTML(), or others including the command line "R CMD Rconv" R will freeze and the only chance I have is to kill R.
As far as I can tell for checkRd() the problem is the internal function prepare_Rd() which runs for ever.
Is there a way to avoid having that freezing behaviour?
I'm on a Mac running Snow Leopard:
R version 2.14.0 (2011-10-31)
Pla...