has_gdal: Check whether the package was built with GDAL support

View source: R/engine.R

has_gdalR Documentation

Check whether the package was built with GDAL support

Description

Returns TRUE when xbioclim was compiled with GDAL and the native BioclimEngine tiled pipeline is available, FALSE otherwise.

Usage

has_gdal()

Details

Internally the function calls gdal_can_open with a dummy path and inspects whether the resulting error message indicates an absent GDAL build.

Value

Logical scalar: TRUE if GDAL is available, FALSE otherwise.

Examples

has_gdal()

xbioclim documentation built on Oct. 5, 2026, 5:08 p.m.