Skip to content

PRTree

1.1.0Package record

Probabilistic Regression Trees

0packages depend
6.3Kdownloads / year
–test coverage
9/13flavors OK

Overview

About

Implementation of Probabilistic Regression Trees (PRTree), providing functions for model fitting and prediction, with specific adaptations to handle missing values. The main computations are implemented in 'Fortran' for high efficiency. The package is based on the PRTree methodology described in Alkhoury et al. (2020), "Smooth and Consistent Probabilistic Regression Trees" https://proceedings.neurips.cc/paper_files/paper/2020/file/8289889263db4a40463e3f358bb7c7a1-Paper.pdf. Details on the treatment of missing data and implementation aspects are presented in Prass, T.S.; Neimaier, A.S.; Pumi, G. (2025), "Handling Missing Data in Probabilistic Regression Trees: Methods and Implementation in R" doi:10.48550/arXiv.2510.03634.

Install

Health

CRAN checks
4WARNING9OK
Check messages
WARNINGwhether package can be installedr-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-release-macos-arm64, r-release-macos-x86_64

r-oldrel-macos-arm64

Found the following significant warnings:
  Warning: 'idx_node.offset' is used uninitialized [-Wuninitialized]
  Warning: 'idx_node.dim[0].lbound' is used uninitialized [-Wuninitialized]
  Warning: 'idx_node.dim[0].ubound' is used uninitialized [-Wuninitialized]
  Warning: 'p_zero.offset' is used uninitialized [-Wuninitialized]
  Warning: 'p_zero.dim[0].lbound' is used uninitialized [-Wuninitialized]
  Warning: 'p_zero.dim[0].ubound' is used uninitialized [-Wuninitialized]
See ‘/Volumes/Builds/packages/big-sur-arm64/results/4.5/PRTree.Rcheck/00install.out’ for details.
* used C compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
* used Fortran compiler: ‘GNU Fortran (GCC) 14.2.0’
* used SDK: ‘MacOSX11.3.1.sdk’

r-oldrel-macos-x86_64

Found the following significant warnings:
  Warning: 'idx_node.offset' is used uninitialized [-Wuninitialized]
  Warning: 'idx_node.dim[0].lbound' is used uninitialized [-Wuninitialized]
  Warning: 'idx_node.dim[0].ubound' is used uninitialized [-Wuninitialized]
  Warning: 'p_zero.offset' is used uninitialized [-Wuninitialized]
  Warning: 'p_zero.dim[0].lbound' is used uninitialized [-Wuninitialized]
  Warning: 'p_zero.dim[0].ubound' is used uninitialized [-Wuninitialized]
See ‘/Volumes/Builds/packages/big-sur-x86_64/results/4.5/PRTree.Rcheck/00install.out’ for details.
* used C compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
* used Fortran compiler: ‘GNU Fortran (GCC) 14.2.0’
* used SDK: ‘MacOSX11.3.1.sdk’

r-release-macos-arm64

Found the following significant warnings:
  Warning: 'idx_node.offset' is used uninitialized [-Wuninitialized]
  Warning: 'idx_node.dim[0].lbound' is used uninitialized [-Wuninitialized]
  Warning: 'idx_node.dim[0].ubound' is used uninitialized [-Wuninitialized]
  Warning: 'p_zero.offset' is used uninitialized [-Wuninitialized]
  Warning: 'p_zero.dim[0].lbound' is used uninitialized [-Wuninitialized]
  Warning: 'p_zero.dim[0].ubound' is used uninitialized [-Wuninitialized]
See ‘/Volumes/Builds/packages/sonoma-arm64/results/4.6/PRTree.Rcheck/00install.out’ for details.
* used C compiler: ‘Apple clang version 17.0.0 (clang-1700.3.19.1)’
* used Fortran compiler: ‘GNU Fortran (GCC) 14.2.0’
* used SDK: ‘MacOSX14.5.sdk’

r-release-macos-x86_64

Found the following significant warnings:
  Warning: 'idx_node.offset' is used uninitialized [-Wuninitialized]
  Warning: 'idx_node.dim[0].lbound' is used uninitialized [-Wuninitialized]
  Warning: 'idx_node.dim[0].ubound' is used uninitialized [-Wuninitialized]
  Warning: 'p_zero.offset' is used uninitialized [-Wuninitialized]
  Warning: 'p_zero.dim[0].lbound' is used uninitialized [-Wuninitialized]
  Warning: 'p_zero.dim[0].ubound' is used uninitialized [-Wuninitialized]
See ‘/Volumes/Builds/packages/big-sur-x86_64/results/4.6/PRTree.Rcheck/00install.out’ for details.
* used C compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
* used Fortran compiler: ‘GNU Fortran (GCC) 14.2.0’
* used SDK: ‘MacOSX11.3.1.sdk’
Additional issues

CRAN check page ↗

Slowest check: 2.6 min · r-devel-windows-x86_64
Status changes
  • WARNING9 OK, 4 WARNING2026-09-08
  • ERROR8 OK, 4 WARNING, 1 ERROR2026-09-07
  • WARNING12 OK, 1 WARNING2026-05-17
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.1.0
READMENoVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
23 (1 internal)includes a package overview page
Examples that run
67%4 run in a plain check · 2 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
86%
Documented parameters
100%
Return-value docs
86%
Help pages citing references
0%

Downloads

6.3K
CRAN downloads in the past year
Rank #12,154 · ~17/day · ~527/mo
Daily download trend is not available in this view yet.
27230 days
90890 days
6.3K1 year
Compare downloads with other packages →
Also on414 r2u1 autocran

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)

Installing PRTree adds 22 packages (12 with compiled code, 18 MB of source tarballs). Heaviest: stringi 11 MB, vctrs 1.0 MB, dplyr 902 KB.

Depends (1)
R >= 4.3.0
Imports (8)
tidyrgridExtrastatsgrDevicesutilstidyselectgraphicsrlang
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (2)
Author, Thesis advisor, Maintainer · added in 1.1.0
Author · added in 1.1.0

Maintainer since 1.0.0 (2025), previously Alisson Silva Neimaier (0.1.0 to 0.1.3)

Listed in earlier versions (2)
Taiane Schaedler
no longer listed · 0.1.0 to 1.0.3
Alisson Silva
no longer listed · 0.1.0 to 1.0.3
Releases (9)

Pick two releases to compare their code metrics.

  • 1.1.0Latest
    record
    2026-07-13 · current release · diff ↗ ·
    added 5 exports
    expand_sigma_grid, plot_tree, pr_tree_control_cv, pr_tree_cv, train_test_split
  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.3
    record
    2026-02-18 · diff ↗
  • 1.0.2
    record
    2025-10-26 · diff ↗
  • 1.0.1
    record
    2025-10-18 · diff ↗
  • 1.0.0
    record
    2025-10-10 · diff ↗ ·
    added 1 export
    pr_tree_control
  • 0.1.3
    record
    2025-05-22 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.1.2
    record
    2024-09-29 · diff ↗
  • 0.1.1
    record
    2024-09-15 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.1.0
    record
    2024-01-16
  • R
    R 4.3.0 released · 2023-04-21

Package metadata

First published
2024-01-16
Total releases
9 / 2 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 4.3.0
Download size
92 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("PRTree")
Prass, T. S., & Neimaier, A. S. (2026). PRTree: Probabilistic Regression Trees (Version 1.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.PRTree

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for PRTree version 1.1.0 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy