From spluque at gmail.com  Tue Feb  2 22:46:52 2010
From: spluque at gmail.com (Sebastian P. Luque)
Date: Tue, 02 Feb 2010 15:46:52 -0600
Subject: [Rd] codoc mismatches warning
Message-ID: <871vh3tinn.fsf@kolob.sebmags.homelinux.org>

Hi,

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

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



[Rd] codoc mismatches warning
Sebastian P. Luque