-
Notifications
You must be signed in to change notification settings - Fork 3
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
Submit to CRAN #9
Comments
Before you can submit to CRAN you will have to request them to add the prerequisites on their Debian servers, otherwise you can't pass the incoming checks. I think the best way is to send an email to |
Sent |
I suspect the we'll need to fix this as well: https://github.com/meztez/bigrquerystorage/actions/runs/7168946042/job/19518216883#step:8:125
E.g. by porting the fix from the old |
I didn't see these warnings on winbuilder so they may not be checked on Windows: https://win-builder.r-project.org/0GJ2L4z4Zm9u/ |
CRAN has added libgrpc++-dev and protobuf-compiler-grpc: r-devel/rcheckserver@380349a I think your package is ready to be submitted. Note that it may still take a while, the first submission will be scheduled for manual review by a cran assistent which takes a while and sometimes requires a few rounds of resubmitting to some requests. |
Got this answer from CRAN. I'll look into it after the holidays. Prof Brian Ripley ripley@stats.ox.ac.uk This downloads pre-compiled software on macOS, contrary to the CRAN The README says 'Windows The package will automatically download a static build of the system although that is not clear from the check log. That too would be a The package has been removed from CRAN. |
Ugh, I guess you have to ask them for permission to download libs (grpc is not available on their mac/win servers) |
@jeroen Oh, well I guess I'll ask for permission then. Thanks for the input, it gives me confidence to follow up with CRAN. I don't know if I would have taken that step by myself. |
Well it is not certain they will agree. Uwe Ligges is usually helpful and but Brian Ripley can be very unreasonable. So the best path is probably to ask Uwe and explain him the grpc library is not available on their Mac or Windows servers. |
not available, you mean? Btw. I just opened https://bugs.r-project.org/show_bug.cgi?id=18641 |
Yes sorry typo 🤦 By the way, in the mean while users can install binary packages from: https://meztez.r-universe.dev/bigrquerystorage |
I sent this:
|
@meztez https://bugs.r-project.org/show_bug.cgi?id=18641 has been fixed and Rtools43 has grpc now. So we could try to give this another go, if you can gather the strength for another submission. We would need to update the build process on Windows slightly, and then re-submit. I can submit a PR for the changes. Also, if you don't have strength to do it, I completely understand. In this case I can do the first submission, and then once it is safely on CRAN, pass the package to you in the next submission. |
Note that It might also be an interesting improvement to remove |
The arrow dependencies that would have to be replaced are: bigrquerystorage/R/bqs_download.R Line 112 in d2f5c0d
bigrquerystorage/R/bqs_download.R Line 123 in d2f5c0d
bigrquerystorage/R/bqs_download.R Line 116 in d2f5c0d
I've taken a look at nanoarrow and could not find drop in replacement at first glance. Would you have further suggestion on how this could be done? What would be the benefits of using nanoarrow in this instance? Thank you |
The biggest advantage is that there is no need to have the huge and time-consuming to build
The correspondence between the objects of the Since the |
@eitsupi I've tried to work out how to use a two elements raws list (schema, data) and turn into a data.frame using nanoarrow. I cannot figure it out at the moment, I'm sorry.
|
@paleolimbot may be able to help here |
I'm guessing here that |
@paleolimbot What exactly do you mean by "IPC reader"? Does that basically mean reading the data from a socket? Maybe we could do something simple, like writing all the data out to disk, and then reading it from there? |
Could we push directly to a nanoarrow object instead of doing this C++ vector push to R raws to arrow table? I'm thinking pushing directly into a nanoarrow object could save some time? Do we need arrow to convert back into a R data.frame? |
Until arrow is back on CRAN, I think we will have to hold. |
Sorry I missed the ping!
I believe that "IPC" (which can be used for inter-process communication, like via a socket, but works anywhere you might want to stream a table from a server to a client) is the format that you are currently using the arrow package to read (because when I browsed the code I saw a
It seems like your input here is a fully downloaded raw vector of the entire stream. When the IPC reader has R bindings, that would give you a
I also had trouble submitting a small nanoarrow patch because it had |
I gave the implementation in R a go, which should make it into the next release in the next two months or so ( apache/arrow-nanoarrow#390 ). You should be able to |
In the meanwhile, it seems like arrow is back on CRAN [1], so we can also submit the current version, and then later switch to nanoarrow. [1] https://fosstodon.org/deck/@nic_crane@mastodon.social/111981942640349340 |
Let's hope third time is the charm. |
Thanks, Best, |
At some point in the future, not now, now is not the time.
The text was updated successfully, but these errors were encountered: