{
  "_id": "6a572ea9ff0138dec5d6eca1",
  "Package": "surface",
  "Type": "Package",
  "Title": "Fitting Hansen Models to Investigate Convergent Evolution",
  "Version": "0.6",
  "Date": "2024-08-19",
  "Authors@R": "person(given = \"Travis\",\nfamily = \"Ingram\",\nrole = c(\"aut\", \"cre\"),\nemail = \"travis.ingram@otago.ac.nz\")",
  "Description": "This data-driven phylogenetic comparative method fits\nstabilizing selection models to continuous trait data, building\non the 'ouch' methodology of Butler and King (2004)\n<doi:10.1086/426002>. The main functions fit a series of Hansen\nmodels using stepwise AIC, then identify cases of convergent\nevolution where multiple lineages have shifted to the same\nadaptive peak. For more information see Ingram and Mahler\n(2013) <doi:10.1111/2041-210X.12034>.",
  "License": "GPL (>= 2)",
  "URL": "https://www.otago.ac.nz/ecoevotago/research/code/index.html",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-15 06:50:23 UTC",
    "User": "root"
  },
  "Author": "Travis Ingram [aut, cre]",
  "Maintainer": "Travis Ingram <travis.ingram@otago.ac.nz>",
  "Config/pak/sysreqs": "libglpk-dev libxml2-dev",
  "Repository": "https://tingram.r-universe.dev",
  "Date/Publication": "2024-08-20 02:55:10 UTC",
  "RemoteUrl": "https://github.com/cran/surface",
  "RemoteRef": "HEAD",
  "RemoteSha": "8308983b8c3cbe7acb1d8996231a6748a1995f1b",
  "_user": "tingram",
  "_type": "src",
  "_file": "surface_0.6.tar.gz",
  "_fileid": "https://r2.ropensci.org/b0b5cee238961540158916be6ee2b532e26abd60faa1ccfc38e07a0fd710901e",
  "_filesize": 280356,
  "_sha256": "b0b5cee238961540158916be6ee2b532e26abd60faa1ccfc38e07a0fd710901e",
  "_expires": "2026-10-23T06:54:31.000Z",
  "_created": "2026-07-15T06:50:23.000Z",
  "_published": "2026-07-15T06:54:33.619Z",
  "_jobs": [
    {
      "job": 87287704901,
      "time": 199,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8334964207"
    },
    {
      "job": 87287704953,
      "time": 146,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8334945717"
    },
    {
      "job": 87287704912,
      "time": 131,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8334934440"
    },
    {
      "job": 87287704905,
      "time": 125,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8334931169"
    },
    {
      "job": 87287054347,
      "time": 241,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8334890588"
    },
    {
      "job": 87287704890,
      "time": 114,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8334933199"
    },
    {
      "job": 87287704917,
      "time": 90,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8334924828"
    },
    {
      "job": 87287704943,
      "time": 97,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8334927637"
    },
    {
      "job": 87287704980,
      "time": 97,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8334927560"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/tingram/actions/runs/29395195060",
  "_status": "success",
  "_upstream": "https://github.com/cran/surface",
  "_commit": {
    "id": "8308983b8c3cbe7acb1d8996231a6748a1995f1b",
    "author": "Travis Ingram <travis.ingram@otago.ac.nz>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.6\n",
    "time": 1724122510
  },
  "_maintainer": {
    "name": "Travis Ingram",
    "email": "travis.ingram@otago.ac.nz",
    "login": "tingram",
    "description": "",
    "uuid": 6834511
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.6",
      "role": "Depends"
    },
    {
      "package": "ape",
      "role": "Depends"
    },
    {
      "package": "ouch",
      "role": "Depends"
    },
    {
      "package": "MASS",
      "role": "Depends"
    },
    {
      "package": "geiger",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "phytools",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "tingram",
      "count": 4,
      "uuid": 6834511
    }
  ],
  "_userbio": {
    "uuid": 6834511,
    "type": "user",
    "name": "Travis Ingram",
    "followers": 1
  },
  "_downloads": {
    "count": 323,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/surface"
  },
  "_mentions": 7,
  "_searchresults": 25,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/surface.html",
    "manual.pdf"
  ],
  "_realowner": "tingram",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.2",
      "date": "2013-01-04"
    },
    {
      "version": "0.3",
      "date": "2013-02-21"
    },
    {
      "version": "0.4",
      "date": "2013-11-01"
    },
    {
      "version": "0.4-1",
      "date": "2014-02-14"
    },
    {
      "version": "0.5",
      "date": "2020-12-18"
    },
    {
      "version": "0.6",
      "date": "2024-08-19"
    }
  ],
  "_exports": [
    "addRegime",
    "collapseRegimes",
    "convertBack",
    "convertTreeData",
    "getAIC",
    "getBranchTimes",
    "nameNodes",
    "npSurface",
    "ouchDescendants",
    "propRegMatch",
    "repaint",
    "runSurface",
    "startingModel",
    "surfaceAICMultiPlot",
    "surfaceAICPlot",
    "surfaceBackward",
    "surfaceForward",
    "surfaceSimulate",
    "surfaceSummary",
    "surfaceTraitPlot",
    "surfaceTreePlot"
  ],
  "_datasets": [
    {
      "name": "surfaceDemo",
      "title": "Tree and Data for Demonstrating SURFACE",
      "object": "surfaceDemo",
      "file": "surfaceDemo.RData",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "surface-package",
      "title": "Fitting Hansen Models to Investigate Convergent Evolution",
      "topics": [
        "surface-package",
        "surface"
      ]
    },
    {
      "page": "convertTreeData",
      "title": "Utilities for Formatting Objects for SURFACE Analysis",
      "topics": [
        "convertBack",
        "convertTreeData",
        "nameNodes"
      ]
    },
    {
      "page": "getAIC",
      "title": "Akaike's Information Criterion for SURFACE Models",
      "topics": [
        "getAIC",
        "npSurface"
      ]
    },
    {
      "page": "getBranchTimes",
      "title": "Extract Branching Times from an 'ouch' Tree",
      "topics": [
        "getBranchTimes"
      ]
    },
    {
      "page": "ouchDescendants",
      "title": "Obtain Descendants from an 'ouch' Tree",
      "topics": [
        "ouchDescendants"
      ]
    },
    {
      "page": "propRegMatch",
      "title": "Similarity of Two Hansen Models",
      "topics": [
        "propRegMatch"
      ]
    },
    {
      "page": "repaint",
      "title": "Paint the Branches of a Tree",
      "topics": [
        "repaint"
      ]
    },
    {
      "page": "runSurface",
      "title": "Run All Steps of a SURFACE Analysis",
      "topics": [
        "runSurface"
      ]
    },
    {
      "page": "startingModel",
      "title": "Create an Initial Model for a SURFACE Analysis",
      "topics": [
        "startingModel"
      ]
    },
    {
      "page": "surfaceAICPlot",
      "title": "Plot the AIC Throughout a SURFACE Analysis",
      "topics": [
        "surfaceAICMultiPlot",
        "surfaceAICPlot"
      ]
    },
    {
      "page": "surfaceBackward",
      "title": "Collapsing Convergent Regimes in a Hansen Model",
      "topics": [
        "collapseRegimes",
        "surfaceBackward"
      ]
    },
    {
      "page": "surfaceDemo",
      "title": "Tree and Data for Demonstrating SURFACE",
      "topics": [
        "surfaceDemo"
      ]
    },
    {
      "page": "surfaceForward",
      "title": "Adding Regimes to a Hansen Model",
      "topics": [
        "addRegime",
        "surfaceForward"
      ]
    },
    {
      "page": "surfaceSimulate",
      "title": "Simulate Data for SURFACE",
      "topics": [
        "surfaceSimulate"
      ]
    },
    {
      "page": "surfaceSummary",
      "title": "Summarize SURFACE Output",
      "topics": [
        "surfaceSummary"
      ]
    },
    {
      "page": "surfaceTreePlot",
      "title": "Visualize Results of a SURFACE Analysis",
      "topics": [
        "surfaceTraitPlot",
        "surfaceTreePlot"
      ]
    }
  ],
  "_rundeps": [
    "ape",
    "cli",
    "clusterGeneration",
    "coda",
    "codetools",
    "colorspace",
    "combinat",
    "cpp11",
    "DEoptim",
    "deSolve",
    "digest",
    "doParallel",
    "expm",
    "fastmatch",
    "foreach",
    "geiger",
    "generics",
    "glue",
    "igraph",
    "iterators",
    "lattice",
    "lifecycle",
    "magrittr",
    "maps",
    "MASS",
    "Matrix",
    "mnormt",
    "mvtnorm",
    "ncbit",
    "nlme",
    "numDeriv",
    "optimParallel",
    "ouch",
    "phangorn",
    "phytools",
    "pkgconfig",
    "quadprog",
    "Rcpp",
    "rlang",
    "scatterplot3d",
    "subplex",
    "vctrs"
  ],
  "_vignettes": [
    {
      "source": "surface_tutorial.Rnw",
      "filename": "surface_tutorial.pdf",
      "title": "Introduction to surface",
      "engine": "utils::Sweave",
      "headings": [],
      "created": "2012-12-23",
      "modified": "2020-12-18 12:20:02",
      "commits": 4
    }
  ],
  "_score": 3.2430380486862944,
  "_indexed": true,
  "_nocasepkg": "surface",
  "_universes": [
    "tingram"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6",
      "date": "2026-07-15T06:53:26.000Z",
      "distro": "resolute",
      "commit": "8308983b8c3cbe7acb1d8996231a6748a1995f1b",
      "fileid": "https://r2.ropensci.org/1311b328f9af7a641132c43b8b518b192c943b73e1104ce5a5ce998949e11833",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tingram/actions/runs/29395195060"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.6",
      "date": "2026-07-15T06:52:35.000Z",
      "distro": "resolute",
      "commit": "8308983b8c3cbe7acb1d8996231a6748a1995f1b",
      "fileid": "https://r2.ropensci.org/1b9557df3338bd853d35f77aafc0b01241731f04abd6d812eed98d47c00cea41",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tingram/actions/runs/29395195060"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6",
      "date": "2026-07-15T06:52:22.000Z",
      "commit": "8308983b8c3cbe7acb1d8996231a6748a1995f1b",
      "fileid": "https://r2.ropensci.org/e41712f76e9872e132ce97eae2c72336715f88c6574e77213765ec29603ed8bb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tingram/actions/runs/29395195060"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.6",
      "date": "2026-07-15T06:52:11.000Z",
      "commit": "8308983b8c3cbe7acb1d8996231a6748a1995f1b",
      "fileid": "https://r2.ropensci.org/0ff3f8886b731203565bcf55d07ea7555423a5168cb94019dc6c25aa7e3c8530",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tingram/actions/runs/29395195060"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.6",
      "date": "2026-07-15T06:52:39.000Z",
      "commit": "8308983b8c3cbe7acb1d8996231a6748a1995f1b",
      "fileid": "https://r2.ropensci.org/1106928783388d08a497de57c7b30facc8da0ec3199da6094ff402dce000230c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/tingram/actions/runs/29395195060"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6",
      "date": "2026-07-15T06:51:36.000Z",
      "commit": "8308983b8c3cbe7acb1d8996231a6748a1995f1b",
      "fileid": "https://r2.ropensci.org/ec529d79e236be5521fe7074f5c91ded8b94f426bf18080d31016b016767bc85",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tingram/actions/runs/29395195060"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.6",
      "date": "2026-07-15T06:51:38.000Z",
      "commit": "8308983b8c3cbe7acb1d8996231a6748a1995f1b",
      "fileid": "https://r2.ropensci.org/3d4c5d249e3fbfea8d33ba8c9b944c144f8d78e8b22551fc31920c8790600bbc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tingram/actions/runs/29395195060"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.6",
      "date": "2026-07-15T06:51:37.000Z",
      "commit": "8308983b8c3cbe7acb1d8996231a6748a1995f1b",
      "fileid": "https://r2.ropensci.org/96efc6d6e03ae0fb4dc0c2515a8e86ac02a2b5180c74c4d8ac457c103eda144a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tingram/actions/runs/29395195060"
    }
  ]
}