Re: [Rd] Check R version dependency in R CMD Check

2024-12-13 Thread Yihui Xie
For package authors using Github Action, one reason why they forget to actually check their packages against the minimal R version specified in DESCRIPTION may be the use of _relative_ versions in the workflows like this: https://github.com/r-lib/actions/blob/v2/examples/check-full.yaml i.e., check

Re: [Rd] Check R version dependency in R CMD Check

2024-12-13 Thread Josiah Parry
I’ve been guilty of this myself. I think a check would be good. In my case I was using the new sort_by() function (I think also 4.1) and a user was failing to install on R 4.0. On Fri, Dec 13, 2024 at 11:30 Jan Netík wrote: > Hello, > > I have a server with R 3.6.3 installed and I struggled a

[Rd] Check R version dependency in R CMD Check

2024-12-13 Thread Jan Netík
Hello, I have a server with R 3.6.3 installed and I struggled a bit with updating several R packages that utilizes some new syntax introduced in R 4.1.0, such as the native pipe |> or function definition shorthand \(x) ... The thing is that these packages states "Depends: R (>= 3.6.0)" and pass R