[Rd] Request: making cutree S3 in R?

2015-06-06 Thread Tal Galili
Hello all,

A question/suggestion:

I was wondering if there is a chance of changing stats::cutree to be S3 and
use cutree.hclust?

For example:

cutree <- function(tree, k = NULL, h = NULL,...)
{
  UseMethod("cutree")
}

cutree.hclust <- stats::cutree
# This will obviously need the actual content of stats::cutree


This would be nicer for people like me to add new methods to cutree. For
example the cutree.dendrogram function
 I
implemented in dendextend,



With regards,
Tal

[[alternative HTML version deleted]]

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] NEWS file inconsistency

2015-06-06 Thread Tobias Verbeke
L.S.

I noticed the NEWS file as made available at 
http://cran.r-project.org/src/base/NEWS became inconsistent in describing 
CHANGES for a new R version:

$ wget http://cran.r-project.org/src/base/NEWS
$ cat NEWS | grep 'CHANGES IN '
CHANGES IN 3.2.0:
CHANGES IN R 3.1.3:
CHANGES IN R 3.1.2:
CHANGES IN R 3.1.1:
CHANGES IN R 3.1.0:
CHANGES IN R 3.0.3:
CHANGES IN R 3.0.2:
CHANGES IN R 3.0.1:
CHANGES IN R 3.0.0:

Not a big issue, obviously, but we were parsing the file as part of a build 
procedure.

Best,
Tobias

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] NEWS file inconsistency

2015-06-06 Thread Duncan Murdoch
On 06/06/2015 8:18 AM, Tobias Verbeke wrote:
> L.S.
> 
> I noticed the NEWS file as made available at 
> http://cran.r-project.org/src/base/NEWS became inconsistent in describing 
> CHANGES for a new R version:
> 
> $ wget http://cran.r-project.org/src/base/NEWS
> $ cat NEWS | grep 'CHANGES IN '
> CHANGES IN 3.2.0:
> CHANGES IN R 3.1.3:
> CHANGES IN R 3.1.2:
> CHANGES IN R 3.1.1:
> CHANGES IN R 3.1.0:
> CHANGES IN R 3.0.3:
> CHANGES IN R 3.0.2:
> CHANGES IN R 3.0.1:
> CHANGES IN R 3.0.0:
> 
> Not a big issue, obviously, but we were parsing the file as part of a build 
> procedure.

That's already been fixed, and hopefully it won't happen again in 3.2.1,
due in a couple of weeks.  I thought it had been fixed before release,
but apparently not.

Please do check the 3.2.1 pre-release versions (starting Monday) and
make sure they work with your tools.

Duncan

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] NEWS file inconsistency

2015-06-06 Thread Tobias Verbeke
Many thanks, Duncan.

We will check the prerelease versions of R 3.2.1.

Best regards,
Tobias

- Original Message -
> From: "Duncan Murdoch" 
> To: "Tobias Verbeke" , 
> "r-devel@r-project.org" 
> Sent: Saturday, June 6, 2015 2:37:04 PM
> Subject: Re: [Rd] NEWS file inconsistency

> On 06/06/2015 8:18 AM, Tobias Verbeke wrote:
>> L.S.
>> 
>> I noticed the NEWS file as made available at
>> http://cran.r-project.org/src/base/NEWS became inconsistent in describing
>> CHANGES for a new R version:
>> 
>> $ wget http://cran.r-project.org/src/base/NEWS
>> $ cat NEWS | grep 'CHANGES IN '
>> CHANGES IN 3.2.0:
>> CHANGES IN R 3.1.3:
>> CHANGES IN R 3.1.2:
>> CHANGES IN R 3.1.1:
>> CHANGES IN R 3.1.0:
>> CHANGES IN R 3.0.3:
>> CHANGES IN R 3.0.2:
>> CHANGES IN R 3.0.1:
>> CHANGES IN R 3.0.0:
>> 
>> Not a big issue, obviously, but we were parsing the file as part of a build
>> procedure.
> 
> That's already been fixed, and hopefully it won't happen again in 3.2.1,
> due in a couple of weeks.  I thought it had been fixed before release,
> but apparently not.
> 
> Please do check the 3.2.1 pre-release versions (starting Monday) and
> make sure they work with your tools.
> 
> Duncan

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel