ch_wbt_check_whitebox: Checks for WhiteboxTools executable

View source: R/ch_wbt_check_whitebox.R

ch_wbt_check_whiteboxR Documentation

Checks for WhiteboxTools executable

Description

Checks for WhiteboxTools executable

Usage

ch_wbt_check_whitebox()

Value

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

Author(s)

Kevin Shook

Examples

# 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")
}

CSHShydRology documentation built on Sept. 11, 2024, 5:50 p.m.