{
  "_id": "6ac4aa66f511ae58c099fbbe",
  "Package": "twigstats",
  "Type": "Package",
  "Title": "twigstats",
  "Version": "1.0.2",
  "Encoding": "UTF-8",
  "Date": "2022-02-02",
  "Authors@R": "as.person(c(\n\"Leo Speidel <leo.speidel@outlook.com> [aut, cre]\",\n\"Pontus Skoglund [aut]\"\n))",
  "Maintainer": "Leo Speidel <leo.speidel@outlook.com>",
  "Description": "This package takes Relate genealogies as input to compute\ntime-stratified f-statistics.",
  "License": "MIT",
  "SystemRequirements": "zlib",
  "URL": "https://github.com/leospeidel/twigstats",
  "BugReports": "https://github.com/leospeidel/twigstats/issues",
  "Config/testthat/edition": "3",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev zlib1g-dev",
  "Repository": "https://leospeidel.r-universe.dev",
  "Date/Publication": "2025-08-01 13:34:20 UTC",
  "RemoteUrl": "https://github.com/leospeidel/twigstats",
  "RemoteRef": "HEAD",
  "RemoteSha": "502f3749b23532110905b6f089f223824fc15ae8",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-04 14:38:59 UTC",
    "User": "root"
  },
  "Author": "Leo Speidel [aut, cre],\nPontus Skoglund [aut]",
  "_user": "leospeidel",
  "_type": "src",
  "_file": "twigstats_1.0.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/c892d3f9021c0b288f8c6cc8d398ce11d537555605c3b3c925c456c553a523cb",
  "_filesize": 94215252,
  "_sha256": "c892d3f9021c0b288f8c6cc8d398ce11d537555605c3b3c925c456c553a523cb",
  "_expires": "2027-01-12T14:51:51.000Z",
  "_created": "2026-10-04T14:38:59.000Z",
  "_published": "2026-10-06T07:59:34.478Z",
  "_jobs": [
    {
      "job": 112165158900,
      "time": 248,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "11398015621"
    },
    {
      "job": 112165158778,
      "time": 224,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "11397039993"
    },
    {
      "job": 112165158859,
      "time": 244,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11397194363"
    },
    {
      "job": 112165158809,
      "time": 258,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11397596767"
    },
    {
      "job": 112165158896,
      "time": 203,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "11398020435"
    },
    {
      "job": 112165158948,
      "time": 559,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "11397812122"
    },
    {
      "job": 112165159004,
      "time": 266,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11397451897"
    },
    {
      "job": 112165158962,
      "time": 467,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11397951519"
    },
    {
      "job": 112165158768,
      "time": 276,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11305184648"
    },
    {
      "job": 112165159893,
      "time": 167,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11306930070"
    },
    {
      "job": 112165158843,
      "time": 369,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 112165158831,
      "time": 169,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 112165158938,
      "time": 130,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 112165158806,
      "time": 357,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 112165158977,
      "time": 176,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "FAIL",
      "artifact": ""
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/leospeidel/actions/runs/37209836125",
  "_status": "success",
  "_upstream": "https://github.com/leospeidel/twigstats",
  "_commit": {
    "id": "502f3749b23532110905b6f089f223824fc15ae8",
    "author": "Leo Speidel <leo.speidel@outlook.com>",
    "committer": "Leo Speidel <leo.speidel@outlook.com>",
    "message": "Fixed bug in Fst\n",
    "time": 1754055260
  },
  "_maintainer": {
    "name": "Leo Speidel",
    "email": "leo.speidel@outlook.com",
    "login": "leospeidel",
    "description": "",
    "uuid": 16124799
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Depends"
    },
    {
      "package": "tidyr",
      "role": "Depends"
    },
    {
      "package": "testthat",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.7",
      "role": "Imports"
    },
    {
      "package": "RcppArmadillo",
      "role": "Imports"
    },
    {
      "package": "xml2",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "lsei",
      "role": "Suggests"
    }
  ],
  "_owner": "leospeidel",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 18,
  "_contributors": [
    {
      "user": "leospeidel",
      "count": 63,
      "uuid": 16124799
    }
  ],
  "_userbio": {
    "uuid": 16124799,
    "type": "user",
    "name": "Leo Speidel",
    "followers": 31
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/twigstats"
  },
  "_devurl": "https://github.com/leospeidel/twigstats",
  "_searchresults": 13,
  "_topics": [
    "cpp"
  ],
  "_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/twigstats.html"
  ],
  "_cranurl": false,
  "_exports": [
    "calc_mds",
    "calcf2",
    "D_from_Relate",
    "ExpPaintingProfile",
    "f2_blocks_from_Relate",
    "f2_blocks_from_RelateAges",
    "f4_ratio",
    "Fst_blocks_from_Relate",
    "jackknife",
    "Painting",
    "PaintingNNLS",
    "PaintingProfile",
    "PaintingProfileR",
    "run_testthat_tests",
    "theoretical_zscore",
    "TMRCA_from_Relate",
    "TMRCAdist_from_Relate",
    "TwigScan"
  ],
  "_help": [
    {
      "page": "mds",
      "title": "Function that computes a PCA and MDS from f2_blocks",
      "topics": [
        "calc_mds"
      ]
    },
    {
      "page": "D_from_Relate",
      "title": "Function to calculate D statistics from Relate trees.",
      "topics": [
        "D_from_Relate"
      ]
    },
    {
      "page": "f2_blocks_from_Relate",
      "title": "Function to calculate f2 statistics from Relate trees for pairs of populations specified in poplabels.",
      "topics": [
        "f2_blocks_from_Relate"
      ]
    },
    {
      "page": "f2_blocks_from_RelateAges",
      "title": "Function to calculate f2 statistics from plink files, ascertained using mutation ages in Relate trees.",
      "topics": [
        "f2_blocks_from_RelateAges"
      ]
    },
    {
      "page": "f-statistics",
      "title": "Function implementing the F4-ratio statistic",
      "topics": [
        "f4_ratio",
        "jackknife"
      ]
    },
    {
      "page": "Fst_blocks_from_Relate",
      "title": "Function to calculate Fst from Relate trees for pairs of populations specified in poplabels.",
      "topics": [
        "Fst_blocks_from_Relate"
      ]
    },
    {
      "page": "Painting",
      "title": "Chromosome painting using genealogies.",
      "topics": [
        "Painting"
      ]
    },
    {
      "page": "PaintingNNLS",
      "title": "Function to run an NNLS on genome-wide copying proportions to estimate admixture proportions.",
      "topics": [
        "PaintingNNLS"
      ]
    },
    {
      "page": "PaintingProfile",
      "title": "Function to compute genome-wide copying proportions.",
      "topics": [
        "PaintingProfile"
      ]
    },
    {
      "page": "theoretical_zscore",
      "title": "Function to compute a theoretical z-score given source split times and admixture proportions.",
      "topics": [
        "theoretical_zscore"
      ]
    },
    {
      "page": "TwigScan",
      "title": "Function implementing TwigScan",
      "topics": [
        "TwigScan"
      ]
    }
  ],
  "_pkglogo": "https://github.com/leospeidel/twigstats/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/leospeidel/twigstats/raw/HEAD/README.md",
  "_rundeps": [
    "brio",
    "callr",
    "cli",
    "cpp11",
    "crayon",
    "desc",
    "diffobj",
    "dplyr",
    "evaluate",
    "fs",
    "generics",
    "glue",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "otel",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "pkgload",
    "praise",
    "processx",
    "ps",
    "purrr",
    "R6",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "rprojroot",
    "stringi",
    "stringr",
    "testthat",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "waldo",
    "withr"
  ],
  "_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.0681858617461617,
  "_indexed": true,
  "_nocasepkg": "twigstats",
  "_universes": [
    "leospeidel"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-10-06T07:51:40.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "502f3749b23532110905b6f089f223824fc15ae8",
      "fileid": "https://r2.ropensci.org/5ca0e0f397274a2f5d451ec8a1646840b67a1bcfbbc87233e3dde66c2540fb65",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/leospeidel/actions/runs/37209836125"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-10-06T07:51:52.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "502f3749b23532110905b6f089f223824fc15ae8",
      "fileid": "https://r2.ropensci.org/23acb4be2b893a57d29eeda07205551ef8076b93a585e7131a62b67fae04ff97",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/leospeidel/actions/runs/37209836125"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-10-06T07:51:32.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "502f3749b23532110905b6f089f223824fc15ae8",
      "fileid": "https://r2.ropensci.org/ee2b6720968d104e8892143a5e919ad2345f4dcd3e0324f43860a6ddd669a92c",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/leospeidel/actions/runs/37209836125"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-10-06T07:51:33.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "502f3749b23532110905b6f089f223824fc15ae8",
      "fileid": "https://r2.ropensci.org/667935517e92d6a6488081965699c8cce4285a4c5054b1748292efa3b187195d",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/leospeidel/actions/runs/37209836125"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-10-06T07:51:23.000Z",
      "arch": "aarch64",
      "commit": "502f3749b23532110905b6f089f223824fc15ae8",
      "fileid": "https://r2.ropensci.org/35d6986a8ac05d9cc70ccf7c6850d532eb3f07173baf5d00bea4b180ec00b3a7",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/leospeidel/actions/runs/37209836125"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-10-06T07:54:27.000Z",
      "arch": "x86_64",
      "commit": "502f3749b23532110905b6f089f223824fc15ae8",
      "fileid": "https://r2.ropensci.org/4615978665c2bf4934879a2e77bf103ea00e3d1df149bfa71107a2f04822c805",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/leospeidel/actions/runs/37209836125"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-10-06T07:51:51.000Z",
      "arch": "aarch64",
      "commit": "502f3749b23532110905b6f089f223824fc15ae8",
      "fileid": "https://r2.ropensci.org/f6f7655429b73ff00e6ae53c527fa78e40417842a6893743d9878d1da292d170",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/leospeidel/actions/runs/37209836125"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-10-06T07:53:15.000Z",
      "arch": "x86_64",
      "commit": "502f3749b23532110905b6f089f223824fc15ae8",
      "fileid": "https://r2.ropensci.org/b294c3a21cdc72e2ec0d3f12813475650c3ba9f4e3093abaacf36755e2099609",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/leospeidel/actions/runs/37209836125"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.2",
      "date": "2026-10-04T14:42:27.000Z",
      "arch": "emscripten",
      "commit": "502f3749b23532110905b6f089f223824fc15ae8",
      "fileid": "https://r2.ropensci.org/f584e88423a038143787b2bf4522ac5f1cd8b92f58a63daafc8156efc7ce636c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/leospeidel/actions/runs/37209836125"
    }
  ]
}