Having troubles installing RTools

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

install.packages("rstan")
pkgbuild::has_build_tools(debug = TRUE)
Scanning R CMD config CC...
cc_path:  
'' 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/.
[1] FALSE

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?