wbt_install | R Documentation |
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))
)
pkg_dir |
default install path is to whitebox package "WBT" folder |
platform |
character. Optional: suffix used for alternate platform names. On Linux, you can choose |
force |
logical. Force install? Default |
remove |
logical. Remove contents of "WBT" folder from |
extension |
Extension name |
destdir |
Directory to create |
'WhiteboxTools' and all of its extensions can be uninstalled by passing the remove=TRUE
argument.
Prints out the location of the WhiteboxTools binary, if found. NULL
otherwise.
## Not run:
install_whitebox()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.