Compiles gdalraster against the managed GDAL SDK, vendors the bundle's
DLL dependency closure, GDAL/PROJ data, and pure-Python utilities into the
installed package, then records build provenance.
Usage
gdal_build_gdalraster(
gdal_home = default_gdal_home(),
lib = NULL,
isolated = FALSE,
user_lib = NULL,
source_tarball = NULL,
repo = .gdalraster_repo,
ref = "HEAD",
upgrade = FALSE,
repos = getOption("repos"),
force = FALSE,
enable_python = TRUE
)Arguments
- gdal_home
Installed GDAL build runtime.
- lib
Destination library. 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.- source_tarball
Optional local
gdalrastersource tarball.- repo
Upstream source repository.
- ref
Git reference used for the source archive.
- upgrade
Install missing R dependencies before compiling.
- repos
CRAN-like repositories used when
upgrade = TRUE.- force
Replace an existing
gdalrasterpackage.- enable_python
Provision the managed embedded-Python
.pthfile after installation when possible.
