Skip to content

Commit 8950584

Browse files
committed
add a readme file with R_CMD check action
1 parent a22a5a7 commit 8950584

File tree

2 files changed

+97
-0
lines changed

2 files changed

+97
-0
lines changed

.github/workflows/R-CMD-check.yaml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
2+
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
3+
on:
4+
push:
5+
branches: [main, master]
6+
pull_request:
7+
8+
name: R-CMD-check.yaml
9+
10+
permissions: read-all
11+
12+
jobs:
13+
R-CMD-check:
14+
runs-on: ${{ matrix.config.os }}
15+
16+
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
17+
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
config:
22+
- {os: macos-latest, r: 'release'}
23+
- {os: windows-latest, r: 'release'}
24+
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
25+
- {os: ubuntu-latest, r: 'release'}
26+
- {os: ubuntu-latest, r: 'oldrel-1'}
27+
28+
env:
29+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
30+
R_KEEP_PKG_SOURCE: yes
31+
32+
steps:
33+
34+
- if: runner.os == 'macOS'
35+
run: |
36+
brew install checkbashisms
37+
brew install --cask xquartz
38+
39+
- uses: actions/checkout@v4
40+
41+
- uses: r-lib/actions/setup-pandoc@v2
42+
43+
- uses: r-lib/actions/setup-r@v2
44+
with:
45+
r-version: ${{ matrix.config.r }}
46+
http-user-agent: ${{ matrix.config.http-user-agent }}
47+
use-public-rspm: true
48+
rtools-version: '42'
49+
50+
- uses: r-lib/actions/setup-r-dependencies@v2
51+
with:
52+
extra-packages: any::rcmdcheck
53+
needs: check
54+
55+
- uses: r-lib/actions/check-r-package@v2
56+
with:
57+
upload-snapshots: true
58+
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'

README.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
randomForestSRC - Fast Unified Random Forests for Survival, Regression, and Classification (RF-SRC)
2+
========================================================
3+
<!-- badges: start -->
4+
5+
[![cranlogs](http://cranlogs.r-pkg.org/badges/randomForestSRC)](http://cranlogs.r-pkg.org/badges/randomForestSRC)
6+
[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/randomForestSRC)](https://cran.r-project.org/package=randomForestSRC)
7+
8+
[![active](http://www.repostatus.org/badges/latest/active.svg)](http://www.repostatus.org/badges/latest/active.svg)
9+
10+
[![R-CMD-check](https://github.com/ehrlinger/randomForestSRC/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/ehrlinger/randomForestSRC/actions/workflows/R-CMD-check.yaml)
11+
[![Codecov test coverage](https://codecov.io/gh/ehrlinger/ggRandomForests/graph/badge.svg)](https://app.codecov.io/gh/ehrlinger/ggRandomForests)
12+
13+
<!-- badges: end -->
14+
15+
R-software for random forests regression, classification, survival analysis, competing risks, multivariate, unsupervised, quantile regression, and class imbalanced q-classification. Extreme random forests and randomized splitting. Suite of imputation methods for missing data. Fast random forests using subsampling. Confidence regions and standard errors for variable importance. New improved holdout importance. Case-specific importance. Minimal depth variable importance. Visualize trees on your Safari or Google Chrome browser. Anonymous random forests for data privacy. New Mahalanobis splitting rule for correlated real-valued outcomes in multivariate regression settings.
16+
17+
## Documentation
18+
19+
https://www.randomforestsrc.org/
20+
21+
https://ishwaran.org/
22+
23+
## Installation
24+
25+
The production release is available on CRAN at
26+
```{r}
27+
install.packages("randomForestSRC")
28+
```
29+
30+
Install the development version into your R environment using the `devtools` package:
31+
```{r}
32+
install.packages("devtools") # If you don't have it.
33+
34+
# Requires randomForestSRC dependency.
35+
devtools::install_github("kogalur/randomForestSRC")
36+
```
37+
## References
38+
39+
Lu M., Ishwaran H. Model-independent variable selection via the rule-based variable priority [arXiv:2409.09003 ](https://arxiv.org/abs/2409.09003) **[stat.ML]**

0 commit comments

Comments
 (0)