code is on top of the post!!!
From the documentation:
To install the development version you will need to have suitable development tools installed on your machine. This includes CMake and Rtools if you are on Windows.
do you have these? (They are not packages but utilities)