r-lib / roxygen2

Generate R package documentation from inline R comments
https://roxygen2.r-lib.org
Other
585 stars 231 forks source link

Drop 'if getRversion() >= "3.4.0"' qualification under examplesIf tag? #1581

Closed MichaelChirico closed 1 week ago

MichaelChirico commented 5 months ago

https://github.com/r-lib/roxygen2/blob/db4dd9a4de2ce6817c17441d481cf5d03ef220e2/R/rd-examples.R#L20

3.4.0 is now 7 years old, and Tidyverse policy is to support R>=3.6.0.

Do we need to keep writing out this qualification on using withAutoprint() vs. force() indefinitely?

Obviously in the rendered Rd it doesn't make much difference, but we do occasionally need to look at the raw contents and it can be quite distracting in that case.

IndrajeetPatil commented 1 month ago

Of relevance here:

The latest RStudio IDE bumps the minimum needed R version to 3.6 (cf. https://github.com/rstudio/rstudio/issues/12318):

Screenshot 2024-05-22 at 09 58 47