Bug#862969: r-cran-sp needs recompilation for R 3.4.0 ?

Theodore Lytras thlytras at gmail.com
Fri May 19 12:55:55 UTC 2017


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.



More information about the debian-science-maintainers mailing list