[R-pkg-devel] Best way to build CRAN packages that include Rust source?

2021-05-03 Thread David Norris
I am appreciating 2 distinct approaches currently used to compile Rust code in R packages: 1. LinkingTo: cargo, as done in https://CRAN.R-project.org/package=salso 2. A more ‘traditional’-looking approach built on Autoconf & Automake https://CRAN.R-project.org/package=gifski Is there any

Re: [R-pkg-devel] Call internal R functions in C

2021-05-03 Thread Duncan Murdoch
On 27/04/2021 12:34 p.m., Cai Li wrote: /Dear Duncan, Thank you very much for your helpful advice! In addition, could you kindly help answer my follow-up questions below? / Sorry, I showed you how I did it. There are certainly other ways, but you'll have to dig around in the manuals to