Having troubles installing RTools

I am having troubles installing Rtools. Anytime I try, my code returns False.

pkgbuild::has_build_tools(debug = TRUE)
Scanning R CMD config CC...
'' does not exist
Scanning path...
Scanning registry...
WARNING: Rtools is required to build R packages, but is not currently installed.

Please download and install Rtools custom from https://cran.r-project.org/bin/windows/Rtools/.

I do have a c++ compiler. Could someone advise me please?

Operating System: Windows 64 bit.
Interface Version: RStan.
Compiler/Toolkit: g++

What version of R and RTools do you have installed?