Skip to content
Prev 9335 / 12125 Next

[R-pkg-devel] Feedback on "Using Rust in CRAN packages"

I actually use cargo vendor.

https://github.com/yutannihilation/string2path/blob/main/src/rust/vendor.sh

One thing to note is that, prior to R 4.3.0, the vendored directories hit
the Windows' path limit so I had to put them into a TAR file. I haven't
tested on R 4.3.0, but probably this problem is solved by this improvement.
So, if you target only R >= 4.3, you can just cargo vendor.

https://blog.r-project.org/2023/03/07/path-length-limit-on-windows/index.html

Best,
Yutani

2023?7?13?(?) 11:50 Kevin Ushey <kevinushey at gmail.com>: