Provides the required C/C++ compiler flags to find the HDF5 header
files bundled with the hdf5lib package.
Arguments
- api
A character string specifying the HDF5 API version to use. This adds a preprocessor directive like
-DH5_USE_114_API_DEFAULTto ensure that the compiled code uses symbols compatible with a specific version of the HDF5 API. This is useful for maintaining compatibility with older HDF5 versions. Supported values are200,114,112,110,18,and16. Defaults to"latest", which corresponds to the newest supported API version.
Value
A scalar character vector containing the compiler flags (e.g., the
-I path to the package's inst/include directory).
