Skip to content
Prev 8283 / 63424 Next

RFC: no automatic updates of packages with major version change

This definition requires EVERY package maintainer to be VERY careful about
version numbers / API changes and I guess some of us (including me) may
fail this exercise.

I suggest the following definition: the API of a package changed
iff the example code of the previous version of the package does not run
without an error. In contrast, the results of the computations may
differ. Of course, this induces additional effort to the CRAN maintainers
but it should be possible to extract and check the examples of a CRAN
package against a new version BEFORE uploading the new version to CRAN. In
addition, a flag `APIChange TRUE / FALSE' visible to `update.packages' is
needed.

Or should this be part of R CMD check? Maybe R CMD check can download the
`official' release from CRAN to check against an API change and give a
warning?

best, 

Torsten
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._