Closed guiblanchet closed 4 years ago
Hi Guillaume,
this change introduces a bug in adespatial (examples in stimodel do no run now). Please, check the package afterr submitting a patch and before submitting to be sure that all CRAN check pass.
Oups.. I just made the correction !
In fact, I think that we should use another way. Functions from spdep (e.g. dnearneigh, etc) allow to pass rownames but it is NULL by default. Hence, it would be better (and more general) to use rownames argument of dnearneigh. I updated in the master branch.
I
Through a question to a user, I noticed that row names were not included when constructing db-MEM. I added one line in the code to correct this.