{
  "_id": "6a1a75ed1d7bb097a09d1f5c",
  "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-05-28 06:10:49 UTC",
    "User": "root"
  },
  "Author": "Leo Speidel [aut, cre],\nPontus Skoglund [aut]",
  "MD5sum": "029b82aeab193d3d51a620cd56c5f296",
  "_user": "leospeidel",
  "_type": "src",
  "_file": "twigstats_1.0.2.tar.gz",
  "_fileid": "789500fb1c95a4bea21a4a5c09876bbd9fd3854f16cd2b94e626d5a72870a3ce",
  "_filesize": 94213100,
  "_sha256": "789500fb1c95a4bea21a4a5c09876bbd9fd3854f16cd2b94e626d5a72870a3ce",
  "_created": "2026-05-28T06:10:49.000Z",
  "_published": "2026-05-30T05:30:21.696Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78626259758,
      "time": 274,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7305642266"
    },
    {
      "job": 78626259770,
      "time": 274,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7305642334"
    },
    {
      "job": 78626259772,
      "time": 271,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7305641992"
    },
    {
      "job": 78626259762,
      "time": 266,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7305641579"
    },
    {
      "job": 78626259755,
      "time": 230,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7305637661"
    },
    {
      "job": 78626259752,
      "time": 782,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7305693752"
    },
    {
      "job": 78626259767,
      "time": 283,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7305643141"
    },
    {
      "job": 78626259764,
      "time": 516,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7305667265"
    },
    {
      "job": 78626259799,
      "time": 294,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7258912085"
    },
    {
      "job": 78626259977,
      "time": 191,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7258956030"
    },
    {
      "job": 78626259763,
      "time": 213,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 78626259761,
      "time": 109,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 78626259759,
      "time": 181,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    }
  ],
  "_buildurl": "https://github.com/r-universe/leospeidel/actions/runs/26557906703",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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
  },
  "_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": [
    {
      "week": "2025-26",
      "n": 1
    },
    {
      "week": "2025-31",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 16,
  "_contributors": [
    {
      "user": "leospeidel",
      "count": 63,
      "uuid": 16124799
    }
  ],
  "_userbio": {
    "uuid": 16124799,
    "type": "user",
    "name": "Leo Speidel"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/twigstats"
  },
  "_devurl": "https://github.com/leospeidel/twigstats",
  "_searchresults": 12,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/twigstats.html",
    "manual.pdf"
  ],
  "_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",
    "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": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 3.2833012287035497,
  "_indexed": true,
  "_nocasepkg": "twigstats",
  "_universes": [
    "leospeidel"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-05-30T05:18:45.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "502f3749b23532110905b6f089f223824fc15ae8",
      "fileid": "a3f0f0702b706ecd1d08a21c166a2f2e5b2ed6b3c9eeb43de1f55d918783fa1a",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/leospeidel/actions/runs/26557906703"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-05-30T05:18:46.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "502f3749b23532110905b6f089f223824fc15ae8",
      "fileid": "acc05757de45f3d480c237d11012e79cdd1422796dd33b013de362f863e99ac8",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/leospeidel/actions/runs/26557906703"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-05-30T05:18:39.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "502f3749b23532110905b6f089f223824fc15ae8",
      "fileid": "85fe8692f5f0bfd738551273c40ea64bfb0ae7c71e2c8e9e094ccf6c0b123405",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/leospeidel/actions/runs/26557906703"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-05-30T05:18:45.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "502f3749b23532110905b6f089f223824fc15ae8",
      "fileid": "76ead371f445af4c3f84a9954c70d4fa42000be12615f52c424b288bf030aa4e",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/leospeidel/actions/runs/26557906703"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-05-30T05:18:45.000Z",
      "arch": "aarch64",
      "commit": "502f3749b23532110905b6f089f223824fc15ae8",
      "fileid": "2a7c1e76c4c793733bb65a46050548c0b93d26064e12c0bbf701c647bc8d55a9",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/leospeidel/actions/runs/26557906703"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-05-30T05:23:51.000Z",
      "arch": "x86_64",
      "commit": "502f3749b23532110905b6f089f223824fc15ae8",
      "fileid": "eb4ae1ba2e72fe5dee91957d1ad8404703965c325da342252ebb95b2edfd2bd0",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/leospeidel/actions/runs/26557906703"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-05-30T05:18:51.000Z",
      "arch": "aarch64",
      "commit": "502f3749b23532110905b6f089f223824fc15ae8",
      "fileid": "4ca408fd979fa716a08146d07db314408e3b0d2ad9527efa7078b45c687fc276",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/leospeidel/actions/runs/26557906703"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-05-30T05:20:32.000Z",
      "arch": "x86_64",
      "commit": "502f3749b23532110905b6f089f223824fc15ae8",
      "fileid": "fb9077860b554b39702b2afed30835fe0cd10ea29c3902781a4b31b51e7b1825",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/leospeidel/actions/runs/26557906703"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.2",
      "date": "2026-05-28T06:14:44.000Z",
      "arch": "emscripten",
      "commit": "502f3749b23532110905b6f089f223824fc15ae8",
      "fileid": "f83f826c759d03539a59559349aa1dd751a82e2c2e3d9b2ed2f563459b4f461e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/leospeidel/actions/runs/26557906703"
    }
  ]
}