Reputation: 1364
I recently noticed the function anyNA
which has been added to R base sometime around 3.1 (commit).
I only discovered that the function was relatively new by running some code on a machine running an old version of R.
Is there an easy way (i.e. not searching through the commit history, or trying on a number of different R versions) to find out when a function was added to R. In this case, it affects the R version my package relies on and subsequently how I would decide to write my code (as I asked here).
Upvotes: 2
Views: 43
Reputation: 1364
I worked this out just as I finished writing the question, so thought I'd post and answer anyway.
You can search through the release NEWS files.
Versions 3.0.0 onwards, 2.0.0 - 3.0.0, 1.0.0 - 2.0.0 and < 1.0.0.
Upvotes: 1