r-spatial / spdep

Spatial Dependence: Weighting Schemes and Statistics
https://r-spatial.github.io/spdep/
116 stars 26 forks source link

Confusing warning to install "spatialreg" during install #63

Closed mjsteinbaugh closed 2 years ago

mjsteinbaugh commented 2 years ago

Hi I'm seeing this warning pop up on install on macOS for spdep, even though spatialreg is already installed:

** byte-compile and prepare package for lazy loading
Warning in eval(exprs[i], envir) : install the spatialreg package
Calls: <Anonymous> ... tryCatchOne -> doTryCatch -> sys.source -> eval -> eval
** help
rsbivand commented 2 years ago

This is not a problem, and is related to the splitting out of modelling functions to spatialreg https://github.com/r-spatial/spdep/issues/31. Fairly soon, spdep 1.2 will be ready, removing ties to spatialreg.

mjsteinbaugh commented 2 years ago

OK thanks!