Skip to content

slouch

Stochastic Linear Ornstein-Uhlenbeck Comparative Hypotheses

v2.1.5 · Feb 15, 2024 · GPL-2

Description

An implementation of a phylogenetic comparative method. It can fit univariate among-species Ornstein-Uhlenbeck models of phenotypic trait evolution, where the trait evolves towards a primary optimum. The optimum can be modelled as a single parameter, as multiple discrete regimes on the phylogenetic tree, and/or with continuous covariates. See also Hansen (1997) <doi:10.2307/2411186>, Butler & King (2004) <doi:10.1086/426002>, Hansen et al. (2008) <doi:10.1111/j.1558-5646.2008.00412.x>.

Downloads

CRAN

304

Last 30 days

15232nd

688

Last 90 days

3.9K

Last year

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

r2u CRAN

0

Last 30 days

23

Last 90 days

86

Last year

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

autoCRAN

1

Last 7 days

8

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 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

3,814

Files

41

Compiled share

0%

Has compiled src

No

Language breakdown

R 2,090 (54.8%)Tests 596 (15.6%)Docs 646 (16.9%)Vignettes 482 (12.6%)

API

Exported functions

5

Internal functions

26

Recent export changes

v2.1.0+5 brown.fit, hillclimbplot, lseq +2 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.29

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

80%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

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.0.0

System requirements

C++ standard

License

GPL-2

License flags

SPDX valid, OSI approved

History

Versions

5

First release

2018-10-12

Latest release

2024-02-15

Avg cadence

242 days

Cold removal rate

Dep drift

1

LOC over versions

v2.1.0: 3,637 LOCv2.1.1: 3,246 LOCv2.1.2: 3,258 LOCv2.1.4: 3,377 LOCv2.1.5: 3,814 LOC

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

Dependency Network

Dependencies Reverse dependencies crayon ape memoise slouch

Version History

6 tracked
new 2.1.5 Mar 10, 2026
updated 2.1.5 ← 2.1.4 diff Feb 14, 2024
updated 2.1.4 ← 2.1.2 diff Feb 20, 2020
updated 2.1.2 ← 2.1.1 diff Mar 20, 2019
updated 2.1.1 ← 2.1.0 diff Oct 25, 2018
new 2.1.0 Oct 11, 2018