{
  "_id": "6adac8af2ccc51e6c64e5565",
  "Package": "rtrees",
  "Title": "Deriving Phylogenies from Synthesis Trees",
  "Version": "2.0.3",
  "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-10-23 01:50:28 UTC",
  "RemoteUrl": "https://github.com/daijiang/rtrees",
  "RemoteRef": "HEAD",
  "RemoteSha": "3a3081da1d68754f4a956210b065b5ae731e83fa",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-23 02:27:50 UTC",
    "User": "root"
  },
  "Author": "Daijiang Li [aut, cre] (ORCID: <https://orcid.org/0000-0002-0925-3421>)",
  "Maintainer": "Daijiang Li <daijianglee@gmail.com>",
  "_user": "daijiang",
  "_type": "src",
  "_file": "rtrees_2.0.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/5fe8c9e4863a55891510a940227462aea4c1f3a83eb0033122286590b5549710",
  "_filesize": 1982753,
  "_sha256": "5fe8c9e4863a55891510a940227462aea4c1f3a83eb0033122286590b5549710",
  "_expires": "2027-01-31T02:38:36.000Z",
  "_created": "2026-10-23T02:27:50.000Z",
  "_published": "2026-10-23T02:38:38.993Z",
  "_upstream": "https://github.com/daijiang/rtrees",
  "_status": "success",
  "_maintainer": {
    "name": "Daijiang Li",
    "email": "daijianglee@gmail.com",
    "login": "daijiang",
    "description": "",
    "uuid": 1696911,
    "orcid": "0000-0002-0925-3421"
  },
  "_jobs": [
    {
      "job": 120206363601,
      "time": 188,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12474417097"
    },
    {
      "job": 120206363621,
      "time": 252,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12474640777"
    },
    {
      "job": 120206363659,
      "time": 199,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12473619147"
    },
    {
      "job": 120206363672,
      "time": 179,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12474651070"
    },
    {
      "job": 120206363726,
      "time": 196,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12473734808"
    },
    {
      "job": 120206363615,
      "time": 601,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12473978327"
    },
    {
      "job": 120206363583,
      "time": 223,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12474596624"
    },
    {
      "job": 120206363612,
      "time": 458,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12474029338"
    },
    {
      "job": 120204352946,
      "time": 405,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12474157590"
    },
    {
      "job": 120206363534,
      "time": 108,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12473454622"
    },
    {
      "job": 120206363748,
      "time": 272,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12474571689"
    },
    {
      "job": 120206363633,
      "time": 207,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12474775024"
    },
    {
      "job": 120206363774,
      "time": 182,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12474352270"
    },
    {
      "job": 120206363654,
      "time": 288,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12474497279"
    },
    {
      "job": 120206363643,
      "time": 160,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12474032258"
    }
  ],
  "_buildurl": "https://github.com/r-universe/daijiang/actions/runs/39889094279",
  "_commit": {
    "id": "3a3081da1d68754f4a956210b065b5ae731e83fa",
    "author": "daijiang <daijianglee@gmail.com>",
    "committer": "daijiang <daijianglee@gmail.com>",
    "message": "get_graft_status() always returns a table\n\nSet graft_status in the all-species-already-in-tree early return, and\nstack per-tree tables (with a tree column) for multiPhylo input.\n",
    "time": 1792720228
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": "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
    },
    {
      "week": "2026-38",
      "n": 1
    },
    {
      "week": "2026-43",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "phylogenetic-trees",
    "cpp"
  ],
  "_stars": 35,
  "_contributors": [
    {
      "user": "daijiang",
      "count": 111,
      "uuid": 1696911
    }
  ],
  "_userbio": {
    "uuid": 1696911,
    "type": "user",
    "name": "Daijiang Li",
    "followers": 143
  },
  "_downloads": {
    "count": 255,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rtrees"
  },
  "_devurl": "https://github.com/daijiang/rtrees",
  "_pkgdown": "https://daijiang.github.io/rtrees/",
  "_searchresults": 104,
  "_rbuild": "4.6.1",
  "_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/rtrees.html"
  ],
  "_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": 54195,
      "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.765221366304981,
  "_indexed": true,
  "_nocasepkg": "rtrees",
  "_universes": [
    "daijiang"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.3",
      "date": "2026-10-23T02:30:12.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "3a3081da1d68754f4a956210b065b5ae731e83fa",
      "fileid": "https://r2.ropensci.org/4c16d7b66b0eb81af149aac30bfceb82942106fa1e00cd1383b84159c4240a85",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daijiang/actions/runs/39889094279"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.3",
      "date": "2026-10-23T02:31:00.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "3a3081da1d68754f4a956210b065b5ae731e83fa",
      "fileid": "https://r2.ropensci.org/be54ad516f6f1af3b563873836bbc0f3ad0500059c69ac0a856db09cd4a42c36",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daijiang/actions/runs/39889094279"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.0.3",
      "date": "2026-10-23T02:30:21.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "3a3081da1d68754f4a956210b065b5ae731e83fa",
      "fileid": "https://r2.ropensci.org/adca38b02f1dd9dd091445d8ae78dc209b7c925b537df88480f863bf5176ea58",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daijiang/actions/runs/39889094279"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.0.3",
      "date": "2026-10-23T02:30:19.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "3a3081da1d68754f4a956210b065b5ae731e83fa",
      "fileid": "https://r2.ropensci.org/ade4ab82902087c51326e4bc809552f4bacbda6ec0b29209fa1d4d288a8fd976",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daijiang/actions/runs/39889094279"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.3",
      "date": "2026-10-23T02:29:48.000Z",
      "arch": "aarch64",
      "commit": "3a3081da1d68754f4a956210b065b5ae731e83fa",
      "fileid": "https://r2.ropensci.org/d96a3410c3dbe43fbe8aef6c4216f35f8e24e7c4dc3da7f352e210d76b6dbfb9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daijiang/actions/runs/39889094279"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.3",
      "date": "2026-10-23T02:33:29.000Z",
      "arch": "x86_64",
      "commit": "3a3081da1d68754f4a956210b065b5ae731e83fa",
      "fileid": "https://r2.ropensci.org/974d34b514e44d34eb916782671729abab10d53ce68b580357e6fc09b6bacaba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daijiang/actions/runs/39889094279"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.0.3",
      "date": "2026-10-23T02:30:07.000Z",
      "arch": "aarch64",
      "commit": "3a3081da1d68754f4a956210b065b5ae731e83fa",
      "fileid": "https://r2.ropensci.org/080c63e2241ddefe7f2c7cf6ec6549d7f512da110e159eac7eec1621251b18ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daijiang/actions/runs/39889094279"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.0.3",
      "date": "2026-10-23T02:32:13.000Z",
      "arch": "x86_64",
      "commit": "3a3081da1d68754f4a956210b065b5ae731e83fa",
      "fileid": "https://r2.ropensci.org/d84171d87c891b9c407f8f395757673dbadc29905d96b25dd86bd7321442b26f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daijiang/actions/runs/39889094279"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.0.3",
      "date": "2026-10-23T02:29:57.000Z",
      "arch": "emscripten",
      "commit": "3a3081da1d68754f4a956210b065b5ae731e83fa",
      "fileid": "https://r2.ropensci.org/4a91f7e66e0ae442be3d92d2356c1e74279b873f152e56113fc73551ae836898",
      "status": "success",
      "buildurl": "https://github.com/r-universe/daijiang/actions/runs/39889094279"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.3",
      "date": "2026-10-23T02:31:01.000Z",
      "arch": "aarch64",
      "commit": "3a3081da1d68754f4a956210b065b5ae731e83fa",
      "fileid": "https://r2.ropensci.org/206803cc17a1965da38e63abfcc32277f23e97f1ee84c759b384a4eec2c03638",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daijiang/actions/runs/39889094279"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.3",
      "date": "2026-10-23T02:29:04.000Z",
      "arch": "x86_64",
      "commit": "3a3081da1d68754f4a956210b065b5ae731e83fa",
      "fileid": "https://r2.ropensci.org/3db034abd26f8c85fed71b969893bacf92ed97db25688994c5715f37dd2d788f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daijiang/actions/runs/39889094279"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.0.3",
      "date": "2026-10-23T02:29:18.000Z",
      "arch": "x86_64",
      "commit": "3a3081da1d68754f4a956210b065b5ae731e83fa",
      "fileid": "https://r2.ropensci.org/52680cea00134de6cf71ae0eaad3b4999a9620fc78f85effdc66c3cd89ff5779",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daijiang/actions/runs/39889094279"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.0.3",
      "date": "2026-10-23T02:31:18.000Z",
      "arch": "aarch64",
      "commit": "3a3081da1d68754f4a956210b065b5ae731e83fa",
      "fileid": "https://r2.ropensci.org/0eb63466a37bc3bf11b07380fed73cdea627abf5215e8474234410841b3c77e9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daijiang/actions/runs/39889094279"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.0.3",
      "date": "2026-10-23T02:29:06.000Z",
      "arch": "x86_64",
      "commit": "3a3081da1d68754f4a956210b065b5ae731e83fa",
      "fileid": "https://r2.ropensci.org/a94a93390a2295879cb99eb81d4ffeb38f7715a1a06072c66511c0ec764c8530",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daijiang/actions/runs/39889094279"
    }
  ]
}