Error(s) in re-building vignettes:
  ...
--- re-building ‘Readshapefiles.Rnw’ using Sweave
Loading required package: spatstat.data
spatstat.geom 3.0-6
Loading required package: sp
Please note that rgdal will be retired during 2023,
plan transition to sf/stars/terra functions using GDAL and PROJ
at your earliest convenience.
See https://r-spatial.org/r/2022/04/12/evolution.html and https://github.com/r-spatial/evolution
rgdal: version: 1.6-4, (SVN revision 1196)
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 3.6.2, released 2023/01/02
Path to GDAL shared files: /usr/share/gdal
 GDAL does not use iconv for recoding strings.
GDAL binary built with GEOS: TRUE 
Loaded PROJ runtime: Rel. 9.1.1, December 1st, 2022, [PJ_VERSION: 911]
Path to PROJ shared files: /home/hornik/.local/share/proj:/usr/share/proj
PROJ CDN enabled: FALSE
Linking to sp version:1.6-0
To mute warnings of possible GDAL/OSR exportToProj4() degradation,
use options("rgdal_show_exportToProj4_warnings"="none") before loading sp or rgdal.
Checking rgeos availability: FALSE
Please note that 'maptools' will be retired during 2023,
plan transition at your earliest convenience;
some functionality will be moved to 'sp'.
 	Note: when rgeos is not available, polygon geometry 	computations in maptools depend on gpclib,
 	which has a restricted licence. It is disabled by default;
 	to enable gpclib, type gpclibPermit()
Warning: OGR support is provided by the sf and terra packages among others
Warning: OGR support is provided by the sf and terra packages among others
Warning: OGR support is provided by the sf and terra packages among others
Warning: OGR support is provided by the sf and terra packages among others
Warning: OGR support is provided by the sf and terra packages among others
Warning: OGR support is provided by the sf and terra packages among others
Warning: OGR support is provided by the sf and terra packages among others
Warning in packageDescription(pkg, lib.loc = lib.loc, fields = "Version") :
  no package ‘spatstat’ was found

Error: processing vignette ‘Readshapefiles.Rnw’ failed with diagnostics:
 chunk 12 
Error in if (!inherits(spst_ver, "try-error") && spst_ver < 2 - 0) { : 
  missing value where TRUE/FALSE needed

--- failed re-building 'Readshapefiles.Rnw'

SUMMARY: processing the following file failed:
  'Readshapefiles.Rnw'

Error: Vignette re-building failed.
Execution halted