Skip to content
Prev 9512 / 12125 Next

[R-pkg-devel] What to do when a package is archived from CRAN

Hi Uwe, thanks for the summary of the background.
Let me ask you a few questions about a couple of points.

 > Accepting a package that downloads crates from github

I don't think prqlr 0.5.0 downloads crates on GitHub.
prqlr <= 0.4.0 use crate on GitHub which I patched to support old Rust 
on Debian <https://github.com/PRQL/prql/pull/1561>, but with 0.5.0 I 
switched to installing from crates.io completely.
(This was made possible because Debian recently upgraded Rust for the 
first time in six months.)

 > All the correspondence we see claims that the submission had bundled 
the rust code, but the version that got archived after publication was 
104KB and did not.

I am aware that in the first submission of prqlr 0.5.0, the size of the 
source was 12MB due to the vendoring all Rust dependent crates and CRAN 
pointed out the size of 12MB as a reason for rejection.
That is why in my second submission I wrote the following comment that I 
had removed the vendoring tarball.

 > To reduce package size on CRAN, it does not vendor dependent Rust crates.

https://github.com/eitsupi/prqlr/pull/161/commits/9aba66647fa5e48da0a5983643a4df001721b3f7#diff-cf8c1cd4cfb6a9ceb5ba522a5711321831948fea41fbb0cd9f799506c7caca1bR22-R27

In other words, I did not claim to have bundled the Rust code.
And that second submission was accepted by CRAN and I have not received 
any further messages from CRAN.

I am aware that the CRAN policy says that we can ask CRAN for permission 
to download from the internet.
I intended to ask for that in this comment.

If I am doing this wrong, what should I do?

Thanks for reading this.

Best,
Tatsuya
On 2023/08/28 17:24, Uwe Ligges wrote: