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

> ### Name: shadowFootprint
> ### Title: Shadow footprint on the ground
> ### Aliases: shadowFootprint
> ###   shadowFootprint,SpatialPolygonsDataFrame-method
> 
> ### ** Examples
> 
> time = as.POSIXct("2004-12-24 13:30:00", tz = "Asia/Jerusalem")
> proj4string(build) = CRS("+init=epsg:32636")
Warning in CRS("+init=epsg:32636") :
  sf required for evolution_status==2L
> location_geo = matrix(c(34.7767978098526, 31.9665936050395), ncol = 2)
> solar_pos = maptools::solarpos(location_geo, time)
Please note that 'maptools' will be retired during October 2023,
plan transition at your earliest convenience (see
https://r-spatial.org/r/2023/05/15/evolution4.html and earlier blogs
for guidance);some functionality will be moved to 'sp'.
 Checking rgeos availability: TRUE
Warning in CRS("+proj=longlat +datum=WGS84") :
  sf required for evolution_status==2L
Warning in is.projected(p4str) : Package sf not available
> footprint1 =               ## Using 'solar_pos'
+   shadowFootprint(
+     obstacles = build,
+     obstacles_height_field = "BLDG_HT",
+     solar_pos = solar_pos
+     )
Warning in is.projected(p4str) : Package sf not available
Warning in is.projected(p4str) : Package sf not available
Warning in is.projected(p4str) : Package sf not available
Warning: GEOS support is provided by the sf and terra packages among others
Warning in is.projected(p4str) : Package sf not available
Warning in is.projected(p4str) : Package sf not available
Warning: GEOS support is provided by the sf and terra packages among others
Warning in is.projected(p4str) : Package sf not available
Warning in is.projected(p4str) : Package sf not available
Warning: GEOS support is provided by the sf and terra packages among others
Warning in is.projected(p4str) : Package sf not available
Warning in is.projected(p4str) : Package sf not available
Warning: GEOS support is provided by the sf and terra packages among others
Warning in is.projected(p4str) : Package sf not available
Warning in is.projected(p4str) : Package sf not available
Warning: GEOS support is provided by the sf and terra packages among others
Warning in is.projected(p4str) : Package sf not available
Warning in is.projected(p4str) : Package sf not available
Warning: GEOS support is provided by the sf and terra packages among others
Warning in is.projected(p4str) : Package sf not available
Warning in is.projected(p4str) : Package sf not available
Warning: GEOS support is provided by the sf and terra packages among others
Warning in is.projected(p4str) : Package sf not available
Warning in is.projected(p4str) : Package sf not available
Warning: GEOS support is provided by the sf and terra packages among others
> footprint2 =               ## Using 'time'
+   shadowFootprint(
+     obstacles = build,
+     obstacles_height_field = "BLDG_HT",
+     time = time
+     )
Warning in CRS("+init=epsg:4326") :
  sf required for evolution_status==2L
Error in sp::spTransform(location_ctr, CRS("+init=epsg:4326")) : 
  sf required for evolution_status==2L
Calls: shadowFootprint ... .checkSolarPos -> is -> solarpos2 -> <Anonymous> -> <Anonymous>
Execution halted