Help with "Installation failed: Could not find build tools necessary to build transformr"

Split from ERROR: dependency 'transformr' is not available for package 'gganimate' - #11


Hey everyone!

I had the same problem as tjl, and I used AntoineC's code to force R to accept the rtools version.

find_rtool() returns TRUE now, but when I'm trying to install transformr (devtools::install_github("thomasp85/transformr") it's still asking me to download further tools:
Capture

When I chose yes, I'm getting the following error message:

Installation failed: Could not find build tools necessary to build transformr

I am using R version 3.5.1, I have the newest version of rtools (downloaded today) and already tried reinstalling it.

Am I missing something? Does anyone still have this problem despite using the code that AntoineC posted?

Thank you!

It is just a guess based on my working configuration.
Maybe the MinGW path is missing in your windows "PATH" envirronement variable.

Try adding

C:\Program Files\mingw-w64\mingw64\bin;C:\Program Files\mingw-w64\mingw64;C:\Program Files\mingw-w64\mingw64\x86_64-w64-mingw32\lib

Or any paths where minGW is installed.