Skip to content

wsrf

Weighted Subspace Random Forest for Classification

v1.7.32 · Feb 22, 2026 · GPL (>= 3)

Description

A parallel implementation of Weighted Subspace Random Forest. The Weighted Subspace Random Forest algorithm was proposed in the International Journal of Data Warehousing and Mining by Baoxun Xu, Joshua Zhexue Huang, Graham Williams, Qiang Wang, and Yunming Ye (2012) <DOI:10.4018/jdwm.2012040103>. The algorithm can classify very high-dimensional data with random forests built using small subspaces. A novel variable weighting method is used for variable subspace selection in place of the traditional random variable sampling.This new approach is particularly useful in building models from high-dimensional data.

Downloads

CRAN

392

Last 30 days

11069th

1.1K

Last 90 days

5.7K

Last year

Trend: +18.1% (30d vs prior 30d)

r2u CRAN

24

Last 30 days

119

Last 90 days

418

Last year

Trend: -40% (30d vs prior 30d)

autoCRAN

1

Last 7 days

4

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 8, 2026
WARNING 12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Jun 7, 2026
WARNING r-devel-linux-x86_64-debian-gcc

for code/documentation mismatches

Warning in file(open = "w+") :
  cannot open file '/tmp/Rtmpn311lL/Rf28b7045a977ac': No space left on device
Error in file(open = "w+") : cannot open the connection
Calls: <Anonymous> -> .load_package_quietly -> .try_quietly -> file
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/wsrf.Rcheck/00install.out' for details.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

4,649

Files

56

Compiled share

67.9%

Has compiled src

Yes

Language breakdown

R 568 (12.2%)C/C++/src 3,158 (67.9%)Tests 92 (2%)Docs 619 (13.3%)Vignettes 212 (4.6%)

API

Exported functions

10

Internal functions

12

Testing & CI

Has tests

Yes

Test-to-code ratio

0.16

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

33.3%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.3.0

System requirements

C++ standard

License

GPL (>= 3)

License flags

SPDX valid, OSI approved

History

Versions

20

First release

2014-01-08

Latest release

2026-02-22

Avg cadence

110 days

Cold removal rate

100%

Dep drift

1

LOC over versions

v1.2.523: 5,929 LOCv1.3.0: 5,150 LOCv1.4.0: 6,041 LOCv1.5.0: 5,091 LOCv1.5.14: 5,108 LOCv1.5.24: 4,777 LOCv1.5.29: 4,777 LOCv1.5.47: 4,794 LOCv1.6.25: 4,442 LOCv1.7.0: 4,512 LOCv1.7.10: 4,665 LOCv1.7.13: 4,665 LOCv1.7.17: 4,668 LOCv1.7.20: 4,668 LOCv1.7.21: 4,668 LOCv1.7.22: 4,668 LOCv1.7.27: 4,649 LOCv1.7.30: 4,649 LOCv1.7.31: 4,649 LOCv1.7.32: 4,649 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies Rcpp wsrf

Version History

21 tracked
new 1.7.32 Mar 10, 2026
updated 1.7.32 ← 1.7.31 diff Feb 21, 2026
updated 1.7.31 ← 1.7.30 diff Dec 15, 2025
updated 1.7.30 ← 1.7.27 diff Jan 5, 2023
updated 1.7.27 ← 1.7.22 diff Mar 12, 2022
updated 1.7.22 ← 1.7.21 diff Oct 9, 2021
updated 1.7.21 ← 1.7.20 diff Apr 27, 2021
updated 1.7.20 ← 1.7.17 diff Apr 23, 2021
updated 1.7.17 ← 1.7.13 diff Sep 24, 2017
updated 1.7.13 ← 1.7.10 diff Apr 16, 2017
updated 1.7.10 ← 1.7.0 diff Mar 27, 2017
updated 1.7.0 ← 1.6.25 diff Oct 27, 2016
updated 1.6.25 ← 1.5.47 diff Sep 9, 2016
updated 1.5.47 ← 1.5.29 diff Jul 10, 2016
updated 1.5.29 ← 1.5.24 diff Oct 9, 2015