{
  "_id": "6a4255214ba05a737d8a4ee2",
  "Package": "rtrees",
  "Title": "Deriving Phylogenies from Synthesis Trees",
  "Version": "2.0.2",
  "Authors@R": "person(given = \"Daijiang\",\nfamily = \"Li\",\nrole = c(\"aut\", \"cre\"),\nemail = \"daijianglee@gmail.com\",\ncomment = c(ORCID = \"0000-0002-0925-3421\"))",
  "Description": "Provides tools to derive species-level phylogenies from\nlarge synthesis mega-trees for a wide range of taxonomic\ngroups, including plants, birds, mammals, amphibians, reptiles,\nfish, bees, butterflies, and sharks. When a queried species is\nabsent from the mega-tree, it is grafted onto the tree using\none of two placement strategies: attachment at the basal node\nof the most closely related genus or family ('at_basal_node'),\nor random attachment below that basal node with probability\nproportional to branch length ('random_below_basal'). See Li\n(2023) <doi:10.1111/ecog.06643> for details. Multiple species\nfrom a genus not represented in the mega-tree are placed as a\npolytomy to preserve clade coherence. The package interfaces\nwith the 'megatrees' data package, which bundles or downloads\non demand curated mega-trees. Users can also provide their own\nmega-trees.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "URL": "https://daijiang.github.io/rtrees/",
  "VignetteBuilder": "knitr, R.rsp",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev",
  "Repository": "https://daijiang.r-universe.dev",
  "Date/Publication": "2026-06-05 15:39:39 UTC",
  "RemoteUrl": "https://github.com/daijiang/rtrees",
  "RemoteRef": "HEAD",
  "RemoteSha": "82bd94d32b49f380ccff1a8646e77abafaef2ae1",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-29 11:11:55 UTC",
    "User": "root"
  },
  "Author": "Daijiang Li [aut, cre] (ORCID: <https://orcid.org/0000-0002-0925-3421>)",
  "Maintainer": "Daijiang Li <daijianglee@gmail.com>",
  "MD5sum": "00a57cd74cdc36329310a82b2737cf4a",
  "_user": "daijiang",
  "_type": "src",
  "_file": "rtrees_2.0.2.tar.gz",
  "_fileid": "d931c0a89d03d4bb70ed2b60093965fe7899c070ee940598e04c611a8e311243",
  "_filesize": 1989240,
  "_sha256": "d931c0a89d03d4bb70ed2b60093965fe7899c070ee940598e04c611a8e311243",
  "_created": "2026-06-29T11:11:55.000Z",
  "_published": "2026-06-29T11:21:05.393Z",
  "_distro": "resolute",
  "_jobs": [
    {
      "job": 84038091238,
      "time": 231,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7950221638"
    },
    {
      "job": 84038091246,
      "time": 246,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7950225572"
    },
    {
      "job": 84038091252,
      "time": 258,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "7950226938"
    },
    {
      "job": 84038091260,
      "time": 244,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "7950225488"
    },
    {
      "job": 84038091261,
      "time": 166,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7950196618"
    },
    {
      "job": 84038091283,
      "time": 297,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7950243600"
    },
    {
      "job": 84038091237,
      "time": 188,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "7950204184"
    },
    {
      "job": 84038091249,
      "time": 500,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "7950316059"
    },
    {
      "job": 84037412255,
      "time": 228,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "7950136038"
    },
    {
      "job": 84038091206,
      "time": 162,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7950195543"
    },
    {
      "job": 84038091212,
      "time": 180,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7950201871"
    },
    {
      "job": 84038091224,
      "time": 180,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7950202090"
    },
    {
      "job": 84038091244,
      "time": 182,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "7950202166"
    }
  ],
  "_buildurl": "https://github.com/r-universe/daijiang/actions/runs/28367622655",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/daijiang/rtrees",
  "_commit": {
    "id": "82bd94d32b49f380ccff1a8646e77abafaef2ae1",
    "author": "daijiang <daijianglee@gmail.com>",
    "committer": "daijiang <daijianglee@gmail.com>",
    "message": "remove donntrun\n",
    "time": 1780673979
  },
  "_maintainer": {
    "name": "Daijiang Li",
    "email": "daijianglee@gmail.com",
    "login": "daijiang",
    "description": "",
    "uuid": 1696911,
    "orcid": "0000-0002-0925-3421"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "ape",
      "role": "Imports"
    },
    {
      "package": "tidytree",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "castor",
      "role": "Imports"
    },
    {
      "package": "furrr",
      "role": "Imports"
    },
    {
      "package": "future",
      "role": "Imports"
    },
    {
      "package": "megatrees",
      "version": ">= 0.1.3",
      "role": "Imports"
    },
    {
      "package": "fastmatch",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "piggyback",
      "role": "Suggests"
    },
    {
      "package": "R.rsp",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    }
  ],
  "_owner": "daijiang",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-32",
      "n": 4
    },
    {
      "week": "2026-11",
      "n": 1
    },
    {
      "week": "2026-18",
      "n": 4
    },
    {
      "week": "2026-20",
      "n": 2
    },
    {
      "week": "2026-21",
      "n": 9
    },
    {
      "week": "2026-22",
      "n": 3
    },
    {
      "week": "2026-23",
      "n": 2
    }
  ],
  "_tags": [],
  "_topics": [
    "phylogenetic-trees",
    "cpp"
  ],
  "_stars": 36,
  "_contributors": [
    {
      "user": "daijiang",
      "count": 109,
      "uuid": 1696911
    }
  ],
  "_userbio": {
    "uuid": 1696911,
    "type": "user",
    "name": "Daijiang Li",
    "followers": 143
  },
  "_downloads": {
    "count": 274,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rtrees"
  },
  "_devurl": "https://github.com/daijiang/rtrees",
  "_pkgdown": "https://daijiang.github.io/rtrees/",
  "_searchresults": 95,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/rtrees.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/daijiang/rtrees",
  "_realowner": "daijiang",
  "_cranurl": true,
  "_releases": [
    {
      "version": "2.0.2",
      "date": "2026-06-11"
    }
  ],
  "_exports": [
    "add_root_info",
    "bind_tip",
    "bind_tip_df",
    "get_graft_status",
    "get_one_tree",
    "get_tree",
    "rm_stars",
    "sp_list_df"
  ],
  "_datasets": [
    {
      "name": "classifications",
      "title": "Classifications of species",
      "object": "classifications",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "genus",
        "family",
        "taxon"
      ],
      "rows": 54580,
      "table": true,
      "tojson": true
    },
    {
      "name": "taxa_supported",
      "title": "Taxonomic groups supported",
      "object": "taxa_supported",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "add_root_info",
      "title": "Add genus and family basal/root node information to a phylogeny",
      "topics": [
        "add_root_info"
      ]
    },
    {
      "page": "bind_tip",
      "title": "Bind a tip to a phylogeny",
      "topics": [
        "bind_tip"
      ]
    },
    {
      "page": "bind_tip_df",
      "title": "Bind a tip to a phylogeny (data frame version)",
      "topics": [
        "bind_tip_df"
      ]
    },
    {
      "page": "classifications",
      "title": "Classifications of species",
      "topics": [
        "classifications"
      ]
    },
    {
      "page": "get_graft_status",
      "title": "Extract grafting status information as a data frame",
      "topics": [
        "get_graft_status"
      ]
    },
    {
      "page": "get_one_tree",
      "title": "Derive a phylogeny from a mega-tree",
      "topics": [
        "get_one_tree"
      ]
    },
    {
      "page": "get_tree",
      "title": "Get one or multiple trees from megatree(s)",
      "topics": [
        "get_tree"
      ]
    },
    {
      "page": "rm_stars",
      "title": "Remove trailing *",
      "topics": [
        "rm_stars"
      ]
    },
    {
      "page": "sp_list_df",
      "title": "Convert a vector of species names to a data frame",
      "topics": [
        "sp_list_df"
      ]
    },
    {
      "page": "taxa_supported",
      "title": "Taxonomic groups supported",
      "topics": [
        "taxa_supported"
      ]
    }
  ],
  "_readme": "https://github.com/daijiang/rtrees/raw/HEAD/README.md",
  "_rundeps": [
    "ape",
    "castor",
    "cli",
    "codetools",
    "cpp11",
    "data.table",
    "digest",
    "dplyr",
    "fastmatch",
    "fs",
    "furrr",
    "future",
    "generics",
    "globals",
    "glue",
    "jsonlite",
    "lattice",
    "lazyeval",
    "lifecycle",
    "listenv",
    "magrittr",
    "Matrix",
    "megatrees",
    "naturalsort",
    "nlme",
    "parallelly",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rappdirs",
    "Rcpp",
    "RcppEigen",
    "rlang",
    "RSpectra",
    "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"
    }
  ],
  "_vignettes": [
    {
      "source": "grafting_scenarios.html.asis",
      "filename": "grafting_scenarios.html",
      "title": "grafting_scenarios",
      "engine": "R.rsp::asis",
      "headings": [
        "Grafting Scenarios"
      ],
      "created": "2026-05-25 16:14:09",
      "modified": "2026-05-25 16:14:09",
      "commits": 1
    },
    {
      "source": "Non-monophyletic-groups.html.asis",
      "filename": "Non-monophyletic-groups.html",
      "title": "Non-monophyletic-groups",
      "engine": "R.rsp::asis",
      "headings": [
        "Non-monophyletic genera"
      ],
      "created": "2026-05-25 16:14:09",
      "modified": "2026-05-25 16:14:09",
      "commits": 1
    },
    {
      "source": "Simple_example.html.asis",
      "filename": "Simple_example.html",
      "title": "Simple_example",
      "engine": "R.rsp::asis",
      "headings": [
        "Simple example"
      ],
      "created": "2026-05-18 15:09:56",
      "modified": "2026-05-18 15:09:56",
      "commits": 1
    },
    {
      "source": "speed.Rmd",
      "filename": "speed.html",
      "title": "Speed comparisons",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2023-01-03 22:34:01",
      "modified": "2026-05-18 19:54:20",
      "commits": 6
    }
  ],
  "_score": 7.6801541417343735,
  "_indexed": true,
  "_nocasepkg": "rtrees",
  "_universes": [
    "daijiang"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.2",
      "date": "2026-06-29T11:15:11.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "82bd94d32b49f380ccff1a8646e77abafaef2ae1",
      "fileid": "1e5512570a32c8165d264fefac6fa872406e4e70eb8bce8fc5c832ec9e747d5c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daijiang/actions/runs/28367622655"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.2",
      "date": "2026-06-29T11:15:11.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "82bd94d32b49f380ccff1a8646e77abafaef2ae1",
      "fileid": "b4b8acfb88aea2a139d533ecc4dc83538fe5bf91d461f5ed5a60223c05f09789",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daijiang/actions/runs/28367622655"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.0.2",
      "date": "2026-06-29T11:15:21.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "82bd94d32b49f380ccff1a8646e77abafaef2ae1",
      "fileid": "b0a6c924a847ad20fc09a9574d7702646624b7b1e876842b93b5c06a48683c32",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daijiang/actions/runs/28367622655"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.0.2",
      "date": "2026-06-29T11:15:13.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "82bd94d32b49f380ccff1a8646e77abafaef2ae1",
      "fileid": "edd0509139a10c1aeec8ef98a2ce4bd49bd5c40b2eb28a5096b1e4f39e7b270a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daijiang/actions/runs/28367622655"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.2",
      "date": "2026-06-29T11:13:50.000Z",
      "arch": "aarch64",
      "commit": "82bd94d32b49f380ccff1a8646e77abafaef2ae1",
      "fileid": "14e1963f844aef966fe6f732ab4ec1241f89f64c827e393d5a3e0cc0e84e5fc2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daijiang/actions/runs/28367622655"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.2",
      "date": "2026-06-29T11:15:05.000Z",
      "arch": "x86_64",
      "commit": "82bd94d32b49f380ccff1a8646e77abafaef2ae1",
      "fileid": "21c16c5a8c7ad3027a37a8fea295bf009fa5638e4ad601ba7d99fbd0e076ee29",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daijiang/actions/runs/28367622655"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.0.2",
      "date": "2026-06-29T11:14:06.000Z",
      "arch": "aarch64",
      "commit": "82bd94d32b49f380ccff1a8646e77abafaef2ae1",
      "fileid": "4585cd88b68efcfcf1a0446ac12e3ba90542fa77691a1abc3433d03c62d488ff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daijiang/actions/runs/28367622655"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.0.2",
      "date": "2026-06-29T11:17:19.000Z",
      "arch": "x86_64",
      "commit": "82bd94d32b49f380ccff1a8646e77abafaef2ae1",
      "fileid": "13cb47c86d6857e9796ec1fd902bf5140049caebbe0e97f24a1452626e23e42d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daijiang/actions/runs/28367622655"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.0.2",
      "date": "2026-06-29T11:14:58.000Z",
      "arch": "emscripten",
      "commit": "82bd94d32b49f380ccff1a8646e77abafaef2ae1",
      "fileid": "dc7a1cd83cb9fe2b3a5f9dd93fb6d640b7f44cca058c2a19da0e305107e469d5",
      "status": "success",
      "buildurl": "https://github.com/r-universe/daijiang/actions/runs/28367622655"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.2",
      "date": "2026-06-29T11:13:26.000Z",
      "arch": "x86_64",
      "commit": "82bd94d32b49f380ccff1a8646e77abafaef2ae1",
      "fileid": "284065620cea6b641464821c3795c3dd59da7c05a4810b74d6c31fa0bbc0bdf5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daijiang/actions/runs/28367622655"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.0.2",
      "date": "2026-06-29T11:13:35.000Z",
      "arch": "x86_64",
      "commit": "82bd94d32b49f380ccff1a8646e77abafaef2ae1",
      "fileid": "81c37a9590eb697f0ced9f0fa48f4584181a1f3edb523321de91ba9843c2606a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daijiang/actions/runs/28367622655"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.0.2",
      "date": "2026-06-29T11:13:31.000Z",
      "arch": "x86_64",
      "commit": "82bd94d32b49f380ccff1a8646e77abafaef2ae1",
      "fileid": "2794a04e01018cb29a39567f74badec8b8fabd94998b5ee5ed59ba819025cda8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daijiang/actions/runs/28367622655"
    }
  ]
}