Installs the GDAL build runtime when needed, builds and vendors
gdalraster, provisions embedded Python when available, and verifies the
result in fresh processes. The default destination is .libPaths()[1].
Usage
gdal_setup(
lib = NULL,
isolated = FALSE,
user_lib = NULL,
update = FALSE,
force = FALSE,
tag = "latest",
local_zip = NULL,
fallback_zip = NULL,
source_tarball = NULL,
upgrade = FALSE,
verify = TRUE
)Arguments
- lib
Destination library for
gdalraster. Defaults to.libPaths()[1].- isolated
Install into the package-managed isolated library instead of
.libPaths()[1]. Ignored whenlibis set.- user_lib
Deprecated.
user_lib = TRUEis now the default;user_lib = FALSEis equivalent toisolated = TRUE.- update
Upgrade the runtime to the requested/latest bundle and rebuild.
- force
Reinstall and rebuild even when provenance is current.
- tag
Runtime bundle release tag or
"latest".- local_zip
Optional local runtime bundle.
- fallback_zip
Optional local fallback runtime bundle.
- source_tarball
Optional local
gdalrastersource tarball.- upgrade
Install
gdalrasterR dependencies before compiling.- verify
Run
gdal_verify()after setup.
