proj_networking: Check, enable or disable PROJ networking capabilities
Description
proj_networking() returns the status of PROJ networking capabilities,
optionally enabling or disabling first. Requires GDAL 3.4 or later and
PROJ 7 or later.
Usage
proj_networking(enabled = NULL)
Value
Logical TRUE if PROJ networking capabilities are enabled (as
indicated by the return value of OSRGetPROJEnableNetwork() in the GDAL
Spatial Reference System C API). Logical NA is returned if GDAL < 3.4.
Arguments
enabled
Optional logical scalar. Set to TRUE to enable networking
capabilities or FALSE to disable.