-
Notifications
You must be signed in to change notification settings - Fork 192
Closed
Description
For package developers, it would be quite helpful to know if the code is compatible with the declared R version.
For example, if one uses trimws(whitespace=)
, then it is only compatible with R >= 3.6.0. However, developers using R >= 3.6.0 might not be aware of this until some user or CI using R < 3.6.0 complains.
I don't know a simple way to find how compatible the functions I use in package development are unless I carefully go through the R News, R News 3.x, etc.
I'm wondering if there's a way to make this process work in a more automatic manner, e.g. create a linter that checks the usage of functions are compatible with declared version requirement? Or suggest the use of backport
instead?
Metadata
Metadata
Assignees
Labels
No labels