
Last chance! 50% off unlimited learning
Sale ends in
Last chance! 50% off unlimited learning
Sale ends in
This function downloads the 'WhiteboxTools' binary if needed. Pre-compiled binaries are
only available for download for 64-bit Linux (default compiled with glibc on Ubuntu 22.04;
use platform="linux_musl"
for musl/earlier versions of glibc), Windows and Mac OS (ARM and
Intel) platforms. If you need WhiteboxTools for another platform follow the instructions to
build from source: https://github.com/jblindsay/whitebox-tools
wbt_install(
pkg_dir = wbt_data_dir(),
platform = NULL,
force = FALSE,
remove = FALSE
)install_whitebox(
pkg_dir = wbt_data_dir(),
platform = NULL,
force = FALSE,
remove = FALSE
)
wbt_install_extension(
extension = c("GeneralToolsetExtension", "AgricultureToolset",
"DemAndSpatialHydrologyToolset", "LidarAndRemoteSensingToolset"),
platform = NULL,
destdir = dirname(wbt_exe_path(shell_quote = FALSE))
)
Prints out the location of the WhiteboxTools binary, if found. NULL
otherwise.
default install path is to whitebox package "WBT" folder
character. Optional: suffix used for alternate platform names. Options include: "linux_musl"
logical. Force install? Default FALSE
. When remove=TRUE
passed to unlink()
to change permissions to allow removal of files/directories.
logical. Remove contents of "WBT" folder from pkg_dir
? Default: FALSE
Extension name
Directory to create /plugins/
directory for extracting extensions
'WhiteboxTools' and all of its extensions can be uninstalled by passing the remove=TRUE
argument.
if (FALSE) {
install_whitebox()
}
Run the code above in your browser using DataLab