Since I just encountered similar issues in a package I'm working to get submitted, here's the output (just included the warning lines):
(/usr/local/texlive/2014basic/texmf-dist/tex/latex/latexconfig/hyperref.cfg)) Package hyperref Message: Driver (autodetected): hpdftex. (/usr/local/texlive/2014basic/texmf-dist/tex/latex/hyperref/hpdftex.def (/usr/local/texlive/2014basic/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty) ) Package hyperref Warning: Option `hyperindex' has already been used, (hyperref) setting the option has no effect on input line 366. Package hyperref Warning: Option `pagebackref' has already been used, (hyperref) setting the option has no effect on input line 366. ) ... (/usr/local/texlive/2014basic/texmf-dist/tex/latex/base/utf8.def) [2] (./Rd2.ind [3] LaTeX Font Warning: Font shape `T1/zi4/m/it' undefined (Font) using `T1/zi4/m/n' instead on input line 8. [4]) (./Rd2.aux) LaTeX Font Warning: Some font shapes were not available, defaults substituted. ) I can't speak to whether the issues are similar, but I'll be trying on Ubuntu soon to see if the errors are there as well. I am doing __**nothing**__ unusual or wrong in the Rd files. On Sat, Mar 21, 2015 at 9:09 AM, Prof Brian Ripley <[email protected]> wrote: > On 21/03/2015 12:38, Adrian Dușa wrote: > >> On Sat, Mar 21, 2015 at 12:57 PM, Prof Brian Ripley >> <[email protected] <mailto:[email protected]>> wrote: >> >> [...] >> >> I also tried R CMD Rd2pdf (in the command line), and I get this >> at the end: >> >> Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet >> = quiet, : >> Running 'texi2dvi' on 'Rd2.tex' failed. >> Messages: >> sh: /usr/local/bin/texi2dvi: No such file or directory >> >> It might boil down to this missing texi2dvi, but I have the full >> MacTeX-2014 (fresh reinstall today) on my system and it should >> be there. >> >> >> Might also be a path issue: here's is the difference between >> R.gui and >> terminal: >> >> >> What does R.app (there is no R.gui to my knowledge) have to do with >> this? See the comment above about 'exactly what you did'. >> >> >> Oh, that's right. >> I used R.app as well because I have also tried the devtools package >> which has a check() function... same result (just to test if it was a >> path issue). >> >> Indeed, this error comes from the R CMD check command in terminal (sorry >> to confuse "building" with the command R CMD build), with the complete >> messages below: >> >> Adrians-MBP:~ dusadrian$ R CMD check --as-cran DDIwR_0.2-5.tar.gz >> * using log directory ‘/Users/dusadrian/DDIwR.Rcheck’ >> * using R version 3.1.3 (2015-03-09) >> * using platform: x86_64-apple-darwin13.4.0 (64-bit) >> * using session charset: UTF-8 >> * using option ‘--as-cran’ >> * checking for file ‘DDIwR/DESCRIPTION’ ... OK >> * this is package ‘DDIwR’ version ‘0.2-5’ >> * checking CRAN incoming feasibility ... Note_to_CRAN_maintainers >> Maintainer: ‘Adrian Dusa <[email protected] >> <mailto:[email protected]>>’ >> >> * checking package namespace information ... OK >> * checking package dependencies ... OK >> * checking if this is a source package ... OK >> * checking if there is a namespace ... OK >> * checking for executable files ... OK >> * checking for hidden files and directories ... OK >> * checking for portable file names ... OK >> * checking for sufficient/correct file permissions ... OK >> * checking whether package ‘DDIwR’ can be installed ... OK >> * checking installed package size ... OK >> * checking package directory ... OK >> * checking DESCRIPTION meta-information ... OK >> * checking top-level files ... OK >> * checking for left-over files ... OK >> * checking index information ... OK >> * checking package subdirectories ... OK >> * checking R files for non-ASCII characters ... OK >> * checking R files for syntax errors ... OK >> * checking whether the package can be loaded ... OK >> * checking whether the package can be loaded with stated dependencies ... >> OK >> * checking whether the package can be unloaded cleanly ... OK >> * checking whether the namespace can be loaded with stated dependencies >> ... OK >> * checking whether the namespace can be unloaded cleanly ... OK >> * checking loading without being on the library search path ... OK >> * checking dependencies in R code ... OK >> * checking S3 generic/method consistency ... OK >> * checking replacement functions ... OK >> * checking foreign function calls ... OK >> * checking R code for possible problems ... OK >> * checking Rd files ... OK >> * checking Rd metadata ... OK >> * checking Rd line widths ... OK >> * checking Rd cross-references ... OK >> * checking for missing documentation entries ... OK >> * checking for code/documentation mismatches ... OK >> * checking Rd \usage sections ... OK >> * checking Rd contents ... OK >> * checking for unstated dependencies in examples ... OK >> * checking contents of ‘data’ directory ... OK >> * checking data for non-ASCII characters ... OK >> * checking data for ASCII and uncompressed saves ... OK >> * checking examples ... OK >> * checking PDF version of manual ... WARNING >> LaTeX errors when creating PDF version. >> This typically indicates Rd problems. >> * checking PDF version of manual without hyperrefs or index ... OK >> * DONE >> >> WARNING: There was 1 warning. >> See >> ‘/Users/dusadrian/DDIwR.Rcheck/00check.log’ >> for details. >> >> >> There is nothing more in the 00check.log file, just indicating Rd >> problems. >> > > There usually is, and the absence indicates no latex log was found. > > So the next step is to run R CMD Rd2pdf --no-clean on the unpacked package > sources and look at the logs in its check directory. You may need to run > texi2dvi -D --pdf on the .tex file produced there. > > >> Thank you, >> Adrian >> >> -- >> Adrian Dusa >> University of Bucharest >> Romanian Social Data Archive >> Soseaua Panduri nr.90 >> 050663 Bucharest sector 5 >> Romania >> > > > -- > Brian D. Ripley, [email protected] > Emeritus Professor of Applied Statistics, University of Oxford > 1 South Parks Road, Oxford OX1 3TG, UK > > _______________________________________________ > R-SIG-Mac mailing list > [email protected] > https://stat.ethz.ch/mailman/listinfo/r-sig-mac > [[alternative HTML version deleted]] _______________________________________________ R-SIG-Mac mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-mac
