Closed EmFidan closed 2 years ago
I think the issue is use of ~
to refer to your home directory. Currently there is no path expansion of the tilde with e.g. path.expand()
call wrapping input/output paths, so you either need to set your WBT working directory to (full path of) your home directory and use relative paths (starting with "./") or use the full file paths.
It appears that was the issue. Coincidentally, that was the one thing I had not tested. Thank you for catching that!
I will look into an update that can make path expansion work with the various wbt_ functions. I think it is reasonable to expect R functions with file path arguments to do path expansion. Thanks for reporting the issue.
I have been using WhiteBox through the R interface for a while now. I haven't had any issues with running wbt functions before, except this week. I have been trying to run simple DEM processing and watershed commands such as:
The error I have been receiving is:
I have the executable files present, thanks to the install_whitebox function, and I have trying to debug with no luck. The DEM is pretty large but I used Whitebox tools to previously process this same DEM with no issues. Any ideas what might be causing this?