Hi,
I am having trouble understanding what is happening with my Rtools installation.
I have R4.3.0 and Rtools 4.2 is installed in the recommended folder [C:/rtools42].
However, everytime I run an install.packages() command, I get the following warning message:
install.packages("ggplot2")
#WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
Yet, when I run has_rtools(), R can find Rtools:
library(pkgbuild)
has_rtools(debug = TRUE)
#Found in Rtools 4.2 installation folder
#[1] TRUE
Any idea how I could solve this issue? Many thanks in advance