set_config_option()
sets a GDAL runtime configuration option.
Configuration options are essentially global variables the user can set.
They are used to alter the default behavior of certain raster format
drivers, and in some cases the GDAL core. For a full description and
listing of available options see
https://gdal.org/user/configoptions.html.
Examples
set_config_option("GDAL_CACHEMAX", "10%")
get_config_option("GDAL_CACHEMAX")
#> [1] "10%"
## unset:
set_config_option("GDAL_CACHEMAX", "")