Hi All,
I am trying to build a new R package to submit, but it's failing to
create a tex manual:
R CMD check Biodem
* checking for working latex ... OK
* using log directory
'/home/greatsage/Fede/R-packages/temp/Biodem.Rcheck'
* checking for file 'Biodem/DESCRIPTION' ... OK
* checking if this is a source package ... OK
* Installing *source* package 'Biodem' ...
** R
** data
** help
>>> Building/Updating help pages for package 'Biodem'
Formats: text html latex example
Fst text html latex example
Lasker text html latex example
Mal.eq text html latex example
N text html latex example
P text html latex example
Phi text html latex example
S text html latex example
col.sto text html latex example
hedrick text html latex example
mal.cond text html latex example
mar.iso text html latex example
mtx.exp text html latex example
r.pairs text html latex example
raw.mig text html latex example
regional.rnd.iso text html latex example
rel.cond text html latex example
rel.phi text html latex example
rri text html latex example
sur.freq text html latex example
sur.inbr text html latex example
surnames text html latex example
sym.P text html latex example
uri text html latex example
valley text html latex example
* DONE (Biodem)
* checking package directory ... OK
* checking for portable file names ... OK
* checking for sufficient/correct file permissions ... OK
* checking package dependencies ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking R files for syntax errors ... OK
* checking R files for library.dynam ... OK
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking Rd files ... OK
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... OK
* creating Biodem-Ex.R ... OK
* checking examples ... OK
* creating Biodem-manual.tex ... OK
* checking Biodem-manual.tex ... ERROR
LaTeX errors when creating DVI version.
This typically indicates Rd problems.
I cheked the log file in the .Rcheck dir, but it's incomprehensible to
me, so I simply copied and run the tex file itself. The manual won't
compile lamenting it cannot find the Rd.sty file.
locate Rd.sty gives:
/usr/lib/R/share/texmf/Rd.sty
I am completely lost... any advice? do I have to change some path? I am
using R for Debian from the latest .deb files for Sarge on x86 arch.
Regards,
Federico Calboli
--
Federico C. F. Calboli
Department of Epidemiology and Public Health
Imperial College, St Mary's Campus
Norfolk Place, London W2 1PG
Tel +44 (0)20 7594 1602 Fax (+44) 020 7594 3193
f.calboli [.a.t] imperial.ac.uk
f.calboli [.a.t] gmail.com
>>>>> "Federico" == Federico Calboli <f.calboli at imperial.ac.uk> >>>>> on Mon, 18 Apr 2005 10:33:22 +0100 writes:Federico> I am trying to build a new R package to submit, Federico> but it's failing to create a tex manual: Federico> R CMD check Biodem Federico> * checking for working latex ... OK Federico> * using log directory Federico> '/home/greatsage/Fede/R-packages/temp/Biodem.Rcheck' Federico> * checking for file 'Biodem/DESCRIPTION' ... OK Federico> * checking if this is a source package ... OK Federico> * Installing *source* package 'Biodem' ... Federico> ** R Federico> ** data Federico> ** help >>>> Building/Updating help pages for package 'Biodem' Federico> Formats: text html latex example .................................... Federico> * DONE (Biodem) Federico> * checking package directory ... OK ......... (everything OK) Federico> * creating Biodem-manual.tex ... OK Federico> * checking Biodem-manual.tex ... ERROR Federico> LaTeX errors when creating DVI version. Federico> This typically indicates Rd problems. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (and I think I have never seen another situation: It will be a problem in of your Biodem/man/*.Rd files !) Federico> I cheked the log file in the .Rcheck dir, but it's Federico> incomprehensible to me, so I simply copied and run Federico> the tex file itself. The manual won't compile Federico> lamenting it cannot find the Rd.sty file. Federico> locate Rd.sty gives: Federico> /usr/lib/R/share/texmf/Rd.sty Federico> I am completely lost... any advice? do I have to Federico> change some path? I am using R for Debian from the Federico> latest .deb files for Sarge on x86 arch. When 'R CMD check' latexs your file it adds something like /usr/lib/R/share/texmf/Rd.sty to the TEXINPUTS (path) used and you could do so as well. Alternatively, use R CMD Rd2dvi <package> directly. If this doesn't help you, you may need to look at the latex *.log file and find someone to whom it's not incomprehensible, possibly by putting it up on the web asking for help on R-devel {because the whole issue will have become too technical for R-help}. Martin