{
  "_id": "6af5dbccbe2268deb4a3dc50",
  "Package": "treelayout",
  "Title": "Tree Layout Algorithms for Phylogenetic Trees and Other\nTree-Like Structures",
  "Version": "0.1.0.004",
  "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",
  "Roxygen": "list(markdown = TRUE)",
  "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",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev",
  "Repository": "https://yulab-smu.r-universe.dev",
  "Date/Publication": "2026-10-27 02:04:14 UTC",
  "RemoteUrl": "https://github.com/yulab-smu/treelayout",
  "RemoteRef": "HEAD",
  "RemoteSha": "6eae07aaf3d016b39fbb47855980af78d2e21fac",
  "Packaged": {
    "Date": "2026-11-12 15:03:35 UTC",
    "User": "root"
  },
  "Author": "Guangchuang Yu [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-6485-8781>)",
  "Maintainer": "Guangchuang Yu <guangchuangyu@gmail.com>",
  "_user": "yulab-smu",
  "_type": "src",
  "_file": "treelayout_0.1.0.004.tar.gz",
  "_fileid": "https://r2.ropensci.org/543d46bde8ddb05211cde833bab738d7a7566e9088eeeda705fd3c0ab41a3c42",
  "_filesize": 147908,
  "_sha256": "543d46bde8ddb05211cde833bab738d7a7566e9088eeeda705fd3c0ab41a3c42",
  "_expires": "2027-02-20T15:31:22.000Z",
  "_created": "2026-11-12T15:03:35.000Z",
  "_published": "2026-11-12T15:31:24.557Z",
  "_upstream": "https://github.com/yulab-smu/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": 131270851446,
      "time": 130,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13956745634"
    },
    {
      "job": 131270851433,
      "time": 154,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13955742804"
    },
    {
      "job": 131270851577,
      "time": 125,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13954764776"
    },
    {
      "job": 131270851715,
      "time": 204,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13955108388"
    },
    {
      "job": 131270849273,
      "time": 143,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13957306657"
    },
    {
      "job": 131270849486,
      "time": 366,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13957377578"
    },
    {
      "job": 131270849346,
      "time": 135,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13958345452"
    },
    {
      "job": 131270849258,
      "time": 430,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13958591837"
    },
    {
      "job": 131268965692,
      "time": 177,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13956481826"
    },
    {
      "job": 131270849058,
      "time": 90,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13955158332"
    },
    {
      "job": 131270849323,
      "time": 381,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13956895755"
    },
    {
      "job": 131270849391,
      "time": 233,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13955533279"
    },
    {
      "job": 131270849245,
      "time": 251,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13956850723"
    },
    {
      "job": 131270849362,
      "time": 412,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13955448640"
    },
    {
      "job": 131270849316,
      "time": 173,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13955708019"
    }
  ],
  "_buildurl": "https://github.com/r-universe/yulab-smu/actions/runs/43243164525",
  "_commit": {
    "id": "6eae07aaf3d016b39fbb47855980af78d2e21fac",
    "author": "Guangchuang Yu <guangchuangyu@gmail.com>",
    "committer": "Guangchuang Yu <guangchuangyu@gmail.com>",
    "message": "bump to 0.1.0.004\n",
    "time": 1793066654
  },
  "_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": "yulab-smu",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-43",
      "n": 7
    },
    {
      "week": "2026-44",
      "n": 30
    }
  ],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "guangchuangyu",
      "count": 37,
      "uuid": 626539
    }
  ],
  "_userbio": {
    "uuid": 40430016,
    "type": "organization",
    "name": "Bioinformatics Group @ SMU",
    "followers": 733,
    "description": "Research group led by Prof. Guangchuang Yu in School of Basic Medical Sciences, Southern Medical University"
  },
  "_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/readme.html",
    "extra/readme.md",
    "extra/treelayout.html"
  ],
  "_homeurl": "https://github.com/yulab-smu/treelayout",
  "_realowner": "yulab-smu",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-11-11"
    }
  ],
  "_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"
      ]
    }
  ],
  "_readme": "https://github.com/yulab-smu/treelayout/raw/HEAD/README.md",
  "_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": 3,
  "_indexed": true,
  "_nocasepkg": "treelayout",
  "_universes": [
    "yulab-smu",
    "guangchuangyu"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0.004",
      "date": "2026-11-12T15:05:30.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "6eae07aaf3d016b39fbb47855980af78d2e21fac",
      "fileid": "https://r2.ropensci.org/a0e95326f2e3dd5d1b5d0da9e70d73cf96ca2676a6c049b84cd2c4e2b6142bea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yulab-smu/actions/runs/43243164525"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0.004",
      "date": "2026-11-12T15:05:41.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "6eae07aaf3d016b39fbb47855980af78d2e21fac",
      "fileid": "https://r2.ropensci.org/dabe996538dcf706ecc71f3319199f6a25f3b95ab839857df9476751574e26c7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yulab-smu/actions/runs/43243164525"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.0.004",
      "date": "2026-11-12T15:05:27.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "6eae07aaf3d016b39fbb47855980af78d2e21fac",
      "fileid": "https://r2.ropensci.org/7c66308e12b4cef2a7f45a93cbb61422876d776bac6ab2da2f3073e86ea9a5bf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yulab-smu/actions/runs/43243164525"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.0.004",
      "date": "2026-11-12T15:06:43.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "6eae07aaf3d016b39fbb47855980af78d2e21fac",
      "fileid": "https://r2.ropensci.org/ca731252210f1cb504f96b4b87d7e89b208a3a098c5cda75c12f16f44626f178",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yulab-smu/actions/runs/43243164525"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0.004",
      "date": "2026-11-12T15:24:24.000Z",
      "arch": "aarch64",
      "commit": "6eae07aaf3d016b39fbb47855980af78d2e21fac",
      "fileid": "https://r2.ropensci.org/a60c0346097bd2ba05402e22384fc5f87b4682672d172c1d4466c85c15194e67",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yulab-smu/actions/runs/43243164525"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0.004",
      "date": "2026-11-12T15:28:22.000Z",
      "arch": "x86_64",
      "commit": "6eae07aaf3d016b39fbb47855980af78d2e21fac",
      "fileid": "https://r2.ropensci.org/a35c2e17d614515181342c8877ba9f29051f8ddfea991c2238f20bd224850017",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yulab-smu/actions/runs/43243164525"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.1.0.004",
      "date": "2026-11-12T15:20:33.000Z",
      "arch": "aarch64",
      "commit": "6eae07aaf3d016b39fbb47855980af78d2e21fac",
      "fileid": "https://r2.ropensci.org/14f05b57cb975583605471d22181f83fb6e293cca53407020ac251ed78feeb7a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yulab-smu/actions/runs/43243164525"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.1.0.004",
      "date": "2026-11-12T15:27:33.000Z",
      "arch": "x86_64",
      "commit": "6eae07aaf3d016b39fbb47855980af78d2e21fac",
      "fileid": "https://r2.ropensci.org/61d368fea4a632c6d5b9a46581cb601ca400bc15ca7f65ff8bf8faa6c5cfe690",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yulab-smu/actions/runs/43243164525"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0.004",
      "date": "2026-11-12T15:05:32.000Z",
      "arch": "emscripten",
      "commit": "6eae07aaf3d016b39fbb47855980af78d2e21fac",
      "fileid": "https://r2.ropensci.org/ef3dadc38c19432d7e9327e91d3bc7e68f219d1050b5c1b39dbcef5cc095a50a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/yulab-smu/actions/runs/43243164525"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0.004",
      "date": "2026-11-12T15:08:38.000Z",
      "arch": "aarch64",
      "commit": "6eae07aaf3d016b39fbb47855980af78d2e21fac",
      "fileid": "https://r2.ropensci.org/a6011c2722933060df0d2639b4aab11c6872a4d81192d4eb5977498b6745fb2f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yulab-smu/actions/runs/43243164525"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0.004",
      "date": "2026-11-12T15:05:51.000Z",
      "arch": "x86_64",
      "commit": "6eae07aaf3d016b39fbb47855980af78d2e21fac",
      "fileid": "https://r2.ropensci.org/be868a996aea360d83eae45fc4c341a38ad9b57b8b04387a88e1075de152f7e4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yulab-smu/actions/runs/43243164525"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0.004",
      "date": "2026-11-12T15:06:09.000Z",
      "arch": "x86_64",
      "commit": "6eae07aaf3d016b39fbb47855980af78d2e21fac",
      "fileid": "https://r2.ropensci.org/8840f49c1f58713da4abe1cc38cccde2f2f2251c41b3e80149e59c40caa1ef60",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yulab-smu/actions/runs/43243164525"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.0.004",
      "date": "2026-11-12T15:09:19.000Z",
      "arch": "aarch64",
      "commit": "6eae07aaf3d016b39fbb47855980af78d2e21fac",
      "fileid": "https://r2.ropensci.org/6c7ea76ef1ca81fffee12662b1484abc8cae2064f0daf79c2d599d5935577fcb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yulab-smu/actions/runs/43243164525"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.0.004",
      "date": "2026-11-12T15:05:32.000Z",
      "arch": "x86_64",
      "commit": "6eae07aaf3d016b39fbb47855980af78d2e21fac",
      "fileid": "https://r2.ropensci.org/c960f5a1200a1dbd499917b2879ac8522885c48cab1e670855af6be28a87995f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yulab-smu/actions/runs/43243164525"
    }
  ]
}