check_has_rtools: Check for Rtools Installation on Windows
Description
Verifies whether Rtools is installed and properly configured on a Windows system.
Usage
check_has_rtools()
Arguments
Value
Returns TRUE invisibly if Rtools is detected and functional. Otherwise, throws an error.
Details
The function uses pkgbuild::check_build_tools(debug = TRUE) to test for the presence
of Rtools and its integration with R. If Rtools is missing or misconfigured, the function
throws an error with installation instructions.