View source: R/ch_wbt_check_whitebox.R
ch_wbt_check_whitebox | R Documentation |
Checks for WhiteboxTools executable
ch_wbt_check_whitebox()
If WhiteboxTools
cannot be found, a message explaining what to do is displayed.
Kevin Shook
# 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")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.