Re: [R-pkg-devel] NOTEs in packages using Rust

2024-06-20 Thread Hiroaki Yutani
> > *From:* Josiah Parry > > *Sent:* Thursday, June 20, 2024 9:08:10 AM > > *To:* Balasubramanian Narasimhan > > *Cc:* r-package-devel@r-project.org > > *Subject:* Re: [R-pkg-devel] NOTEs in packages using Rust > > > > Hi Naras, this should be handle

Re: [R-pkg-devel] NOTEs in packages using Rust

2024-06-20 Thread Balasubramanian Narasimhan
arry Sent: Thursday, June 20, 2024 9:32:04 AM To: Jeff Newmiller Cc: r-package-devel@r-project.org Subject: Re: [R-pkg-devel] NOTEs in packages using Rust To be clear, you need to delete the untarred folders after the build process. You only need the dependencies at build time. After the build t

Re: [R-pkg-devel] NOTEs in packages using Rust

2024-06-20 Thread Josiah Parry
from a similar affliction. > Thanks. > -Naras > > Balasubramanian Narasimhan > -- > *From:* R-package-devel on behalf > of Josiah Parry > *Sent:* Thursday, June 20, 2024 9:32:04 AM > *To:* Jeff Newmiller > *Cc:* r-package-devel@r-project.org

Re: [R-pkg-devel] NOTEs in packages using Rust

2024-06-20 Thread Balasubramanian Narasimhan
From: R-package-devel on behalf of Josiah Parry Sent: Thursday, June 20, 2024 9:32:04 AM To: Jeff Newmiller Cc: r-package-devel@r-project.org Subject: Re: [R-pkg-devel] NOTEs in packages using Rust To be clear, you need to delete the untarred folders after the build process. You only

Re: [R-pkg-devel] NOTEs in packages using Rust

2024-06-20 Thread Josiah Parry
To be clear, you need to delete the untarred folders after the build process. You only need the dependencies at build time. After the build time it has been compiled into a .so/.dll and then you must delete the vendored sources. There's no reason that installing an R package should keep the *source

Re: [R-pkg-devel] NOTEs in packages using Rust

2024-06-20 Thread Jeff Newmiller via R-package-devel
I am not connected to CRAN (by a long shot), but if I were I would not accept any of the arguments you are making here. I don't know what you are talking about with respect to excluding files in tarring... you should be using the package build processes as documented in Writing R Extensions. A

Re: [R-pkg-devel] NOTEs in packages using Rust

2024-06-20 Thread Balasubramanian Narasimhan
: Balasubramanian Narasimhan Cc: r-package-devel@r-project.org Subject: Re: [R-pkg-devel] NOTEs in packages using Rust Hi Naras, this should be handled by the Makevars itself. Are you using extendr to do this? Using `rextendr::use_cran_defaults()` should handle it for you. Then you can use

Re: [R-pkg-devel] NOTEs in packages using Rust

2024-06-20 Thread Josiah Parry
manian Narasimhan > *Cc:* r-package-devel@r-project.org > *Subject:* Re: [R-pkg-devel] NOTEs in packages using Rust > > Hi Naras, this should be handled by the Makevars itself. Are you using > extendr to do this? > > Using `rextendr::use_cran_defaults()` should handle it for you. Then y

Re: [R-pkg-devel] NOTEs in packages using Rust

2024-06-20 Thread Josiah Parry
Hi Naras, this should be handled by the Makevars itself. Are you using extendr to do this? Using `rextendr::use_cran_defaults()` should handle it for you. Then you can use `rextendr::vendor_pkgs()` to handle vendoring. On Thu, Jun 20, 2024 at 11:57 AM Balasubramanian Narasimhan < na...@stanford.

[R-pkg-devel] NOTEs in packages using Rust

2024-06-20 Thread Balasubramanian Narasimhan
I am preparing an update of Clarabel to synchronize with the upstream repo. When checking the package, I get NOTEs such as: Found the following CITATION file in a non-standard place:   src/rust/vendor/clarabel/CITATION.bib Most likely ‘inst/CITATION’ should be used instead. Foun