{
  "_id": "6af502eab90b31e79afd4d21",
  "Package": "treelayout",
  "Title": "Tree Layout Algorithms for Phylogenetic Trees and Other\nTree-Like Structures",
  "Version": "0.1.0",
  "Authors@R": "c(\nperson(\"Guangchuang\", \"Yu\", email = \"guangchuangyu@gmail.com\",\nrole = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0002-6485-8781\"))\n)",
  "Description": "Computes node coordinates for phylogenetic trees and other\ntree-like structures. Given a tree, returns one row per node\nwith x and y coordinates, ready for plotting by any graphics\nsystem. This is the layout engine used by the 'ggtree' package,\nextracted so that the coordinate computation can be used\nwithout a plotting dependency.",
  "License": "Artistic-2.0",
  "Encoding": "UTF-8",
  "Config/testthat/edition": "3",
  "ByteCompile": "true",
  "URL": "https://github.com/YuLab-SMU/treelayout",
  "BugReports": "https://github.com/YuLab-SMU/treelayout/issues",
  "Config/roxygen2/version": "8.1.1",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-11-12 00:00:53 UTC",
    "User": "root"
  },
  "Author": "Guangchuang Yu [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-6485-8781>)",
  "Maintainer": "Guangchuang Yu <guangchuangyu@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-11-11 22:51:34 UTC",
  "RemoteUrl": "https://github.com/cran/treelayout",
  "RemoteRef": "HEAD",
  "RemoteSha": "cdde181d4af571cfc46f18ace5eb4ca496de1615",
  "_user": "cran",
  "_type": "src",
  "_file": "treelayout_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/cb0ad7398e24fabe65042cd370fff804150e1fa8972b93b15c13a2110526432d",
  "_filesize": 145978,
  "_sha256": "cb0ad7398e24fabe65042cd370fff804150e1fa8972b93b15c13a2110526432d",
  "_expires": "2027-02-20T00:06:00.000Z",
  "_created": "2026-11-12T00:00:53.000Z",
  "_published": "2026-11-12T00:06:02.339Z",
  "_upstream": "https://github.com/cran/treelayout",
  "_status": "success",
  "_maintainer": {
    "name": "Guangchuang Yu",
    "email": "guangchuangyu@gmail.com",
    "login": "guangchuangyu",
    "twitter": "@guangchuangyu",
    "description": "Professor of Bioinformatics at Southern Medical University.",
    "uuid": 626539,
    "orcid": "0000-0002-6485-8781"
  },
  "_jobs": [
    {
      "job": 130871953739,
      "time": 125,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13902775711"
    },
    {
      "job": 130871953783,
      "time": 151,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13902241350"
    },
    {
      "job": 130871953812,
      "time": 122,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13901754698"
    },
    {
      "job": 130871953760,
      "time": 177,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13902905691"
    },
    {
      "job": 130870464436,
      "time": 215,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13901922301"
    },
    {
      "job": 130871953628,
      "time": 101,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13903270206"
    },
    {
      "job": 130871953811,
      "time": 240,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13901922938"
    },
    {
      "job": 130871953876,
      "time": 260,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13902401740"
    },
    {
      "job": 130871953834,
      "time": 244,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13901942792"
    },
    {
      "job": 130871953804,
      "time": 216,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13901724892"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/43123701811",
  "_commit": {
    "id": "cdde181d4af571cfc46f18ace5eb4ca496de1615",
    "author": "Guangchuang Yu <guangchuangyu@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.0\n",
    "time": 1794437494
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "ape",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidytree",
      "version": ">= 0.4.5",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-46",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2026-11-11"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "guangchuangyu",
      "count": 1,
      "uuid": 626539
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 637,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/treelayout"
  },
  "_devurl": "https://github.com/yulab-smu/treelayout",
  "_searchresults": 0,
  "_topics": [
    "cpp"
  ],
  "_abi": {
    "exports": [],
    "imports": [
      {
        "key": "Rcpp::Rcpp_precious_preserve()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::Rcpp_precious_remove()",
        "hash": "63d26947ba7e1377"
      },
      {
        "key": "Rcpp::dataptr()",
        "hash": "54e69ad2e6668c83"
      },
      {
        "key": "Rcpp::demangle()",
        "hash": "b0cfd6754c5ebc4e"
      },
      {
        "key": "Rcpp::enterRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::exitRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::rcpp_get_stack_trace()",
        "hash": "c684a9bbe15cdc52"
      },
      {
        "key": "Rcpp::rcpp_set_stack_trace()",
        "hash": "33a97ea62b293da6"
      }
    ]
  },
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/treelayout.html"
  ],
  "_cranurl": false,
  "_exports": [
    "calculate_angle",
    "calculate_branch_mid",
    "clade_geometry",
    "Date2decimal",
    "decimal2Date",
    "get_layout",
    "getXcoord2",
    "getYcoord",
    "layout_names",
    "re_assign_ycoord_df",
    "tree_layout"
  ],
  "_help": [
    {
      "page": "calculate_angle",
      "title": "Calculate angle coordinates for circular layouts",
      "topics": [
        "calculate_angle"
      ]
    },
    {
      "page": "calculate_branch_mid",
      "title": "Branch mid-point coordinates",
      "topics": [
        "calculate_branch_mid"
      ]
    },
    {
      "page": "clade_geometry",
      "title": "One call instead of three. Returns the left and right boundary angles of the clade subtree, the largest distance from 'node' to any node inside the clade, and the largest distance from the root of the whole tree to any node - the two radii the clade label / hilight code needs.",
      "topics": [
        "clade_geometry"
      ]
    },
    {
      "page": "Date2decimal",
      "title": "convert Date to decimal format, eg \"2014-05-05\" to \"2014.34\"",
      "topics": [
        "Date2decimal"
      ]
    },
    {
      "page": "decimal2Date",
      "title": "convert decimal format to Date, eg \"2014.34\" to \"2014-05-05\"",
      "topics": [
        "decimal2Date"
      ]
    },
    {
      "page": "get_layout",
      "title": "Read the layout recorded on a layout result",
      "topics": [
        "get_layout"
      ]
    },
    {
      "page": "getXcoord2",
      "title": "x coordinates from an edge list",
      "topics": [
        "getXcoord2"
      ]
    },
    {
      "page": "getYcoord",
      "title": "y coordinates for tips",
      "topics": [
        "getYcoord"
      ]
    },
    {
      "page": "layout_names",
      "title": "Layout names accepted by 'tree_layout()'",
      "topics": [
        "layout_names"
      ]
    },
    {
      "page": "re_assign_ycoord_df",
      "title": "Re-assign y coordinates",
      "topics": [
        "re_assign_ycoord_df"
      ]
    },
    {
      "page": "tree_layout",
      "title": "Compute node coordinates for a tree",
      "topics": [
        "tree_layout"
      ]
    }
  ],
  "_rundeps": [
    "ape",
    "cli",
    "cpp11",
    "digest",
    "dplyr",
    "fs",
    "generics",
    "glue",
    "lattice",
    "lazyeval",
    "lifecycle",
    "magrittr",
    "nlme",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rappdirs",
    "Rcpp",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "tidytree",
    "utf8",
    "vctrs",
    "withr",
    "yulab.utils"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 1,
  "_indexed": true,
  "_nocasepkg": "treelayout",
  "_universes": [
    "cran",
    "guangchuangyu",
    "yulab-smu"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-11-12T00:02:43.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "cdde181d4af571cfc46f18ace5eb4ca496de1615",
      "fileid": "https://r2.ropensci.org/88e5d75622d482a5ae307947ec68d547a29060c098ad4d79ab934d63380d352a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43123701811"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-11-12T00:03:18.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "cdde181d4af571cfc46f18ace5eb4ca496de1615",
      "fileid": "https://r2.ropensci.org/477ff94955a1d32cd190ecd36d4d760e16dd507c40ff7d4c5d331f6013a81a07",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43123701811"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-11-12T00:02:41.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "cdde181d4af571cfc46f18ace5eb4ca496de1615",
      "fileid": "https://r2.ropensci.org/04ae791074d9022eae88a4d5b0c454250e697aff5e2e86326d11f8062804876a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43123701811"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-11-12T00:03:26.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "cdde181d4af571cfc46f18ace5eb4ca496de1615",
      "fileid": "https://r2.ropensci.org/dd9e1df3a2da7874f29b3f5b955b28f003b35518c9fe7823cd9f9ded1a8c0149",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43123701811"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-11-12T00:02:58.000Z",
      "arch": "emscripten",
      "commit": "cdde181d4af571cfc46f18ace5eb4ca496de1615",
      "fileid": "https://r2.ropensci.org/cd18d9b781e43677f3a5d05ab42d41c1b3bef40efc7a4e4f9db5fdb7d515e311",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43123701811"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-11-12T00:04:04.000Z",
      "arch": "aarch64",
      "commit": "cdde181d4af571cfc46f18ace5eb4ca496de1615",
      "fileid": "https://r2.ropensci.org/b25ce05babc62d41838ae5d4c800dbd57abedcb442dedba3a9d1be287e4d3747",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43123701811"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-11-12T00:02:53.000Z",
      "arch": "x86_64",
      "commit": "cdde181d4af571cfc46f18ace5eb4ca496de1615",
      "fileid": "https://r2.ropensci.org/71a6e585a1ffe14671f592ae83c45a6c3b4b0c49d09ea6428ac23842f3a25331",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43123701811"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-11-12T00:04:07.000Z",
      "arch": "aarch64",
      "commit": "cdde181d4af571cfc46f18ace5eb4ca496de1615",
      "fileid": "https://r2.ropensci.org/5ffb98010dfa6238a0af8a713557d36862fda568cd5b5c82af792ecf5d96f9cf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43123701811"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-11-12T00:03:20.000Z",
      "arch": "x86_64",
      "commit": "cdde181d4af571cfc46f18ace5eb4ca496de1615",
      "fileid": "https://r2.ropensci.org/37ac8134ae8c9aa625f1598ba36456e089df8dc71667c36c147480fc77ea77c2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43123701811"
    }
  ]
}