[
https://issues.apache.org/jira/browse/ARROW-4113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16728608#comment-16728608
]
Hiroaki Yutani commented on ARROW-4113:
---------------------------------------
{quote}Is "0.12.0-0" smaller than "0.12.0"?
{quote}
No (I didn't know this until now...).
{code}
package_version("0.12.0-0") == package_version("0.12.0")
#> [1] TRUE{code}
One common practice is to add .9000 to the tail of the current released version
to represent "development version." So, in this case, the version would be
0.11.0.9000.
c.f. [http://r-pkgs.had.co.nz/description.html#version]
I guess you want to include "0.12.0" in the version string to indicate it's the
development version of "0.12.0." But, as far as I know, R has no nice way to do
that. Some possible choices are here:
# use "0.11.0.9000" for development, and "0.12.0" for release
# use "0.12.0" both for development and release
# use "0.12.0-0" for development, and "0.12.0-1" for release (c.f
[rstan|https://cran.r-project.org/src/contrib/Archive/rstan/]'s patch version
is 1-origin)
> [R] Version number patch broke build
> ------------------------------------
>
> Key: ARROW-4113
> URL: https://issues.apache.org/jira/browse/ARROW-4113
> Project: Apache Arrow
> Issue Type: Bug
> Components: R
> Reporter: Wes McKinney
> Priority: Major
> Fix For: 0.12.0
>
>
> The patch
> https://github.com/apache/arrow/commit/385c4384eb0dcc384b443f24765c64e9d6d88d28
> broke the R build (which is in allowed_failures right now)
> {code}
> Building with: R CMD build
> 0.22s$ R CMD build .
> * checking for file ‘./DESCRIPTION’ ... OK
> * preparing ‘arrow’:
> * checking DESCRIPTION meta-information ... ERROR
> Malformed package version.
> See section 'The DESCRIPTION file' in the 'Writing R Extensions'
> manual.
> The command "R CMD build ." failed and exited with 1 during .
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)