I am using 32-bit R 3.1.2 on Windows 7.
I recently ran the R CMD check --as-cran on a newly developed package and received only the “New View” note. Research here and on R-devel suggested that this could be ignored. I also used devtools::build_win() and did not receive any notes or warnings other than those indicated earlier. In addition, I built the package locally with R CMD build and R CMD INSTALL --build , and everything worked as it should, including the PDF manual.
After submitting to CRAN, they told me that a warning was thrown:
This fails to make its manual: * checking PDF version of manual ... WARNING LaTeX errors when creating PDF version. This typically indicates Rd problems. LaTeX errors found: ! Missing $ inserted. <inserted text> $ l.682 }{} ! Missing } inserted. <inserted text> } l.682 }{} ... The line appears to be \widehat{R_1} = \frac{\sum\limits_{i=1}^n{c_i/n}}{\sum\limits_{i=1}^n{L_i/n}}
Additional research shows that I am using win-builder.r-project.org/ to test my package against the development version, and the results of this test threw only a “New View” warning.
I'm at a loss. I cannot reproduce the error that CRAN found that everything was working correctly on my machine and on win-builder.r-project.org .
Can anyone help me solve this problem? I freely admit that I am not an LaTeX expert, but given that the line was not a problem with R 3.1.2 on windows or the development version on win-build, I do not know where to start.
Package information is available here:
creelSurvey
I used the inlinedocs package to write my functions and comments. The warning comes from line .R, line 127:
this function
and line .Rd 39:
this.Rd
Thank you for your help.
source share