On Sat, Mar 21, 2015 at 12:57 PM, Prof Brian Ripley <[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]>’ * 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. Thank you, Adrian -- Adrian Dusa University of Bucharest Romanian Social Data Archive Soseaua Panduri nr.90 050663 Bucharest sector 5 Romania [[alternative HTML version deleted]] _______________________________________________ R-SIG-Mac mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-mac
