From Kurt.Hornik at wu.ac.at  Tue Feb  2 23:05:35 2010
From: Kurt.Hornik at wu.ac.at (Kurt Hornik)
Date: Tue, 2 Feb 2010 23:05:35 +0100
Subject: [Rd] codoc mismatches warning
In-Reply-To: <871vh3tinn.fsf@kolob.sebmags.homelinux.org>
References: <871vh3tinn.fsf@kolob.sebmags.homelinux.org>
Message-ID: <19304.41391.523856.588234@hornik.net>

>>>>> Sebastian P Luque writes:

> Hi,
> Doing 'R CMD check diveMove' is now throwing this message:

Which version of diveMove is this?

-k

> Data codoc mismatches from documentation object 'sealLocs':
> Variables in data frame 'sealLocs'
>   Code: id.time.class.lon.lat
>   Docs: class id lat lon time

> with:

R> sessionInfo()
> R version 2.10.1 (2009-12-14) 
> x86_64-pc-linux-gnu 

> locale:
>  [1] LC_CTYPE=en_CA.UTF-8       LC_NUMERIC=C               LC_TIME=en_CA.UTF-8        LC_COLLATE=en_CA.UTF-8    
>  [5] LC_MONETARY=C              LC_MESSAGES=en_CA.UTF-8    LC_PAPER=en_CA.UTF-8       LC_NAME=C                 
>  [9] LC_ADDRESS=C               LC_TELEPHONE=C             LC_MEASUREMENT=en_CA.UTF-8 LC_IDENTIFICATION=C       

> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base     

> other attached packages:
> [1] slmisc_0.7.3   lattice_0.18-3

> loaded via a namespace (and not attached):
> [1] grid_2.10.1

> I've never had this problem in previous versions.  'sealLocs' is a *.csv
> file with this head:

> ,-----[ head -n5 data/sealLocs.csv ]
> | "id","time","class","lon","lat"
> | "ringy",2006-06-14 20:31:46,"2",-72.655,40.915
> | "ringy",2006-06-15 05:58:14,"3",-72.656,40.918
> | "ringy",2006-06-15 07:56:32,"3",-72.657,40.919
> | "ringy",2006-06-15 19:07:49,"2",-72.474,40.834
> `-----

> and this is the relevant section of man/sealLocs.Rd:

> \format{A data frame with the following information:

>   \describe{
>     \item{id}{String naming the seal the data come from.}

>     \item{time}{The date and time of the location.}

>     \item{class}{The ARGOS location quality classification.}

>     \item{lon, lat}{x and y geographic coordinates of each location.}
>   }
> }

> Any pointers to avoid the warning?  Thanks.


> Cheers,

> -- 
> Seb

> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



[Rd] codoc mismatches warning
Kurt Hornik