Running examples in ‘GWPR.light-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: GWPR.pFtest
> ### Title: Locally F Test Based on GWPR
> ### Aliases: GWPR.pFtest
> 
> ### ** Examples
> 
> data(TransAirPolCalif)
> data(California)
> formula.GWPR <- pm25 ~ co2_mean + Developed_Open_Space_perc + Developed_Low_Intensity_perc +
+    Developed_Medium_Intensity_perc + Developed_High_Intensity_perc +
+    Open_Water_perc + Woody_Wetlands_perc + Emergent_Herbaceous_Wetlands_perc +
+    Deciduous_Forest_perc + Evergreen_Forest_perc + Mixed_Forest_perc +
+    Shrub_perc + Grassland_perc + Pasture_perc + Cultivated_Crops_perc +
+    pop_density + summer_tmmx + winter_tmmx + summer_rmax + winter_rmax
> 
> #precomputed bandwidth
> bw.AIC.Fix <- 2.010529
> 
> GWPR.pFtest.resu.F <- GWPR.pFtest(formula = formula.GWPR, data = TransAirPolCalif,
+                                   index = c("GEOID", "year"),
+                                   SDF = California, bw = bw.AIC.Fix, adaptive = FALSE, p = 2,
+                                   effect = "individual", kernel = "bisquare",
+                                   longlat = FALSE)
**************************** F test in each subsample *********************************
Formula: pm25  =  co2_mean + Developed_Open_Space_perc + Developed_Low_Intensity_perc + Developed_Medium_Intensity_perc + Developed_High_Intensity_perc + Open_Water_perc + Woody_Wetlands_perc + Emergent_Herbaceous_Wetlands_perc + Deciduous_Forest_perc + Evergreen_Forest_perc + Mixed_Forest_perc + Shrub_perc + Grassland_perc + Pasture_perc + Cultivated_Crops_perc + pop_density + summer_tmmx + winter_tmmx + summer_rmax + winter_rmax -- Individuals: 58
Bandwidth:2.010529 ---- Adaptive: FALSE
Model: Fixed Effects vs Pooling ---- Effect: individual
If the p-value is lower than the specific level (0.01, 0.05, etc.), significant effects exist.

Error in weight[, 1] : incorrect number of dimensions
Calls: GWPR.pFtest -> gwpr_F_pFtest
Execution halted