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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: GWPR
> ### Title: Geographically Weighted Panel Regression Model
> ### Aliases: GWPR
> 
> ### ** 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 <- 1.5
> 
> result.F.AIC <- GWPR(bw = bw.AIC.Fix, formula = formula.GWPR, data = TransAirPolCalif,
+                      index = c("GEOID", "year"), SDF = California, adaptive = FALSE,
+                      p = 2, effect = "individual", model = "within",
+                      kernel = "bisquare", longlat = FALSE)
************************ GWPR Begin *************************
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: 1.5 ---- Adaptive: FALSE
Model: within ---- Effect: individual

The R2 is: 0.915521152027682

Note: in order to avoid mistakes, we forced a rename of the individuals'ID as "id". 

> summary(result.F.AIC$SDF$Local_R2)
   Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
 0.2146  0.4051  0.4730  0.5234  0.5617  0.9976 
> library(tmap)
Error in library(tmap) : there is no package called ‘tmap’
Execution halted