Closed wibeasley closed 5 years ago
Me too on this. I could try for a PR?
Do we always need Rtools when installing from GitHub?
@jimhester: Would you consider an "install Rtools if needed" option for pkginstall::install_*()
? AppVeyor would be its only legitimate user, though...
You only need Rtools if the dependencies you are installing need compiled code
Using pkgdepends we will be able to tell before installation if any of your dependencies need compiled code, because it resolves all dependencies prior to beginning installation. So once that is working it should not be hard to have appveyor automatically install Rtools if needed.
Closing for now, we have PKGTYPE=win.binary
by default which should resolve most of the pain points.
In the same way that
USE_RTOOLS
is essentially set to true if there's a src/ directory, would it make sense to automatically install Rtools if the AppVeyor script tried to run- travis-tool.sh install_github qqq/mmm
?If not, is there a benefit in throwing a warning along the lines of this?
The existing documentation is very clear, but I still overlooked it tonight, and it appears that a few other people have made the same oversight: