[R] creation package

Gábor Csárdi csardi at rmki.kfki.hu
Thu Aug 26 23:20:17 CEST 2010


Dear Anderson,

please see
http://lists.nongnu.org/archive/html/igraph-help/2007-07/msg00010.html
for the solution of the 'postscript font not included' problem.

Best,
Gabor

On Wed, Aug 25, 2010 at 11:50 PM, anderson nuel <anderson.nue at gmail.com> wrote:
> Dear r-help,
>
> I took your advice into consideration and i tried to solve my errors. But ,
> when I use the command R CMD check namepackage, I find an error in this file
> C:/Rpack/namepackage.Rcheck/00check.txt :
>
>
> * using log directory 'C:/Rpack/namepackge.Rcheck'
> * using R version 2.10.1 (2009-12-14)
> * using session charset: ISO8859-1
> * checking for file 'namepackge/DESCRIPTION' ... OK
> * checking extension type ... Package
> * this is package 'namepackge' version '1.0'
> * checking package name space information ... OK
> * checking package dependencies ... OK
> * checking if this is a source package ... OK
> * checking for executable files ... OK
> * checking whether package 'namepackge' 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 whether the name space 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 metadata ... OK
> * checking Rd cross-references ... OK
> * checking for missing documentation entries ... OK
> * checking for code/documentation mismatches ... OK
> * checking Rd \usage sections ... OK
> * checking data for non-ASCII characters ... OK
> * checking examples ... ERROR
> Running examples in 'namepackge-Ex.R' failed.
> The error most likely occurred in:
>
>> ### * RT
>>
>> flush(stderr()); flush(stdout())
>>
>> ### Name: RT
>> ### Title: modeling
>> ### Aliases: RT
>> ### Keywords: programming models
>>
>> ### ** Examples
>>
>>   data(d)
>>   data <- d
>> RT(t(d), c(2,2,2), c(1,2,3),c("V1","V2","V3"))
> Error in text.default(x, y, labels = labels, col = label.color, family =
> label.family,  :
>  family 'serif' not included in PostScript device
> Calls: RT-> plot -> plot.igraph -> text -> text.default
> Execution halted
> Best Regards,

[...]

-- 
Gabor Csardi <Gabor.Csardi at unil.ch>     UNIL DGM



More information about the R-help mailing list