{
  "_id": "6ab379963d719c1f8408fcad",
  "Package": "relSim",
  "Type": "Package",
  "Title": "Relative Simulator",
  "Version": "1.0.0",
  "Date": "2023-12-04",
  "Author": "James M. Curran",
  "Maintainer": "James M. Curran <j.curran@auckland.ac.nz>",
  "Description": "A set of tools to explore the behaviour statistics used\nfor forensic DNA interpretation when close relatives are\ninvolved. The package also offers some useful tools for\nexploring other forensic DNA situations.",
  "Encoding": "UTF-8",
  "License": "GPL (>= 2)",
  "LazyData": "true",
  "RoxygenNote": "7.2.3",
  "Config/pak/sysreqs": "libicu-dev libxml2-dev libssl-dev",
  "Repository": "https://jmcurran.r-universe.dev",
  "Date/Publication": "2023-12-03 23:53:43 UTC",
  "RemoteUrl": "https://github.com/jmcurran/relsim",
  "RemoteRef": "HEAD",
  "RemoteSha": "d255f324a221534c2da5ae5f0fac432417eb81a3",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-09-23 06:37:48 UTC",
    "User": "root"
  },
  "_user": "jmcurran",
  "_type": "src",
  "_file": "relSim_1.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/865f1eb206eeece3ed67cdc84bfdf70d564bfc343d6741aa5549b7bc0299f7b1",
  "_filesize": 317281,
  "_sha256": "865f1eb206eeece3ed67cdc84bfdf70d564bfc343d6741aa5549b7bc0299f7b1",
  "_expires": "2027-01-01T07:02:44.000Z",
  "_created": "2026-09-23T06:37:48.000Z",
  "_published": "2026-09-23T07:02:46.540Z",
  "_jobs": [
    {
      "job": 107072966662,
      "time": 138,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10735309146"
    },
    {
      "job": 107072966747,
      "time": 143,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10736315147"
    },
    {
      "job": 107072966751,
      "time": 130,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10736615325"
    },
    {
      "job": 107072966772,
      "time": 139,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10736630316"
    },
    {
      "job": 107072966770,
      "time": 93,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10735709406"
    },
    {
      "job": 107072966771,
      "time": 268,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10736370342"
    },
    {
      "job": 107072966787,
      "time": 115,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10736048622"
    },
    {
      "job": 107072966736,
      "time": 316,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10735424735"
    },
    {
      "job": 107072007182,
      "time": 234,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10736520068"
    },
    {
      "job": 107072966750,
      "time": 125,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10735678128"
    },
    {
      "job": 107072966698,
      "time": 361,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10736755701"
    },
    {
      "job": 107072966752,
      "time": 135,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10736590335"
    },
    {
      "job": 107072966753,
      "time": 107,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10736630246"
    },
    {
      "job": 107072966794,
      "time": 366,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10736320423"
    },
    {
      "job": 107072966695,
      "time": 101,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10735144693"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/jmcurran/actions/runs/35827362592",
  "_status": "success",
  "_upstream": "https://github.com/jmcurran/relsim",
  "_commit": {
    "id": "d255f324a221534c2da5ae5f0fac432417eb81a3",
    "author": "jmcurran <james.m.curran@gmail.com>",
    "committer": "jmcurran <james.m.curran@gmail.com>",
    "message": "Fixed up some bugs. Testing prior to sending to CRAN\n",
    "time": 1701647623
  },
  "_maintainer": {
    "name": "James M. Curran",
    "email": "j.curran@auckland.ac.nz",
    "login": "jmcurran",
    "orcid": "0000-0003-3323-6733",
    "description": "Professor of Statistics at the University of Auckland. Keen cyclist and gamer.",
    "uuid": 1457367
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "xtable",
      "role": "Imports"
    },
    {
      "package": "multicool",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "rvest",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "xml2",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    }
  ],
  "_owner": "jmcurran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "jmcurran",
      "count": 75,
      "uuid": 1457367
    }
  ],
  "_userbio": {
    "uuid": 1457367,
    "type": "user",
    "name": "James Curran",
    "followers": 15,
    "description": "Professor of Statistics at the University of Auckland. Keen cyclist and gamer."
  },
  "_downloads": {
    "count": 317,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/relSim"
  },
  "_devurl": "https://github.com/jmcurran/relsim",
  "_searchresults": 30,
  "_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/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/relSim.html"
  ],
  "_homeurl": "https://github.com/jmcurran/relsim",
  "_realowner": "jmcurran",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1-33",
      "date": "2012-03-07"
    },
    {
      "version": "0.1-34",
      "date": "2012-03-14"
    },
    {
      "version": "0.1-47",
      "date": "2012-07-24"
    },
    {
      "version": "0.2-0",
      "date": "2015-04-03"
    },
    {
      "version": "0.2-9",
      "date": "2018-01-05"
    },
    {
      "version": "0.3-1",
      "date": "2019-12-06"
    },
    {
      "version": "0.3-3",
      "date": "2022-09-15"
    },
    {
      "version": "0.3-4",
      "date": "2022-09-27"
    },
    {
      "version": "0.3.5",
      "date": "2023-08-29"
    },
    {
      "version": "1.0.0",
      "date": "2023-12-04"
    }
  ],
  "_exports": [
    "allPairsLR",
    "breedFst",
    "calcFst",
    "calcFStats",
    "checkFreqs",
    "ep",
    "errorRate",
    "exclusionPower",
    "famSearch",
    "fetchBMdata",
    "IBS",
    "IS",
    "locusIBS",
    "lrMix",
    "lrPC",
    "lrSib",
    "lrSibDebug",
    "normalizeFreqs",
    "randomChild",
    "randomPCPairs",
    "randomProfile",
    "randomProfilePairs",
    "randomSample",
    "randomSib",
    "randomSibPairs",
    "readFreqs",
    "readProfiles",
    "readResults",
    "sim",
    "simNpersonMixture",
    "toNexus",
    "writePop"
  ],
  "_datasets": [
    {
      "name": "fbiCaucs",
      "title": "CODIS STR Loci allele frequency data",
      "object": "fbiCaucs",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "USCaucs",
      "title": "CODIS STR Loci allele frequency data",
      "object": "USCaucs",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "allPairsLR",
      "title": "Compute the likehood ratio for all pairs of profiles in a database",
      "topics": [
        "allPairsLR"
      ]
    },
    {
      "page": "blockSim",
      "title": "Perform relatives simulations using large memory blocks in C",
      "topics": [
        "blockSim"
      ]
    },
    {
      "page": "breedFst",
      "title": "Breed a population with an approximate level of theta(Fst)",
      "topics": [
        "breedFst"
      ]
    },
    {
      "page": "calcFst",
      "title": "Caculate locus-wise and population Fst values",
      "topics": [
        "calcFst"
      ]
    },
    {
      "page": "calcFStats",
      "title": "Calculate locus-wise and population theta = F_ST, F = F_IT, and f = F_IS values",
      "topics": [
        "calcFStats"
      ]
    },
    {
      "page": "checkFreqs",
      "title": "Make sure that the frequencies are such",
      "topics": [
        "checkFreqs"
      ]
    },
    {
      "page": "errorRate",
      "title": "Returns the false positive or false negative rates for a set of IBS and/or KI thresholds",
      "topics": [
        "errorRate"
      ]
    },
    {
      "page": "exclusionPower",
      "title": "Calculate the exclusion power of a multiplex by locus",
      "topics": [
        "ep",
        "exclusionPower"
      ]
    },
    {
      "page": "famSearch",
      "title": "Search a database for siblings or children",
      "topics": [
        "famSearch"
      ]
    },
    {
      "page": "fbiCaucs",
      "title": "CODIS STR Loci allele frequency data",
      "topics": [
        "fbiCaucs"
      ]
    },
    {
      "page": "fetchBMdata",
      "title": "Retrieve data from Budowle and Moretti (1999) from the web",
      "topics": [
        "fetchBMdata"
      ]
    },
    {
      "page": "IBS",
      "title": "Identity by state",
      "topics": [
        "IBS"
      ]
    },
    {
      "page": "IS",
      "title": "Use importance sampling to determine the probability of m peaks from n contributors to a mixture",
      "topics": [
        "IS"
      ]
    },
    {
      "page": "locusIBS",
      "title": "Identity by state at a locus",
      "topics": [
        "locusIBS"
      ]
    },
    {
      "page": "lrMix",
      "title": "Calculate locuswise likelihood ratios for two person victim/suspect mixtures",
      "topics": [
        "lrMix"
      ]
    },
    {
      "page": "lrPC",
      "title": "Likelihood Ratio for Parent-Child / Paternity Index",
      "topics": [
        "lrPC"
      ]
    },
    {
      "page": "lrSib",
      "title": "Likelihood Ratio / Kinship Index for full-siblings",
      "topics": [
        "lrSib"
      ]
    },
    {
      "page": "lrSibDebug",
      "title": "Likelihood Ratio / Kinship Index for full-siblings",
      "topics": [
        "lrSibDebug"
      ]
    },
    {
      "page": "normalizeFreqs",
      "title": "Normalize frequencies to 1",
      "topics": [
        "normalizeFreqs"
      ]
    },
    {
      "page": "print.population",
      "title": "Print summary details of a substructed population",
      "topics": [
        "print.population"
      ]
    },
    {
      "page": "print.profile",
      "title": "Print a DNA profile",
      "topics": [
        "print.profile"
      ]
    },
    {
      "page": "randomChild",
      "title": "Generate a random child from a given DNA profile and a given set of allele frequencies",
      "topics": [
        "randomChild"
      ]
    },
    {
      "page": "randomPCPairs",
      "title": "Generate one or more random parent/child pairs from a given set of allele frequencies",
      "topics": [
        "randomPCPairs"
      ]
    },
    {
      "page": "randomProfile",
      "title": "Generate a random DNA profile from a given set of allele frequencies",
      "topics": [
        "randomProfile"
      ]
    },
    {
      "page": "randomProfilePairs",
      "title": "Generate one or more random DNA profile pairs from a given set of allele frequencies",
      "topics": [
        "randomProfilePairs"
      ]
    },
    {
      "page": "randomSample",
      "title": "Generate a random sample of related (or unrelated) pairs of people",
      "topics": [
        "randomSample"
      ]
    },
    {
      "page": "randomSib",
      "title": "Generate a random sibling from a given DNA profile and a given set of allele frequencies",
      "topics": [
        "randomSib"
      ]
    },
    {
      "page": "randomSibPairs",
      "title": "Generate one or more pairs of random siblings from a given set of allele frequencies",
      "topics": [
        "randomSibPairs"
      ]
    },
    {
      "page": "readFreqs",
      "title": "Read in a file of allele frequencies",
      "topics": [
        "readFreqs"
      ]
    },
    {
      "page": "readProfiles",
      "title": "Read a set of profiles from a file",
      "topics": [
        "readProfiles"
      ]
    },
    {
      "page": "readResults",
      "title": "Read a simulation result set from file",
      "topics": [
        "readResults"
      ]
    },
    {
      "page": "sim",
      "title": "Perform the relatives simulation",
      "topics": [
        "sim"
      ]
    },
    {
      "page": "simNpersonMixture",
      "title": "Simulate and count unique alleles in N person mixtures",
      "topics": [
        "simNpersonMixture"
      ]
    },
    {
      "page": "toNexus",
      "title": "Export a population with substructure to a Nexus file",
      "topics": [
        "toNexus"
      ]
    },
    {
      "page": "USCaucs",
      "title": "CODIS STR Loci allele frequency data",
      "topics": [
        "USCaucs"
      ]
    },
    {
      "page": "writeCSV",
      "title": "Saves/writes population frequencies to disk",
      "topics": [
        "writeCSV"
      ]
    },
    {
      "page": "writePop",
      "title": "Saves/writes population profiles to disk",
      "topics": [
        "writePop"
      ]
    }
  ],
  "_readme": "https://github.com/jmcurran/relsim/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "cli",
    "curl",
    "glue",
    "httr",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "mime",
    "multicool",
    "openssl",
    "pillar",
    "pkgconfig",
    "R6",
    "Rcpp",
    "rlang",
    "rvest",
    "selectr",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "utf8",
    "vctrs",
    "xml2",
    "xtable"
  ],
  "_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.1760912590556813,
  "_indexed": true,
  "_nocasepkg": "relsim",
  "_universes": [
    "jmcurran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-09-23T06:40:12.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "d255f324a221534c2da5ae5f0fac432417eb81a3",
      "fileid": "https://r2.ropensci.org/69ce07d7b6b821b0ad2282b7e328010223c58f5c530f527e49ab880d22c54c36",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/35827362592"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-09-23T06:40:17.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "d255f324a221534c2da5ae5f0fac432417eb81a3",
      "fileid": "https://r2.ropensci.org/896510ccdbc722116834787e3b997a4838b36eae9194176f3af89a9cc7249275",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/35827362592"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-09-23T06:40:08.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "d255f324a221534c2da5ae5f0fac432417eb81a3",
      "fileid": "https://r2.ropensci.org/979e63ab05bb896845f2fd7904ff3db0b60d118b6ccbff679d5ec81e2768fd7f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/35827362592"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-09-23T06:40:09.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "d255f324a221534c2da5ae5f0fac432417eb81a3",
      "fileid": "https://r2.ropensci.org/0b7a7126c81e3dc36ef52f93e2cdb37082f7be0df70548a6de383811e46ba246",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/35827362592"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-09-23T07:01:55.000Z",
      "arch": "aarch64",
      "commit": "d255f324a221534c2da5ae5f0fac432417eb81a3",
      "fileid": "https://r2.ropensci.org/ead632d209de36b948d062cd928465565c0d4e93a4a704db769740aaf7d5ad86",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/35827362592"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-09-23T06:44:24.000Z",
      "arch": "x86_64",
      "commit": "d255f324a221534c2da5ae5f0fac432417eb81a3",
      "fileid": "https://r2.ropensci.org/003cbf1a06651db659048ff04661394e2037aba6c8a66bfc6832bb0af2af2496",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/35827362592"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-09-23T07:00:59.000Z",
      "arch": "aarch64",
      "commit": "d255f324a221534c2da5ae5f0fac432417eb81a3",
      "fileid": "https://r2.ropensci.org/d5e5f414c106f57def1fd859b2dcf983d1744cbd2ccd37d3b3be41c508fc51fb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/35827362592"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-09-23T06:45:04.000Z",
      "arch": "x86_64",
      "commit": "d255f324a221534c2da5ae5f0fac432417eb81a3",
      "fileid": "https://r2.ropensci.org/d8173a396c9938eeb30eeb2f291f8c9abbb982b3fe72e3d1d62816f927daebc5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/35827362592"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-09-23T06:40:14.000Z",
      "arch": "emscripten",
      "commit": "d255f324a221534c2da5ae5f0fac432417eb81a3",
      "fileid": "https://r2.ropensci.org/ea7ea75b9ff7961c5373c4f46ab7590adf3dd4796257f806d1ae6baf35349e5c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/35827362592"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-09-23T06:43:00.000Z",
      "arch": "aarch64",
      "commit": "d255f324a221534c2da5ae5f0fac432417eb81a3",
      "fileid": "https://r2.ropensci.org/f69afd662b1bff63a82041d0fa4556d649facb96618d9d72300277891b890cf5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/35827362592"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-09-23T06:39:06.000Z",
      "arch": "x86_64",
      "commit": "d255f324a221534c2da5ae5f0fac432417eb81a3",
      "fileid": "https://r2.ropensci.org/5fb4a6a4996ab85586da8ca5aaef0607d5a9e99f6422f82230f9f54f52f455ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/35827362592"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-09-23T06:39:11.000Z",
      "arch": "x86_64",
      "commit": "d255f324a221534c2da5ae5f0fac432417eb81a3",
      "fileid": "https://r2.ropensci.org/f2ca23718ca4cf3e61ed44c369143f18eddf21055f3729e75f6c5b3d9392c7bd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/35827362592"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-09-23T06:43:15.000Z",
      "arch": "aarch64",
      "commit": "d255f324a221534c2da5ae5f0fac432417eb81a3",
      "fileid": "https://r2.ropensci.org/9140e4a1a825903924024f2d43f3f66469a89535afc596987f82b1844c972c1b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/35827362592"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-09-23T06:39:10.000Z",
      "arch": "x86_64",
      "commit": "d255f324a221534c2da5ae5f0fac432417eb81a3",
      "fileid": "https://r2.ropensci.org/ea9c374e39612d687c64ea32ffa684a6e84f12fb0e2a7b92a7ca261d5d696a01",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/35827362592"
    }
  ]
}