When developing a package, it's useful to know when a function that we want to use was introduced in R or in a dependency, so that we know whether including it will change the dependencies of our package. Is there a function that takes a function name as input and outputs the R version or the package version in which it was released?
Example:
implemented_in("list2DF()")
#> '4.0.0'
Even better if this function could work for every package and not just for base R, for example:
implemented_in("dplyr::relocate()")
#> '1.0.0'
"relocate" %in% ls("package:dplyr")
, you might test if needed functions exist.news(package = "dplyr")