rextendr icon indicating copy to clipboard operation
rextendr copied to clipboard

Set CARGO_HOME in Makevars

Open yutannihilation opened this issue 2 years ago • 2 comments

I got this review comment from CRAN:

Checking this creates ~/.cargo sized 82MB, in violation of the CRAN Policy. Please fix as necessary and resubmit.

It seems we need to set CARGO_HOME to somewhere inside package directory and delete the cache after installation.

c.f. https://github.com/r-rust/gifski/blob/6b86cc6b60abbc2294db821f27cae37413df70c2/src/Makevars#L9

yutannihilation avatar Aug 02 '21 16:08 yutannihilation