Is there a standard R community resource for keeping up to date on known bugs or bug fixes for packages? My current approach is rather manual. (NB: I'm restricting this to CRAN - see Note 1.)
My use case is basically bug surveillance and the management of package updates. I've been averaging a couple of bug discoveries each month for awhile (which I duly report to the authors ;-)). Since a lot of my work is done with virtual machines, I tend to update the VM images when I have a good handle on the bug status for necessary packages. When a bunch of bugs are fixed, I can remove my workarounds, which is great, and I update the images. When I discover an outbreak of bugs, I don't create a new image.
Here are the sources I'm currently using:
- NEWS files: Many, but not all, packages have NEWS files. These are certainly a helpful place to start.
- Package home page: Some packages do not have a NEWS file on CRAN, but separately post a change log on the author's site.
- R project-hosted mailing lists
- Google Groups for packages
- Personal communication with package authors
- Bug tracking for packages (e.g. a developer may use Bugzilla)
It's one thing to be the first to discover a bug (I grant that bugs happen to all of us), it's another to belatedly discover a bug that is either already known or, better yet, already fixed. Both slow down my own coding, but better bug surveillance (maybe we need a cdc4R
package :)) would significantly reduce the impact. Without a standard update alerting system (e.g. an extension to update.packages()
that reports on which packages could be updated and links to info on what's changed), it's the user's job to seek out this information.
As such a user, trying to seek out this information, is there some standard resource I've overlooked in the list above? For instance, is there an R mailing list where it's common for developers to post their changes and bug fixes? Or is there a site that aggregates such posts, posts tests (CRAN posts R CMD CHECK
output, it seems), or that gives some other feedback?
A few additional notes on other resources, for others' benefit:
- I see that CRANberries has a terse
diff
summary on packages, which is new to me. (I am inspired to consider a grep forbug
orfix
in the diff output.) bug.report()
in R is a good way to send a message to R Core or the email address of a package maintainer.- Several testing packages worth consideration are:
testthat
,RUnit
, andsvUnit
. - My personal "quick test" is to simply use
digest
to verify that results match, without having to test equality of very large objects.
Note 1: I'm tagging this cran because it's impossible to manage the universe of all R packages. For an individual package author, one can distribute a package wherever they'd like, use whatever mailing list or bug tracking system they like, etc. However, that's outside the "mainstream" for R. Were I to release a package and alert users to changes, bugs, bugfixes, I'd go with CRAN + NEWS + Bugzilla + Google Groups + R-Forge (and/or RForge), etc., but is there another standard reporting mechanism that is missing from this list?
In some sense, this note also serves to ask if there's a mechanism that developers are encouraged to use. I suspect there is no standard, as packages by R Core members seem to do many different things regarding bug and change reporting.
Note 2: I'm also adding administration (though something else may be more apropos), since this also relates to administering R. For reproducibility, administration of packages is quite important; when there are multiple users or more moving pieces, keeping aware of bugs and fixes becomes an administrative task, as well as an important consideration for development that depends on the external packages. If another tag, e.g. system-administration is more appropriate, I'm open to a change.
updateme
package which tells you if a new package version is available: https://mcmap.net/q/826457/-in-r-how-can-i-know-if-my-packages-are-up-to-date – Maryleemarylin