Learn R Programming

whitebox (version 2.1.0)

install_whitebox: Download and Install WhiteboxTools

Description

This function downloads the WhiteboxTools binary if needed. Pre-compiled binaries are only available for download for 64-bit Linux (Ubuntu 20.04), Windows and Mac OS (Intel) platforms. If you need WhiteboxTools for another platform follow the instructions here: https://github.com/jblindsay/whitebox-tools

Usage

install_whitebox(pkg_dir = find.package("whitebox"), force = FALSE)

Arguments

pkg_dir

default install path is to whitebox package "WBT" folder

force

logical. Default FALSE. Force install?

Value

Prints out the location of the WhiteboxTools binary, if found. NULL otherwise.

Examples

Run this code
# NOT RUN {
install_whitebox()
# }

Run the code above in your browser using DataLab