Skip to content

surface

0.6Package record

Fitting Hansen Models to Investigate Convergent Evolution

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

Overview

About

This data-driven phylogenetic comparative method fits stabilizing selection models to continuous trait data, building on the 'ouch' methodology of Butler and King (2004) doi:10.1086/426002. The main functions fit a series of Hansen models using stepwise AIC, then identify cases of convergent evolution where multiple lineages have shifted to the same adaptive peak. For more information see Ingram and Mahler (2013) doi:10.1111/2041-210X.12034.

Install

Health

CRAN checks
13OK
Slowest check: 5.3 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.6
READMENoVignettesYes · 1 · dynamicNEWSNoCitation fileYes · cites a publicationWebsiteYes
Help pages
16includes a package overview page
Examples that run
63%10 run in a plain check · 5 never run · 1 hold no code
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
100%

Downloads

3.4K
CRAN downloads in the past year
Rank #13,872 · ~9/day · ~286/mo
Daily download trend is not available in this view yet.
29630 days
85590 days
3.4K1 year
Compare downloads with other packages →
Also on81 r2u6 autocran134 c2d4u

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)

Installing surface adds 37 packages (22 with compiled code, 32 MB of source tarballs). Heaviest: ncbit 9.4 MB, igraph 4.8 MB, maps 2.2 MB.

Depends (5)
R >= 2.6apeouchMASSgeiger
Imports (2)
methodsphytools
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (1)
Author, Maintainer since 0.2 (2012)
Releases (6)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • unarchivedReturned to CRAN
    2024-08-19
  • archivedRemoved from CRAN
    2024-08-19
    issues were not corrected despite reminders
  • 0.6Latest
    record
    2024-08-19 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • unarchivedReturned to CRAN
    2020-12-18
  • 0.5
    record
    2020-12-18 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • archivedRemoved from CRAN
    2020-02-19
    check problems were not corrected despite reminders
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
Show 9 earlier eventsHide 9 earlier events
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • R
    R 3.1.0 released · 2014-04-10
  • 0.4-1
    record
    2014-02-14 · diff ↗
  • 0.4
    record
    2013-11-01 · diff ↗ ·
    removed 1 export
    pmcSurface
  • R
    R 3.0.0 released · 2013-04-03
  • 0.3
    record
    2013-02-21 · diff ↗ ·
    added 1 export
    surfaceAICMultiPlot
  • 0.2
    record
    2013-01-04
  • R
    R 2.15.0 released · 2012-03-30

Package metadata

First published
2013-01-04
Total releases
6 / 13 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 2.6
Bundled data
4.9 KB / 1 file
Download size
222 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' entry:

citation("surface")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.1111/2041-210x.12034.

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 surface version 0.6 [Data set]. HJJB, LLC. Data release v2026-10-26. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-26, 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