schochastics / timeless

A general purpose date(time) parser for R
https://schochastics.github.io/timeless/
Other
21 stars 2 forks source link

CRAN policy on rustc version #22

Open schochastics opened 1 month ago

schochastics commented 1 month ago
The 'Using Rust' part of the policy says

"Please report the version of rustc used (as R does for C, C++ and
Fortran compilers) in the installation log especially if compilation
fails, so best reported before starting compilation (as R does)."

The 'especially' part was added from bitter experience of no version
being reported on installation failure.

On our check runs

        caviarpd clarabel fangs fcl gifski hellorust rshift salso string2path
tok ymd

did not report a version, and

        fio heck timeless

only reported after a successful compilation.

Policy

schochastics commented 1 month ago

Not sure if this is enough in DESCRIPTION
SystemRequirements: Cargo (Rust's package manager), rustc (>= 1.66.0)

aitap commented 2 weeks ago

My apologies if you already knew that, but "Please report the version of rustc used" means "report in compilation logs", like R CMD SHLIB prints compiler versions before starting compilation. I think that salso does it as requested.

schochastics commented 2 weeks ago

thanks @aitap! That looks like something that will take some time for me to adjust