-
Notifications
You must be signed in to change notification settings - Fork 991
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
update.dev.pkg HTTP status error when options(pkgType = "binary") #3148
Comments
We do build and publish windows binaries. They are just not available in default repository defined in |
I made PR, once it will be merged the following call should work |
I think the optimal end result would be that even if I have been using my own implementation of I am wondering how problematic it would be if a copy of data.table_1.11.9.zip was automatically hosted "https://Rdatatable.github.io/data.table/bin/windows/contrib/3.5/PACKAGES" whenever the appveyor thingy updates. I am not familiar with how this stuff works. |
Hardcoding option is terrible solution because it takes away R built-in flexibility from user. There might be environment where installing from binaries is forbidden, thus such option ( There is permanent link, did you tried? data.table::update.dev.pkg(repo="https://Rdatatable.gitlab.io/data.table") Implementing integration of travis and appveyor won't reliably work. There is no reason to implement that anyway because there is good alternative that already have such integration natively, and AFAIK it works. |
I think I made a typo above. Instead of saying "solution might be to temporarily" I meant "A temporary solution might be." I agree that it is a bad idea to hardcode this fix. What I am suggesting is that the user's pkgType option should be obeyed without a workaround like gitlab. So
Great! What is it? And can we do it on github as well? Or should |
It is GitLab. We cannot do it on GitHub because it does not offer CI. |
… use binaries more easily, part of #3148
I think the intended behavior is for
update.dev.pkg()
to obtain updated version regardless ifoptions(pkgType = "binary")
is set. A solution might be to temporaryly setoptions(pkgType = "both")
just beforebase::read.dcf
withindata.table:::dcf.repo
.Minimal reproducible example
The issue is comes from how base::read.dcf is constructing the url. For pkgType = "binary" it is looking for "[...]bin/windows/contrib/3.5/PACKAGES" which doesn't exist because the binary is stored in https://ci.appveyor.com/project/Rdatatable/data-table/build/job//artifacts
Within: base::read.dcf "binary"
Within: base::read.dcf "both"
Session info
The text was updated successfully, but these errors were encountered: