error message when running news()

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

error message when running news()

Gabor Grothendieck
When running news() in I get this error message from print.news_db:

> news()
Error: invalid version specification 2.0.12.0.1 patched2.1.02.1.12.1.1
patched2.10.02.10.0 patched2.2.02.2.12.2.1 patched2.3.02.3.12.3.1
patched2.4.02.4.12.4.1 patched2.5.02.5.12.5.1
patched2.6.02.6.12.6.22.6.2 patched2.7.02.7.12.7.22.7.2
patched2.8.02.8.12.8.1 patched2.9.02.9.12.9.22.9.2 patched
> R.version.string
[1] "R version 2.10.0 Patched (2009-11-21 r50532)"

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Reply | Threaded
Open this post in threaded view
|

Re: error message when running news()

Duncan Murdoch
On 22/11/2009 7:34 AM, Gabor Grothendieck wrote:

> When running news() in I get this error message from print.news_db:
>
>> news()
> Error: invalid version specification 2.0.12.0.1 patched2.1.02.1.12.1.1
> patched2.10.02.10.0 patched2.2.02.2.12.2.1 patched2.3.02.3.12.3.1
> patched2.4.02.4.12.4.1 patched2.5.02.5.12.5.1
> patched2.6.02.6.12.6.22.6.2 patched2.7.02.7.12.7.22.7.2
> patched2.8.02.8.12.8.1 patched2.9.02.9.12.9.22.9.2 patched
>> R.version.string
> [1] "R version 2.10.0 Patched (2009-11-21 r50532)"


This is also present in R-devel.  It's an error in utils:::print.news_db.

The problem is that versions like "2.0.1 patched" can't be converted to
numeric versions, but print.news_db tries to do it to sort the entries.
  The repetitive message is just a bad error message from
.make_numeric_version.

Presumably the intention is that "2.0.1 patched" should compare bigger
than "2.0.1" and less than "2.0.2", but I don't know the best fix for this.

Duncan Murdoch

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Reply | Threaded
Open this post in threaded view
|

Re: error message when running news()

Kurt Hornik-5
>>>>> Duncan Murdoch writes:

> On 22/11/2009 7:34 AM, Gabor Grothendieck wrote:
>> When running news() in I get this error message from print.news_db:
>>
>>> news()
>> Error: invalid version specification 2.0.12.0.1 patched2.1.02.1.12.1.1
>> patched2.10.02.10.0 patched2.2.02.2.12.2.1 patched2.3.02.3.12.3.1
>> patched2.4.02.4.12.4.1 patched2.5.02.5.12.5.1
>> patched2.6.02.6.12.6.22.6.2 patched2.7.02.7.12.7.22.7.2
>> patched2.8.02.8.12.8.1 patched2.9.02.9.12.9.22.9.2 patched
>>> R.version.string
>> [1] "R version 2.10.0 Patched (2009-11-21 r50532)"


> This is also present in R-devel.  It's an error in utils:::print.news_db.

> The problem is that versions like "2.0.1 patched" can't be converted to
> numeric versions, but print.news_db tries to do it to sort the entries.
>   The repetitive message is just a bad error message from
> .make_numeric_version.

> Presumably the intention is that "2.0.1 patched" should compare bigger
> than "2.0.1" and less than "2.0.2", but I don't know the best fix for this.

> Duncan Murdoch

I'll have a look.

-k

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel