[Rd] Check R version dependency in R CMD Check

Jan Netík net|kj@ @end|ng |rom gm@||@com
Fri Dec 13 19:55:42 CET 2024


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
CMD Check without any issues. My problem occurred at the installation time.
I can see that developers naturally include the new handy syntax but
oftentimes forget to raise R version dependency in their DESCRIPTIONs.
Should we employ some new checks?

Best,
Jan

	[[alternative HTML version deleted]]



More information about the R-devel mailing list