{
  "_id": "6acdfcb9a14063b82c3ae026",
  "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-10-13 09:32:00 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/68573c3cf573b1499250583ccb9e0a9539b709140125cfcae9940c45a128cea3",
  "_filesize": 278957,
  "_sha256": "68573c3cf573b1499250583ccb9e0a9539b709140125cfcae9940c45a128cea3",
  "_expires": "2027-01-21T09:41:11.000Z",
  "_created": "2026-10-13T09:32:00.000Z",
  "_published": "2026-10-13T09:41:13.346Z",
  "_buildurl": "https://github.com/r-universe/tingram/actions/runs/38376458887",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115227924162,
      "time": 134,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11801164119"
    },
    {
      "job": 115227924235,
      "time": 128,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11801877263"
    },
    {
      "job": 115227924079,
      "time": 203,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11802440040"
    },
    {
      "job": 115227924116,
      "time": 173,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11801758702"
    },
    {
      "job": 115226084461,
      "time": 263,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11800943985"
    },
    {
      "job": 115227924280,
      "time": 109,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11802115016"
    },
    {
      "job": 115227924245,
      "time": 98,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11800984192"
    },
    {
      "job": 115227924261,
      "time": 90,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11800749832"
    },
    {
      "job": 115227924336,
      "time": 105,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11801537850"
    }
  ],
  "_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": 324,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/surface"
  },
  "_mentions": 7,
  "_searchresults": 31,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/surface.html"
  ],
  "_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.3364597338485296,
  "_indexed": true,
  "_nocasepkg": "surface",
  "_universes": [
    "tingram"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6",
      "date": "2026-10-13T09:33:57.000Z",
      "distro": "resolute",
      "commit": "8308983b8c3cbe7acb1d8996231a6748a1995f1b",
      "fileid": "https://r2.ropensci.org/52a53b46b7ee4b5646cec106e909de5e7697c70eea0316700f8b73a251c5a301",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tingram/actions/runs/38376458887"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.6",
      "date": "2026-10-13T09:33:55.000Z",
      "distro": "resolute",
      "commit": "8308983b8c3cbe7acb1d8996231a6748a1995f1b",
      "fileid": "https://r2.ropensci.org/ff2216700bed8974810c15a396acd73f9d212146de531429f5ca05de5df1c717",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tingram/actions/runs/38376458887"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6",
      "date": "2026-10-13T09:39:54.000Z",
      "commit": "8308983b8c3cbe7acb1d8996231a6748a1995f1b",
      "fileid": "https://r2.ropensci.org/0d7b133a75114efd735be753c2a16b35bed9f96ae543a472971b510cfb6021fd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tingram/actions/runs/38376458887"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.6",
      "date": "2026-10-13T09:37:30.000Z",
      "commit": "8308983b8c3cbe7acb1d8996231a6748a1995f1b",
      "fileid": "https://r2.ropensci.org/23e7dee6047ec79340fb656ea0645d369b302a11692225eb037363cb2130c2ed",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tingram/actions/runs/38376458887"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.6",
      "date": "2026-10-13T09:34:10.000Z",
      "commit": "8308983b8c3cbe7acb1d8996231a6748a1995f1b",
      "fileid": "https://r2.ropensci.org/1b5fc9895693b0f3683d2fddf7232ea4908b72475d4cdac4c9c334d942ce5316",
      "status": "success",
      "buildurl": "https://github.com/r-universe/tingram/actions/runs/38376458887"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6",
      "date": "2026-10-13T09:33:12.000Z",
      "commit": "8308983b8c3cbe7acb1d8996231a6748a1995f1b",
      "fileid": "https://r2.ropensci.org/9198909d6343b916fdc987460368309819c408bb35bf57c294f0ef7f07111858",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tingram/actions/runs/38376458887"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.6",
      "date": "2026-10-13T09:33:11.000Z",
      "commit": "8308983b8c3cbe7acb1d8996231a6748a1995f1b",
      "fileid": "https://r2.ropensci.org/ccd99a9c3823862d503896739a49a243405d48ec256599cfa2ff961eb249f30b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tingram/actions/runs/38376458887"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.6",
      "date": "2026-10-13T09:33:11.000Z",
      "commit": "8308983b8c3cbe7acb1d8996231a6748a1995f1b",
      "fileid": "https://r2.ropensci.org/98630f75504abe84a3ce7d7b537b566a039e1a27cc45d1349334d65358c9cb36",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tingram/actions/runs/38376458887"
    }
  ]
}