{
  "_id": "6a212bb6cd65a98ecbd234fe",
  "Type": "Package",
  "Package": "junctions",
  "Title": "The Breakdown of Genomic Ancestry Blocks in Hybrid Lineages",
  "Version": "2.1.4",
  "Authors@R": "person(given = \"Thijs\",\nfamily = \"Janzen\",\nrole = c(\"aut\", \"cre\"),\nemail = \"thijsjanzen@gmail.com\")",
  "Description": "Individual based simulations of hybridizing populations,\nwhere the accumulation of junctions is tracked. Furthermore,\nmathematical equations are provided to verify simulation\noutcomes. Both simulations and mathematical equations are based\non Janzen (2018, <doi:10.1101/058107>) and Janzen (2022,\n<doi:10.1111/1755-0998.13519>).",
  "License": "GPL (>= 2)",
  "URL": "https://thijsjanzen.github.io/junctions/",
  "BugReports": "https://github.com/thijsjanzen/junctions/issues",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "SystemRequirements": "C++17",
  "Config/pak/sysreqs": "cmake make",
  "Repository": "https://thijsjanzen.r-universe.dev",
  "Date/Publication": "2026-03-06 17:17:44 UTC",
  "RemoteUrl": "https://github.com/thijsjanzen/junctions",
  "RemoteRef": "HEAD",
  "RemoteSha": "c71e9bd210541d2349ff2e47d32aa45ee8c3e785",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-04 07:32:49 UTC",
    "User": "root"
  },
  "Author": "Thijs Janzen [aut, cre]",
  "Maintainer": "Thijs Janzen <thijsjanzen@gmail.com>",
  "MD5sum": "fb3178a2a53d4f56449b41f0419f6b5f",
  "_user": "thijsjanzen",
  "_type": "src",
  "_file": "junctions_2.1.4.tar.gz",
  "_fileid": "16b209166f216b308d3ccf920645759ad01fad922a0f875ece68f02dac16c2b0",
  "_filesize": 1129420,
  "_sha256": "16b209166f216b308d3ccf920645759ad01fad922a0f875ece68f02dac16c2b0",
  "_created": "2026-06-04T07:32:49.000Z",
  "_published": "2026-06-04T07:39:33.981Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79471190421,
      "time": 157,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7405623187"
    },
    {
      "job": 79471190432,
      "time": 155,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7405621834"
    },
    {
      "job": 79471190429,
      "time": 154,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7405621978"
    },
    {
      "job": 79471190446,
      "time": 146,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7405619141"
    },
    {
      "job": 79471190479,
      "time": 90,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7405602553"
    },
    {
      "job": 79471190517,
      "time": 346,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7405680691"
    },
    {
      "job": 79471190495,
      "time": 160,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7405624530"
    },
    {
      "job": 79471190475,
      "time": 192,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7405633541"
    },
    {
      "job": 79470525437,
      "time": 271,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7405573744"
    },
    {
      "job": 79471190441,
      "time": 125,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7405612581"
    },
    {
      "job": 79471190508,
      "time": 158,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7405622555"
    },
    {
      "job": 79471190520,
      "time": 189,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7405632616"
    },
    {
      "job": 79471190484,
      "time": 119,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7405610599"
    }
  ],
  "_buildurl": "https://github.com/r-universe/thijsjanzen/actions/runs/26937445279",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/thijsjanzen/junctions",
  "_commit": {
    "id": "c71e9bd210541d2349ff2e47d32aa45ee8c3e785",
    "author": "Thijs Janzen <thijsjanzen@gmail.com>",
    "committer": "Thijs Janzen <thijsjanzen@gmail.com>",
    "message": "Version number update\n",
    "time": 1772817464
  },
  "_maintainer": {
    "name": "Thijs Janzen",
    "email": "thijsjanzen@gmail.com",
    "login": "thijsjanzen",
    "bluesky": "@thijsjanzen.bsky.social",
    "twitter": "@thijsjanzen",
    "description": "Scientific programmer at University of Groningen",
    "uuid": 19486664
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "RcppParallel",
      "version": ">= 5.0.0",
      "role": "Depends"
    },
    {
      "package": "nloptr",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppParallel",
      "role": "LinkingTo"
    },
    {
      "package": "nloptr",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "magrittr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    }
  ],
  "_owner": "thijsjanzen",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-09",
      "n": 2
    },
    {
      "week": "2026-10",
      "n": 9
    }
  ],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "thijsjanzen",
      "count": 377,
      "uuid": 19486664
    }
  ],
  "_userbio": {
    "uuid": 19486664,
    "type": "user",
    "name": "Thijs Janzen",
    "description": "Scientific programmer at University of Groningen"
  },
  "_downloads": {
    "count": 584,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/junctions"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/thijsjanzen/junctions",
  "_pkgdown": "https://thijsjanzen.github.io/junctions/",
  "_searchresults": 16,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/junctions.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/thijsjanzen/junctions",
  "_realowner": "thijsjanzen",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2018-01-17"
    },
    {
      "version": "1.0.1",
      "date": "2018-04-17"
    },
    {
      "version": "1.1",
      "date": "2018-08-13"
    },
    {
      "version": "1.1.1",
      "date": "2021-04-16"
    },
    {
      "version": "2.0.1",
      "date": "2021-05-26"
    },
    {
      "version": "2.0.3",
      "date": "2022-02-24"
    },
    {
      "version": "2.1.0",
      "date": "2024-02-13"
    },
    {
      "version": "2.1.1",
      "date": "2025-03-12"
    },
    {
      "version": "2.1.3",
      "date": "2025-04-09"
    },
    {
      "version": "2.1.4",
      "date": "2026-03-07"
    }
  ],
  "_exports": [
    "calc_k",
    "calculate_mat",
    "estimate_time",
    "estimate_time_diploid",
    "estimate_time_haploid",
    "estimate_time_one_chrom",
    "log_likelihood_diploid",
    "log_likelihood_haploid",
    "number_of_junctions",
    "number_of_junctions_backcross",
    "number_of_junctions_di",
    "number_of_junctions_markers",
    "sim_backcrossing",
    "sim_fin_chrom",
    "sim_inf_chrom",
    "sim_phased_unphased",
    "time_error"
  ],
  "_help": [
    {
      "page": "junctions-package",
      "title": "Extending The Theory of Junctions",
      "topics": [
        "junctions-package",
        "junctions"
      ]
    },
    {
      "page": "calc_k",
      "title": "Calculate the limit of the number of junctions",
      "topics": [
        "calc_k"
      ]
    },
    {
      "page": "calculate_MAT",
      "title": "Function to calculate the maximum accurate time",
      "topics": [
        "calculate_mat"
      ]
    },
    {
      "page": "estimate_time",
      "title": "Estimate the time since the onset of hybridization, using the number of junctions",
      "topics": [
        "estimate_time"
      ]
    },
    {
      "page": "estimate_time_diploid",
      "title": "estimates the time since admixture, given diploid ancestry data.",
      "topics": [
        "estimate_time_diploid"
      ]
    },
    {
      "page": "estimate_time_haploid",
      "title": "estimate time using likelihood for a single chromosome",
      "topics": [
        "estimate_time_haploid"
      ]
    },
    {
      "page": "estimate_time_one_chrom",
      "title": "Estimate the time since the onset of hybridization, using the observed number of junctions, taking into account the distribution of markers on a single chromosome",
      "topics": [
        "estimate_time_one_chrom"
      ]
    },
    {
      "page": "log_likelihood_diploid",
      "title": "calculate the log likelihood of observing diploid ancestry data.",
      "topics": [
        "log_likelihood_diploid"
      ]
    },
    {
      "page": "log_likelihood_haploid",
      "title": "log likelihood of the time since admixture for a haploid genome",
      "topics": [
        "log_likelihood_haploid"
      ]
    },
    {
      "page": "number_of_junctions",
      "title": "Calculate the average number of junctions",
      "topics": [
        "number_of_junctions"
      ]
    },
    {
      "page": "number_of_junctions_backcross",
      "title": "Calculate the average number of junctions during backcrossing",
      "topics": [
        "number_of_junctions_backcross"
      ]
    },
    {
      "page": "number_of_junctions_di",
      "title": "Calculate the expected number of junctions between two markers separated by a given amount of recombination",
      "topics": [
        "number_of_junctions_di"
      ]
    },
    {
      "page": "number_of_junctions_markers",
      "title": "Calculate the expected total number of junctions in a chromosome, given the distribution of markers",
      "topics": [
        "number_of_junctions_markers"
      ]
    },
    {
      "page": "sim_backcrossing",
      "title": "Function to simulate data using a back crossing scheme",
      "topics": [
        "sim_backcrossing"
      ]
    },
    {
      "page": "sim_fin_chrom",
      "title": "Individual Based Simulation of the accumulation of junctions",
      "topics": [
        "sim_fin_chrom"
      ]
    },
    {
      "page": "sim_inf_chrom",
      "title": "Individual Based Simulation of the accumulation of junctions",
      "topics": [
        "sim_inf_chrom"
      ]
    },
    {
      "page": "sim_phased_unphased",
      "title": "Individual Based Simulation of the accumulation of junctions",
      "topics": [
        "sim_phased_unphased"
      ]
    },
    {
      "page": "time_error",
      "title": "Estimate the error in the time estimate",
      "topics": [
        "time_error"
      ]
    }
  ],
  "_readme": "https://github.com/thijsjanzen/junctions/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "glue",
    "lifecycle",
    "magrittr",
    "nloptr",
    "pillar",
    "pkgconfig",
    "Rcpp",
    "RcppParallel",
    "rlang",
    "tibble",
    "utf8",
    "vctrs"
  ],
  "_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"
    }
  ],
  "_vignettes": [
    {
      "source": "junctions_vignette.Rmd",
      "filename": "junctions_vignette.html",
      "title": "Junctions",
      "author": "Thijs Janzen",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Junctions vignette",
        "An infinite chromosome in a finite population",
        "Including Random Markers",
        "A Finite chromosome in a finite population",
        "Other equations available"
      ],
      "created": "2017-11-08 12:58:21",
      "modified": "2026-03-06 11:15:04",
      "commits": 22
    },
    {
      "source": "Overview_of_the_junctions_package.Rmd",
      "filename": "Overview_of_the_junctions_package.html",
      "title": "Overview_of_the_junctions_package",
      "engine": "knitr::rmarkdown",
      "headings": [
        "title: \"Overview_of_the_junctions_package\"author: \"Thijs Janzen\"date: \"5/6/2021\"output: rmarkdown::html_vignettevignette: >%\\VignetteIndexEntry",
        "Overview of the junctions package",
        "Simulation functions",
        "Phased and unphased simulations",
        "Mathematical simulations",
        "Backcrossing",
        "Inferring the time since admixture",
        "Junction based methods",
        "Local ancestry based methods",
        "Likelihood functions",
        "Expected number of junctions",
        "Mathematical expressions"
      ],
      "created": "2021-05-06 13:42:48",
      "modified": "2026-03-06 11:19:59",
      "commits": 8
    },
    {
      "source": "phased_and_unphased_data.Rmd",
      "filename": "phased_and_unphased_data.html",
      "title": "Phased and unphased data",
      "author": "Thijs Janzen",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Phased and unphased data",
        "Simulating data",
        "Inferring the time since admixture",
        "Population size",
        "Simulating data with error"
      ],
      "created": "2020-09-14 12:09:50",
      "modified": "2026-03-06 11:19:59",
      "commits": 12
    }
  ],
  "_score": 4.982271233039569,
  "_indexed": true,
  "_nocasepkg": "junctions",
  "_universes": [
    "thijsjanzen"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.4",
      "date": "2026-06-04T07:35:29.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "c71e9bd210541d2349ff2e47d32aa45ee8c3e785",
      "fileid": "9508ce1b678e00d5dc926c8db1fc5faec5ddf31ff628f41db8aa70874bc7e9c8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thijsjanzen/actions/runs/26937445279"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.4",
      "date": "2026-06-04T07:35:22.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "c71e9bd210541d2349ff2e47d32aa45ee8c3e785",
      "fileid": "9cc19cc4323a89d08dd921935df45154c54e59890f1a4447849a80d484d809d9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thijsjanzen/actions/runs/26937445279"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.1.4",
      "date": "2026-06-04T07:35:25.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "c71e9bd210541d2349ff2e47d32aa45ee8c3e785",
      "fileid": "968058cd93065023e0da7b850db7442637e4611800ab18ba973bb45d848c0fa0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thijsjanzen/actions/runs/26937445279"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.1.4",
      "date": "2026-06-04T07:35:15.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "c71e9bd210541d2349ff2e47d32aa45ee8c3e785",
      "fileid": "1e31a069983bfc6d7b5c1742fe5d0f3312d9715db93e81365870fb1ecc995bec",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thijsjanzen/actions/runs/26937445279"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.4",
      "date": "2026-06-04T07:34:32.000Z",
      "arch": "aarch64",
      "commit": "c71e9bd210541d2349ff2e47d32aa45ee8c3e785",
      "fileid": "4ad5d34a0053311ad66ab56bf77be86a390fa447bda632db1f5d1cb90d3c63ab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thijsjanzen/actions/runs/26937445279"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.4",
      "date": "2026-06-04T07:37:29.000Z",
      "arch": "x86_64",
      "commit": "c71e9bd210541d2349ff2e47d32aa45ee8c3e785",
      "fileid": "6cc2e0dc745f6e1c8c9888f8f465f8cc2361171f225d35c8e43b2d3300964107",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thijsjanzen/actions/runs/26937445279"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.1.4",
      "date": "2026-06-04T07:35:20.000Z",
      "arch": "aarch64",
      "commit": "c71e9bd210541d2349ff2e47d32aa45ee8c3e785",
      "fileid": "0b4733a6eb68a93ba1ed8a95c379517a8cd9c5d5f57cffa67e811609d5aff9d9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thijsjanzen/actions/runs/26937445279"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.1.4",
      "date": "2026-06-04T07:35:34.000Z",
      "arch": "x86_64",
      "commit": "c71e9bd210541d2349ff2e47d32aa45ee8c3e785",
      "fileid": "cc4b18f9be57d781bf86f7f195e5790b2d8afd321c4348bb78e7ccc47e22130c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thijsjanzen/actions/runs/26937445279"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.1.4",
      "date": "2026-06-04T07:35:11.000Z",
      "arch": "emscripten",
      "commit": "c71e9bd210541d2349ff2e47d32aa45ee8c3e785",
      "fileid": "107c529b456ada85038cdb1e3f0143215324f830991c75a1bb68a03d32650a2e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/thijsjanzen/actions/runs/26937445279"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.4",
      "date": "2026-06-04T07:34:46.000Z",
      "arch": "x86_64",
      "commit": "c71e9bd210541d2349ff2e47d32aa45ee8c3e785",
      "fileid": "6e1ace1b7e22949fb00ca3472f5776d22821bd95a940e987e06acc358ef9575f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thijsjanzen/actions/runs/26937445279"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.1.4",
      "date": "2026-06-04T07:35:09.000Z",
      "arch": "x86_64",
      "commit": "c71e9bd210541d2349ff2e47d32aa45ee8c3e785",
      "fileid": "8d92a626b8f0826103f7bd09764e5a233bd5330899e2550e5e192e5dc9f3cbb1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thijsjanzen/actions/runs/26937445279"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.1.4",
      "date": "2026-06-04T07:34:16.000Z",
      "arch": "x86_64",
      "commit": "c71e9bd210541d2349ff2e47d32aa45ee8c3e785",
      "fileid": "fe4289d051357ea577042503da6f179581e36217b671a60dffa3ee2a918290ee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thijsjanzen/actions/runs/26937445279"
    }
  ]
}