[Splm-commits] r247 - pkg

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Jul 27 13:38:08 CEST 2022


Author: the_sculler
Date: 2022-07-27 13:38:07 +0200 (Wed, 27 Jul 2022)
New Revision: 247

Modified:
   pkg/NAMESPACE
Log:
Reduced dependencies again to avoid 'gdata' issue


Modified: pkg/NAMESPACE
===================================================================
--- pkg/NAMESPACE	2022-07-26 14:53:07 UTC (rev 246)
+++ pkg/NAMESPACE	2022-07-27 11:38:07 UTC (rev 247)
@@ -25,13 +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 {
-  #import(spdep, except=c(set.ClusterOption, set.VerboseOption, set.mcOption, 
-   # get.VerboseOption, get.coresOption, set.coresOption, set.ZeroPolicyOption, 
-    #get.mcOption, get.ClusterOption, get.ZeroPolicyOption))
+#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,
@@ -41,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