[Rspatial-devel] recent CRAN check errors
Edzer Pebesma
edzer.pebesma at uni-muenster.de
Fri Dec 21 14:28:39 CET 2012
I committed the fix; could you run check & upload? (Otherwise I could do
it later)
On 12/21/2012 02:08 PM, Roger Bivand wrote:
> On Fri, 21 Dec 2012, Kurt Hornik wrote:
>
>> Roger,
>>
>> We now see
>>
>> adehabitatMA:
>>
>>> image(m[,6])
>> Error in Summary.factor(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, :
>> range not meaningful for factors
>> Calls: image ... image.SpatialGridDataFrame -> scl -> diff ->
>> Summary.factor
>> Execution halted
>
> This is also present as:
>
> library(sp)
> data(meuse.grid)
> coordinates(meuse.grid) <- c("x", "y")
> gridded(meuse.grid) <- TRUE
> image(meuse.grid, "soil")
>
> or
>
> range(meuse.grid[["soil"]][is.finite(meuse.grid[["soil"]])])
>
> for the zlim= default. This works:
>
> range(as.numeric(meuse.grid[["soil"]])[is.finite(
> as.numeric(meuse.grid[["soil"]]))])
>
> but I'm not aware of other consequences - Edzer?
>
> https://r-forge.r-project.org/scm/viewvc.php/pkg/sp/R/image.R?root=rspatial&r1=1147&r2=1287
>
>
>>
>> maptools:
>>
>>> try1 <- dotsInPolys(nc_SP, as.integer(nc_SP$SID74))
>> Error: could not find function "sample.Polygons"
>>
>
> A consequence of
>
> https://r-forge.r-project.org/scm/viewvc.php/pkg/sp/NAMESPACE?root=rspatial&r1=1310&r2=1311
>
>
> and got caught up in the crash-fix release. Will submit fresh maptools
> shortly, Edzer had updated the code.
>
> Roger
>
>> pgirmess:
>>
>> same as for adehabitatME.
>>
>> Are these from the recent sp upgrade? If so, "intentional"?
>>
>> Best
>> -k
>>
>
--
Edzer Pebesma
Institute for Geoinformatics (ifgi), University of Münster
Weseler Straße 253, 48151 Münster, Germany. Phone: +49 251
8333081, Fax: +49 251 8339763 http://ifgi.uni-muenster.de
http://www.52north.org/geostatistics e.pebesma at wwu.de
More information about the Rspatial-devel
mailing list