[Rd] Making descriptive analyisis in R

kyawkkhtet at gmail.com
2010-03-15T17:56:27Z

when I try to make a package coping R code such as tab1, summ, titleString,
setTitle from epicalc package, the following problems are found.
* using log directory 'C:/Rpackage/EpiStat.Rcheck'
* using R version 2.10.0 (2009-10-26)
* using session charset: ISO8859-1
* checking for file 'EpiStat/DESCRIPTION' ... OK
* checking extension type ... Package
* this is package 'EpiStatNutshell' version '1.0'
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking for executable files ... OK
* checking whether package 'EpiStatNutshell' 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 ... NOTE
setTitle: no visible binding for '<<-' assignment to
'.locale'
summ: no visible binding for global variable '.data'
summ: no visible global function definition for 'date.mdy'
summ: no visible binding for global variable '.ylab.for.summ'
summ: no visible binding for global variable '.No.of.observations'
summ: no visible binding for global variable '.obs'
summ: no visible binding for global variable '.mean'
summ: no visible binding for global variable '.median'
summ: no visible binding for global variable '.sd'
summ: no visible binding for global variable '.min'
summ: no visible binding for global variable '.max'
summ: no visible binding for global variable '.var.name'
tab1: no visible binding for global variable '.frequency'
tab1: no visible binding for global variable '.frequency1'
tab1: no visible binding for global variable '.percent'
tab1: no visible binding for global variable '.cum.percent'
tableGlm: no visible global function definition for 'glm.nb'
tableStack: no visible binding for global variable '.data'
titleString: no visible binding for global variable '.distribution.of'
titleString: no visible binding for global variable '.by'
titleString: no visible binding for global variable '.frequency'
titleString: no visible binding for global variable '.locale'
titleString: no visible binding for '<<-' assignment to
'.locale'
titleString: no visible binding for '<<-' assignment to
  '.distribution.of'
titleString: no visible binding for '<<-' assignment to
'.by'
titleString: no visible binding for '<<-' assignment to
'.frequency'
* 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 examples ... OK


when I run this package in R console,
> summ(age)
Error in titleString() : object '.locale' not
found
> tab1(porp)
Error in titleString() : object '.locale' not found

I found this error.
How can I solve this problem?
I would like to make a package only for descripitve study.
Thank a lot


--
This message was sent on behalf of kyawkkhtet at gmail.com at openSubscriber.com
http://www.opensubscriber.com/messages/r-devel at r-project.org/topic.html