Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 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.17.1
Date: 2025-06-04
Version: 0.17.2
Date: 2026-01-15
Authors@R: c(
person("Marvin N.", "Wright", email = "cran@wrig.de", role = c("aut", "cre")),
person("Stefan", "Wager", role = "ctb"),
Expand All @@ -21,7 +21,7 @@ Suggests:
survival,
testthat
Encoding: UTF-8
RoxygenNote: 7.3.2
RoxygenNote: 7.3.3
URL: https://imbs-hl.github.io/ranger/,
https://github.com/imbs-hl/ranger
BugReports: https://github.com/imbs-hl/ranger/issues
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

# ranger 0.17.2
* Fix compilation with C++20

# ranger 0.17.1
* Fix bug where missing value handling lead to negative impurity importance values
* Slightly change the missing value algorithm (see docs)
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.17.1"
#define RANGER_VERSION "0.17.2"
#endif
3 changes: 2 additions & 1 deletion src/Makevars
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
PKG_CPPFLAGS = -DR_BUILD

CXX_STD = CXX20
PKG_CXXFLAGS = -std=c++20
3 changes: 2 additions & 1 deletion src/Makevars.win
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
PKG_CPPFLAGS = -DR_BUILD -DWIN_R_BUILD

CXX_STD = CXX20
PKG_CXXFLAGS = -std=c++20
8 changes: 4 additions & 4 deletions src/utility.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
#ifndef UTILITY_H_
#define UTILITY_H_

#ifdef R_BUILD
#include <Rcpp.h>
#endif

#include <math.h>
#include <vector>
#include <iostream>
Expand All @@ -25,10 +29,6 @@
#include <type_traits>
#include <utility>

#ifdef R_BUILD
#include <Rinternals.h>
#endif

#include "globals.h"
#include "Data.h"

Expand Down
Loading