I ran into issues setting up Whitebox Tools for R. I installed the whitebox package, downloaded the Whitebox Tools and place them in the R folder in Documents. However, using the functions results in an error message. Even running 
  
    print(wbt_version())  

throws an error message:  

    Error :  

    Error running WhiteboxTools
      whitebox.exe_path: "C:/Users/USERNAME/Documents/R/win-library/4.1/whitebox/WBT/whitebox_tools.exe"; File exists? TRUE
      Arguments: --version=  

    Error in system(exeargs, intern = TRUE, ignore.stderr = ignore.stderr, : 'CreateProcess' failed to run 'C:\Users\USERNAME\DOCUME~1\R\WIN-LI~1\4.1\whitebox\WBT\WHITEB~1.EXE --version'
    [1] "Error : \nError running WhiteboxTools\n  whitebox.exe_path: \"C:/Users/USERNAME/Documents/R/win-library/4.1/whitebox/WBT/whitebox_tools.exe\"; File exists? TRUE\n  Arguments: --version\n\nError in system(exeargs, intern = TRUE, ignore.stderr = ignore.stderr, : 'CreateProcess' failed to run 'C:\\Users\\USERNAME\\DOCUME~1\\R\\WIN-LI~1\\4.1\\whitebox\\WBT\\WHITEB~1.EXE --version'\n\n"

It looks like it can locate the whitebox.exe correctly. However, since it's not working correctly, there seems to be something off with the setup, but I can’t tell what. It seems odd that the file path apparently contains both \ and / (`\"C:/Users`). I set the whitebox.exe to always run as administrator. I’m on Windows 11, just in case that is relevant information.  
Any ideas what I might be missing (or other information I could/should provide)?