Skip to content

Commit

Permalink
Merge pull request #704 from imbs-hl/cran_0_16
Browse files Browse the repository at this point in the history
New CRAN version
  • Loading branch information
mnwright authored Nov 13, 2023
2 parents ca30dab + 28be15b commit dcaee8d
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 4 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: ranger
Type: Package
Title: A Fast Implementation of Random Forests
Version: 0.15.4
Date: 2023-11-07
Version: 0.16.0
Date: 2023-11-09
Author: Marvin N. Wright [aut, cre], Stefan Wager [ctb], Philipp Probst [ctb]
Maintainer: Marvin N. Wright <[email protected]>
Description: A fast implementation of Random Forests, particularly suited for high
Expand Down
7 changes: 7 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@

##### Version 0.16.0
* Add node.stats option to save node statistics of all nodes
* Add time.interest option to restrict unique survival times (faster and saves memory)
* Fix min bucket option in C++ version
* Fix memory error for always.split.variables in certain settings
* Fix quantile regression for factor variables in "order" mode

##### Version 0.15.0
* Switch to C++14 standard
* Add min.bucket parameter to restrict terminal node size
Expand Down
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

# ranger 0.16.0
* New CRAN version

# ranger 0.15.4
* Add node.stats option to save node statistics of all nodes
* Add time.interest option to restrict unique survival times (faster and saves memory)
Expand Down
2 changes: 1 addition & 1 deletion R/ranger.R
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ ranger <- function(formula = NULL, data = NULL, num.trees = 500, mtry = NULL,
}
data.selected <- parse.formula(formula, data, env = parent.frame())
dependent.variable.name <- all.vars(formula)[1]
if (survival::is.Surv(data.selected[, 1])) {
if (inherits(data.selected[, 1], "Surv")) {
status.variable.name <- all.vars(formula)[2]
}
y <- data.selected[, 1]
Expand Down
2 changes: 1 addition & 1 deletion cpp_version/src/version.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#ifndef RANGER_VERSION
#define RANGER_VERSION "0.15.4"
#define RANGER_VERSION "0.16.0"
#endif

0 comments on commit dcaee8d

Please sign in to comment.