codoc mismatches warning

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

codoc mismatches warning

Sebastian P. Luque
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

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Reply | Threaded
Open this post in threaded view
|

Re: codoc mismatches warning

Kurt Hornik-5
>>>>> 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

> ______________________________________________
> [hidden email] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Reply | Threaded
Open this post in threaded view
|

Re: codoc mismatches warning

Sebastian P. Luque
On Tue, 2 Feb 2010 23:05:35 +0100,
Kurt Hornik <[hidden email]> wrote:

>>>>>> Sebastian P Luque writes:
>> Hi, Doing 'R CMD check diveMove' is now throwing this message:

> Which version of diveMove is this?

It's a development version (0.9.7) at R-Forge.  The one showing this
warning hasn't been built yet by the automated system at R-Forge, but
can be downloaded from there.

--
Seb

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel