Re: [R-pkg-devel] Disable parallelism on installation time

2024-07-18 Thread Matt Denwood
On the subject of extendr ... the recently published JOSS paper (which also mentions CRAN compliance under the "Creating Rust-powered R packages section") provides a good entry point for those interested in using extendr for their R/Rust packages: https://joss.theoj.org/papers/10.21105/joss.063

Re: [R-pkg-devel] Assigning a variable to global environment

2020-12-11 Thread Matt Denwood
> On 11 Dec 2020, at 18:32, Tiago Olivoto wrote: > > Hi everyone, > This can be a very simple question, but I really have the following doubt. > > CRAN Policies says that 'Packages should not modify the global environment > (user’s workspace)'. So, may I or may I not create a function that will

[R-pkg-devel] Copyright of code "borrowed" from the stats package

2019-10-16 Thread Matt Denwood
I needed a basic optimisation routine in some C-level code within an R package I am developing, and the Brent_fmin function from R/src/library/stats/src/optimize.c was a good starting point for me to modify. The original file contains: /* * R : A Computer Language for Statist