Learn R Programming

CSHShydRology (version 1.4.2)

ch_wbt_check_whitebox: Checks for WhiteboxTools executable

Description

Checks for WhiteboxTools executable

Usage

ch_wbt_check_whitebox()

Arguments

Value

If WhiteboxTools cannot be found, a message explaining what to do is displayed.

Author

Kevin Shook

Examples

Run this code
# Only proceed if Whitebox executable is installed
library(whitebox)
if (check_whitebox_binary()){
  ch_wbt_check_whitebox()
} else {
  message("Example not run as Whitebox executable not found")
}

Run the code above in your browser using DataLab