Re: [R-pkg-devel] MSRV on Fedora

2024-07-23 Thread Hiroaki Yutani
> As such, I cannot manage the MSRV of the package's dependencies. It seems the reason for geographiclib-rs's MSRV is just that it uses std::sync::OnceLock. Maybe a possible workaround is to fork the repo and replace it with the once_cell crate? You should be able to override the dependency by [pa

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

2024-06-20 Thread Hiroaki Yutani
> savvy is opposed to supporting CRAN publication Let me correct a bit. While it's true **I** don't recommend CRAN for Rust-powered R packages unless you are an expert, savvy is not that opinionated. It does nothing to prevent you from submitting to CRAN. Best, Yutani 2024年6月21日(金) 1:28 Josiah

Re: [R-pkg-devel] What to do when a package is archived from CRAN

2023-08-26 Thread Hiroaki Yutani
to ownership and attribution. was not quite true. I hope the R community and the Rust community have respect for each other. Best, Yutani [1]: https://crates.io/crates/addr2line [2]: https://github.com/gimli-rs/addr2line/blob/0.20.0/Cargo.toml [3]: https://doc.rust-lang.org/cargo/reference/manife

Re: [R-pkg-devel] What to do when a package is archived from CRAN

2023-08-26 Thread Hiroaki Yutani
Simon, > it's assumed that GitHub history is the canonical source with the provenance, but that gets lost when pulled into the package. No, not GitHub. You can usually find the ownership on crates.io. So, if you want a target to blame, it's probably just a problem of the script to auto-generate i

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

2023-07-14 Thread Hiroaki Yutani
.rust-lang.org/inside-rust/2023/01/30/cargo-sparse-protocol.html [3]: https://packages.debian.org/testing/cargo (it seems 0.66 means 1.66) 2023年7月14日(金) 9:58 Hiroaki Yutani : > Simin, > > Sorry that my question was not clear. Let me clarify. > > I think we all agree that &q

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

2023-07-13 Thread Hiroaki Yutani
Simin, Sorry that my question was not clear. Let me clarify. I think we all agree that "cargo vendor" is the primary option. Since downloading without explicit permission is not allowed on CRAN in general, it's reasonable. I'm happy that the instructions will describe it clearly. But, some R pac

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

2023-07-13 Thread Hiroaki Yutani
Thank you for the correction. I see. Best, Yutani 2023年7月13日(木) 16:08 Tomas Kalibera : > > On 7/13/23 05:08, Hiroaki Yutani wrote: > > I actually use cargo vendor. > > > > > https://github.com/yutannihilation/string2path/blob/main/src/rust/vendor.sh > > > >

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

2023-07-12 Thread Hiroaki Yutani
download is a concession for extreme cases where the tar balls may be too > big to make it part of the package, but it's yet another can of worms...). > > Cheers, > Simon > > > > > On 13/07/2023, at 12:37 PM, Hiroaki Yutani wrote: > > > > Hi, > > > >

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

2023-07-12 Thread Hiroaki Yutani
ding at install time is actually a problem, because it's not >> uncommon to use R in environments that have no Internet access, but the >> download is a concession for extreme cases where the tar balls may be too >> big to make it part of the package, but it's yet anot

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

2023-07-12 Thread Hiroaki Yutani
Hi, I'm glad to see CRAN now has its official policy about Rust [1]! It seems it probably needs some feedback from those who are familiar with the Rust workflow. I'm not an expert, but let me leave some quick feedback. This email is sent to the R-package-devel mailing list as well as to cran@~ so

Re: [R-pkg-devel] Is it a wrong assumption that ${R_HOME}/lib always exists?

2023-07-10 Thread Hiroaki Yutani
Thanks so much for the quick response. It answered everything! It was my mistake that I didn't consider these types of installations. I'll fix my package as soon as I can. Best, Yutani 2023年7月10日(月) 17:51 Martin Maechler : > >>>>> Hiroaki Yutani > >>>&

[R-pkg-devel] Is it a wrong assumption that ${R_HOME}/lib always exists?

2023-07-10 Thread Hiroaki Yutani
Hi, My package, string2path, using Rust fails on the CRAN check of MKL [1], with an error that seems irrelevant to MKL. The error says: > thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', /data/gannet/r

Re: [R-pkg-devel] Rust 1.70 and build failures on Windows

2023-06-08 Thread Hiroaki Yutani
Correction: GitHub Actions already uses the latest version of Rtools43, so it should be no problem. I sincerely apologize to those who got confused and the maintainer of r-lib/actions for spreading the wrong information. Best, Yutani 2023年6月8日(木) 18:06 Hiroaki Yutani : > Hi, > > This i

[R-pkg-devel] Rust 1.70 and build failures on Windows

2023-06-08 Thread Hiroaki Yutani
Hi, This is a quick notice for developers of R packages using Rust. Rust 1.70 was released on June 1st, 2023 [1]. If you use Rust in your R package, you'll probably start to see an error and a warning on the final linking step of Windows builds. ## Error The first thing you'll notice is that li

Re: [R-pkg-devel] About the CRAN policy on downloading pre-compiled binary

2022-08-04 Thread Hiroaki Yutani
ing2path-00check.html [3]: https://github.com/yutannihilation/string2path/pull/35 (work in progress) 2022年7月27日(水) 17:12 Tomas Kalibera : > > On 7/27/22 08:08, Tomas Kalibera wrote: > > > > On 7/27/22 00:30, Hiroaki Yutani wrote: > >> Hi, > >> > >> Rec

[R-pkg-devel] About the CRAN policy on downloading pre-compiled binary

2022-07-26 Thread Hiroaki Yutani
on Intel macOS. > > Also. make sure that the authorship and copyright of code you download > (and hence include in the package) is clear from the DESCRIPTION file. > as required by the CRAN policy. > Best, Hiroaki Yutani [1]: https://cran.r-project.org/package=string2path [2]: http

Re: [R-pkg-devel] R session crash on closing a graphic device on Windows

2022-01-26 Thread Hiroaki Yutani
I see, thanks. I filed here: https://bugs.r-project.org/show_bug.cgi?id=18292 Best, Yutani 2022年1月27日(木) 1:35 Tomas Kalibera : > > Hi Yutani, > > On 1/26/22 16:42, Hiroaki Yutani wrote: > > Hi Tomas, > > > > Thanks, but, if I understand correctly, there&

Re: [R-pkg-devel] R session crash on closing a graphic device on Windows

2022-01-26 Thread Hiroaki Yutani
equest on Bugzilla, but let me hold off for a while. Best, Yutani 2022年1月27日(木) 0:21 Tomas Kalibera : > > > On 1/26/22 15:44, Hiroaki Yutani wrote: > > Hi Tomas, > > > > Thanks for your helpful advice. This time, it seems the cause of the > > error was an allocator

[R-pkg-devel] R session crash on closing a graphic device on Windows

2022-01-22 Thread Hiroaki Yutani
Hi, I'm trying to create a Rust library that can implement an R graphic device[1], but the R session crashes on `dev.off()` on Windows with R 4.1.2. Strangely, it works without errors on Linux, on macOS, and even on Windows with R-devel. Looking at the stack trace below by WinDbg, the problem is

Re: [R-pkg-devel] New CRAN checks on r-devel-windows-x86_64-new-UL and the installed fonts

2021-12-16 Thread Hiroaki Yutani
Yes, it's my fault that I didn't consider the case when no fonts are available. I'll improve the code until the next submission to CRAN. Thanks for your advice! Best, Hiroaki Yutani 2021年12月17日(金) 1:40 Tomas Kalibera : > > > On 12/16/21 5:16 PM, Hiroaki Yutani wrote: &g

Re: [R-pkg-devel] New CRAN checks on r-devel-windows-x86_64-new-UL and the installed fonts

2021-12-16 Thread Hiroaki Yutani
Thanks for the details and the suggestions. My package uses systemfonts package for illustration purposes only in the examples, so I'm not that desperate to find the root cause this time. I'll try using winbuilder in case I need to. Best, Hiroaki Yutani 2021年12月17日(金) 0:52 Toma

Re: [R-pkg-devel] New CRAN checks on r-devel-windows-x86_64-new-UL and the installed fonts

2021-12-16 Thread Hiroaki Yutani
ting quickly! Then, it seems I should wait for the problem to be solved on systemfonts' side. I'm curious what's the difference between r-devel-windows-x86_64-new-TK, on which the check doesn't fail, by the way. Best, Hiroaki Yutani 2021年12月16日(木) 23:57 Uwe Ligges : > > &g

[R-pkg-devel] New CRAN checks on r-devel-windows-x86_64-new-UL and the installed fonts

2021-12-16 Thread Hiroaki Yutani
new version to avoid this test failure. Note that, the other Windows r-devel machine (r-devel-windows-x86_64-new-TK) doesn't fail. So, it might be just that something is wrong with r-devel-windows-x86_64-new-UL. Any suggestions? Best, Hiroaki Yutani __

Re: [R-pkg-devel] Internet resources and Errors

2021-09-24 Thread Hiroaki Yutani
but I got no reply. So, probably no one knows the right answer... Best, Hiroaki Yutani [1]: https://cran.r-project.org/web/checks/check_results_string2path.html [2]: https://stat.ethz.ch/pipermail/r-package-devel/2021q3/007262.html 2021年9月24日(金) 23:50 Roy Mendelssohn - NOAA Federal via R-package-d

Re: [R-pkg-devel] How can I avoid Solaris build on CRAN?

2021-08-04 Thread Hiroaki Yutani
Sorry, I pointed a wrong package. I meant, [2]: https://cran.r-project.org/package=gifski [3]: https://cran.r-project.org/package=baseflow Best, Hiroaki Yutani 2021年8月5日(木) 8:17 Hiroaki Yutani : > > Hi, > > I recently submitted my package, which needs compilation of Rust code, &g

[R-pkg-devel] How can I avoid Solaris build on CRAN?

2021-08-04 Thread Hiroaki Yutani
Best, Hiroaki Yutani [1]: https://doc.rust-lang.org/nightly/rustc/platform-support.html [2]: https://cran.r-project.org/package=cargo [3]: https://cran.r-project.org/package=baseflow __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/ma

[R-pkg-devel] The license of a vignette and its translation

2017-02-24 Thread Hiroaki Yutani
, are there any chance a vignette has a different license than the other part of the package? (These questions are not really about package development, so I'm sorry if this mailing list is not the right place to ask...) Peace, Hiroaki Yutani [[alternative HTML versi