[R] “Check” problem

Peter Dalgaard p.dalgaard at biostat.ku.dk
Thu Jul 10 09:56:40 CEST 2008


leeznar wrote:
> Dear all:
> I ‘m a newer.  I have some problem when I check my package.
> The error messages were as follows.  It shows that the problem is about Rd file.  How can I find where the error is?  How can I do??
>
>
>   
Inside your log directory, you should have bear-manual.tex and 
bear-manual.log. The last part of the latter shows how far TeX got 
processing the former. Once you see what the TeX error is, it should be 
fairly easy to find the corresponding issue in the .Rd files.

> c:\temp>Rcmd check bear 
> * checking for working pdflatex ... OK
> * using log directory 'c:/temp/bear.Rcheck'
> * using R version 2.7.0 (2008-04-22)
> * using session charset: CP950
> * checking for file 'bear/DESCRIPTION' ... OK
> * this is package 'bear' version '1.0.0'
> * checking package dependencies ... OK
> * checking if this is a source package ... OK
> * checking whether package 'bear' can be installed ... OK
> * checking package directory ... OK
> * checking for portable file names ... OK
> * checking DESCRIPTION meta-information ... OK
> * checking top-level 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 for unstated 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 cross-references ... OK
> * checking for missing documentation entries ... OK
> * checking for code/documentation mismatches ... OK
> * checking Rd \usage sections ... OK
> * creating bear-Ex.R ... OK
> * checking examples ... OK
> * creating bear-manual.tex ... OK
> * checking bear-manual.tex using pdflatex ... ERROR
> LaTeX errors when creating PDF version.
> This typically indicates Rd problems.
> LaTeX errors found:
>
> Binary file bear-manual.log matches
>
>
>
> Best regards,
> Hsin- Ya Lee
>
>
>
>       _______________________________________________________________________________________________________
> 總會在某些時刻,突然想起舊情人?他 現在過得還好嗎? 
> http://sev.search.yahoo.net
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>   


-- 
   O__  ---- Peter Dalgaard             Øster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark      Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)              FAX: (+45) 35327907



More information about the R-help mailing list