Skip to content

poweRbal

Phylogenetic Tree Models and the Power of Tree Shape Statistics

v0.1.0 · Apr 15, 2026 · GPL (>= 3)

Description

The first goal of this package is to provide a multitude of tree models, i.e., functions that generate rooted binary trees with a given number of leaves. Second, the package allows for an easy evaluation and comparison of tree shape statistics by estimating their power to differentiate between different tree models. Please note that this R package was developed alongside the manuscript 'Tree balance in phylogenetic models' by S. J. Kersting, K. Wicke, and M. Fischer (2025) <doi:10.1098/rstb.2023.0303>, which provides further background and the respective mathematical definitions. This project was supported by the project ArtIGROW, which is a part of the WIR!-Alliance ArtIFARM – Artificial Intelligence in Farming funded by the German Federal Ministry of Education and Research (No. 03WIR4805).

Downloads

CRAN

467

Last 30 days

8894th

1.3K

Last 90 days

2.9K

Last year

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

r2u CRAN

0

Last 30 days

31

Last 90 days

96

Last year

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

autoCRAN

6

Last 7 days

16

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 9, 2026
WARNING 12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Jun 8, 2026
WARNING r-devel-linux-x86_64-debian-gcc

code files for non-ASCII characters

Found the following file with non-ASCII characters:
  Fatal error: cannot create 'R_TempDir'
Portable packages must use only ASCII characters in their R code and
NAMESPACE directives, except perhaps in comments.
Use \uxxxx escapes for other characters.
Function ‘tools::showNonASCIIfile’ can help in finding non-ASCII
characters in files.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

5,579

Files

49

Compiled share

0%

Has compiled src

No

Language breakdown

R 3,759 (67.4%)Docs 1,820 (32.6%)

API

Exported functions

32

Internal functions

17

Recent export changes

v0.0.1.1+4 computeAccRegion, getAccRegion_exact, getAccRegion_sampled +1 more  −4 getAccRegion_data, getPowerMultAM, showPower 1 more
v0.0.0.3+32 enum2cladewise, genAldousBetaTree, genAltBirthDeathTree +29 more

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

95.2%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.5.0

System requirements

C++ standard

License

GPL (>= 3)

License flags

SPDX valid, OSI approved

History

Versions

3

First release

2024-06-28

Latest release

2026-04-15

Avg cadence

328 days

Cold removal rate

100%

Dep drift

2

LOC over versions

v0.0.0.3: 4,349 LOCv0.0.1.1: 5,233 LOCv0.1.0: 5,579 LOC

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

Dependency Network

Dependencies Reverse dependencies ape scales phytools treebalance R.utils memoise poweRbal

Version History

4 tracked
updated 0.1.0 ← 0.0.1.1 diff Apr 15, 2026
new 0.0.1.1 Mar 10, 2026
updated 0.0.1.1 ← 0.0.0.3 diff Aug 15, 2024
new 0.0.0.3 Jun 27, 2024