[R-pkgs] Incompatible update to splancs

Roger Bivand Roger.Bivand at nhh.no
Tue Apr 11 20:45:16 CEST 2006


>From version 2.01-17, splancs, a package for spatial point pattern 
analysis, depends on package sp. 

Because both packages have defined a bounding box function bbox(), the
bbox() method in sp has been given priority, and the default object for
dispatch is an array with two or more columns (as in splancs until now).

However, the deprecated splancs function returned a non-closed rectangle
of coordinates, rather than the 2x2 matrix returned by sp bbox().

Consequently, any splancs bbox() uses in user code need to be replaced by
bboxx(bbox()), where bboxx() is a helper function unrolling the sp bbox()  
output into the form used until now by splancs.

With apologies for the bumpy ride,

-- 
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no




More information about the R-packages mailing list