-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't download Rtools #40
Comments
I'm just trying upgrade to a modern version of r-appveyor and things seem to work out of the box. However, my package does not have a
Could there be something wrong with https://github.com/krlmlr/r-appveyor/blob/master/scripts/appveyor-tool.ps1#L150-L155: if ( Test-Path "/**/src" ) {
InstallRtools
}
Else {
Progress "Skipping download of Rtools because src/ directory is missing."
} |
Dear colleagues,
My interpretation is that appveyor recognizes that Windows binaries at CRAN are much older than the latest Package source. This is what I see at CRAN (https://cran.r-project.org/web/packages/stringi/index.html).
So this is why Appveyor tries to compile stringi, which results in an error? If this is the case, then making the installation of Rtools optional on the presence of a src directory of the package that is tested might frequently result in errors of the kind I see. I am not an expert on this - I just wanted to share my interpretation. Kind regards |
You can always force installation of Rtools, see README. It's very strange that stringi binaries lag that much. In the future, could you please open a new issue? Comments on an old issue are easy to miss. |
if there is no
src/
directory, to save on build time and bandwidth.The text was updated successfully, but these errors were encountered: