[R-pkg-devel] MSRV on Fedora
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 [patch.crates-io] section. Best, Yutani 2024?7?24?(?) 1:20 Josiah Parry <josiah.parry at gmail.com>:
Hi all! I have 2 errors related to minimum supported rust version (MSRV) on fedora https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-fedora-clang/rsgeo-00install.html that I do not know how to resolve. The package {rsgeo} has a dependency on the rust crate geo which itself has a dependency on geographiclib-rs which has an MSRV of 1.70 whereas the CRAN fedora machines are 1.69. As such, I cannot manage the MSRV of the package's dependencies. As an alternative, can I indicate in my DESCRIPTION that the package is not supported on Fedora so that CRAN machines do not attempt to build it? I would be a-okay saying if you're using fedora you have to build from source. [[alternative HTML version deleted]]
______________________________________________ R-package-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel