On 06/03/2009 12:50 PM, Martyn Plummer wrote:
For R, there is no difference between "-" and "." in package version numbers. Here is what the R Extension manual says:
"The version is a sequence of at least two (and usually three) non-negative integers separated by single ‘.’ or ‘-’ characters. The canonical form is as shown in the example [0.5-1 - Martyn], and a version such as ‘0.01’ or ‘0.01.0’ will be handled as if it were ‘0.1-0’."
So you should just replace dashes with dots.
Based on that, I'd say we should be embedding the whole version (with dot, not dash). Pretty much every R package is going to need to be fixed for this, include the core R.
~spot