[Splm-commits] r248 - pkg

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Jul 27 15:35:38 CEST 2022


Author: the_sculler
Date: 2022-07-27 15:35:38 +0200 (Wed, 27 Jul 2022)
New Revision: 248

Modified:
   pkg/NAMESPACE
Log:
Revert some useless changes in dependencies


Modified: pkg/NAMESPACE
===================================================================
--- pkg/NAMESPACE	2022-07-27 11:38:07 UTC (rev 247)
+++ pkg/NAMESPACE	2022-07-27 13:35:38 UTC (rev 248)
@@ -25,10 +25,10 @@
 
 ## check if we can rationalize imports from spdep and spatialreg (also to avoid
 ## problematic dependencies like, e.g., gdata)
-#if (packageVersion("spdep") < 1.2) {
-#  import(spdep, except=c(do_ldet, eigen_setup, trW, impacts.gmsar, impacts))
-#  importFrom(spatialreg, do_ldet, eigen_setup, trW, impacts)
-#} else {
+if (packageVersion("spdep") < 1.2) {
+  import(spdep, except=c(do_ldet, eigen_setup, trW, impacts.gmsar, impacts))
+  importFrom(spatialreg, do_ldet, eigen_setup, trW, impacts)
+} else {
     importFrom(spdep, mat2listw, listw2mat, lag.listw, nblag,
                is.symmetric.nb, is.symmetric.glist, card)
     importFrom(spatialreg, impacts,
@@ -38,7 +38,7 @@
              LU_prepermutate_setup, moments_setup,
              SE_classic_setup, SE_whichMin_setup, SE_interp_setup,
              as.spam.listw, get.ZeroPolicyOption)
-#}
+}
 
 
 importFrom(ibdreg, pchibar)



More information about the Splm-commits mailing list