Package: r-cran-sp
Version: 1:1.2-4-1

Using latest debian testing, function spDistsN1() of package sp throws an 
error:

> library(sp)
> ll <- matrix(c(5, 6, 60, 60), ncol=2)
> km <- spDistsN1(ll, ll[1,], longlat=TRUE)
Error in .C("sp_dists", x, y, xx, yy, n, dists, lonlat, PACKAGE = "sp") : 
  "sp_dists" not available for .C() for package "sp"

It was working until recently, i.e. before the upgrade from R 3.3 to 3.4. 

If I uninstall the debian package and compile the R source package from CRAN, 
it works. So probably the debian package needs recompilation.

Reply via email to