GEOS version information

geos_version(runtime = TRUE)

Arguments

runtime

Use FALSE to return the build-time GEOS version, which may be different than the runtime version if a different version of the libgeos package was used to build this package.

Examples

geos_version()
#> [1] ‘3.11.0’
geos_version(runtime = FALSE)
#> [1] ‘3.11.0’

# check for a minimum version of GEOS
geos_version() >= "3.8.1"
#> [1] TRUE