{
  "_id": "6ad99eb7021a938ed758e2f2",
  "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": "libgmp3-dev 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-10-22 05:18:25 UTC",
    "User": "root"
  },
  "_user": "jmcurran",
  "_type": "src",
  "_file": "relSim_1.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/c747ed9392ecdfa5436f599d2906e3dfc4f9dd7f56940b6154903e3e9a8506be",
  "_filesize": 316500,
  "_sha256": "c747ed9392ecdfa5436f599d2906e3dfc4f9dd7f56940b6154903e3e9a8506be",
  "_expires": "2027-01-30T05:27:17.000Z",
  "_created": "2026-10-22T05:18:25.000Z",
  "_published": "2026-10-22T05:27:19.011Z",
  "_upstream": "https://github.com/jmcurran/relsim",
  "_status": "success",
  "_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
  },
  "_jobs": [
    {
      "job": 119654108524,
      "time": 107,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12404041228"
    },
    {
      "job": 119654108412,
      "time": 124,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12403453646"
    },
    {
      "job": 119654108508,
      "time": 153,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12404250253"
    },
    {
      "job": 119654108491,
      "time": 127,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12403473620"
    },
    {
      "job": 119654108426,
      "time": 125,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12403946542"
    },
    {
      "job": 119654108391,
      "time": 373,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12403338379"
    },
    {
      "job": 119654108385,
      "time": 113,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12404046561"
    },
    {
      "job": 119654108386,
      "time": 286,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12403643048"
    },
    {
      "job": 119652895172,
      "time": 235,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12404040893"
    },
    {
      "job": 119654108394,
      "time": 102,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12404185287"
    },
    {
      "job": 119654108453,
      "time": 246,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12404295030"
    },
    {
      "job": 119654108436,
      "time": 117,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12403473580"
    },
    {
      "job": 119654108444,
      "time": 110,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12403428649"
    },
    {
      "job": 119654108421,
      "time": 195,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12403498718"
    },
    {
      "job": 119654108628,
      "time": 116,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12403368879"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jmcurran/actions/runs/39726910908",
  "_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
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": 297,
    "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",
    "gmp",
    "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-10-22T05:20:19.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "d255f324a221534c2da5ae5f0fac432417eb81a3",
      "fileid": "https://r2.ropensci.org/e302661bc0ffc6d79807814f0088132903a911472f2e5027869964fbbd3c2ee6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/39726910908"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-22T05:20:28.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "d255f324a221534c2da5ae5f0fac432417eb81a3",
      "fileid": "https://r2.ropensci.org/78e475f9a306aef262dbc60101f8c1f71d5648d0bb26497d9e003b1ba8216bfc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/39726910908"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-22T05:21:05.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "d255f324a221534c2da5ae5f0fac432417eb81a3",
      "fileid": "https://r2.ropensci.org/5d6f1ca5c20e0bddfb6ff7cc1168db20c14dd815927d39d725da69b85f7fb553",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/39726910908"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-22T05:20:34.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "d255f324a221534c2da5ae5f0fac432417eb81a3",
      "fileid": "https://r2.ropensci.org/52b143b19933ce0e77b7e0b6406b502f0bfb8a53f8a946c61ff43c68e2ccbcd3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/39726910908"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-22T05:20:36.000Z",
      "arch": "aarch64",
      "commit": "d255f324a221534c2da5ae5f0fac432417eb81a3",
      "fileid": "https://r2.ropensci.org/05362221765c2e614bf304de735e5a030614a52011437acbbc77266c19997470",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/39726910908"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-22T05:25:12.000Z",
      "arch": "x86_64",
      "commit": "d255f324a221534c2da5ae5f0fac432417eb81a3",
      "fileid": "https://r2.ropensci.org/77d9c8d262572d69af6d6afce08ff380333283ed7eeea4d0356d3ea1a14279b6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/39726910908"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-22T05:22:22.000Z",
      "arch": "aarch64",
      "commit": "d255f324a221534c2da5ae5f0fac432417eb81a3",
      "fileid": "https://r2.ropensci.org/7d7a98918640636a7b67efe08f009673f2f18937298510cf729e30d0ee19d16f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/39726910908"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-22T05:24:03.000Z",
      "arch": "x86_64",
      "commit": "d255f324a221534c2da5ae5f0fac432417eb81a3",
      "fileid": "https://r2.ropensci.org/393cf34b4e66eba51a0142a65213191759347bf60489fdd789bd2ac773785112",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/39726910908"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-10-22T05:20:28.000Z",
      "arch": "emscripten",
      "commit": "d255f324a221534c2da5ae5f0fac432417eb81a3",
      "fileid": "https://r2.ropensci.org/c8fb8eb974f5894c61b5728c1fb7401098d0a0e253e13bdd974abc6ac56869bc",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/39726910908"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-22T05:22:18.000Z",
      "arch": "aarch64",
      "commit": "d255f324a221534c2da5ae5f0fac432417eb81a3",
      "fileid": "https://r2.ropensci.org/49e710c545ee7d9a5cb0fb8967ec459e93dce7260037775bf5f883c372e3a835",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/39726910908"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-22T05:19:39.000Z",
      "arch": "x86_64",
      "commit": "d255f324a221534c2da5ae5f0fac432417eb81a3",
      "fileid": "https://r2.ropensci.org/f8c73c613cbd7326ba9551c658b8896cebeca30763c60062c9501e848ccc5138",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/39726910908"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-22T05:19:51.000Z",
      "arch": "x86_64",
      "commit": "d255f324a221534c2da5ae5f0fac432417eb81a3",
      "fileid": "https://r2.ropensci.org/6c548768ac772a8a56157029a30edce2a8ed7d1f10ade60f941ab5e270f942e0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/39726910908"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-22T05:21:30.000Z",
      "arch": "aarch64",
      "commit": "d255f324a221534c2da5ae5f0fac432417eb81a3",
      "fileid": "https://r2.ropensci.org/02785a4853542d9340da134149445b8f40f28f253ac5754f4f47c9477bafba3c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/39726910908"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-22T05:19:48.000Z",
      "arch": "x86_64",
      "commit": "d255f324a221534c2da5ae5f0fac432417eb81a3",
      "fileid": "https://r2.ropensci.org/c49fb04f5e04c804cfdcd8636c2648b5e18db921fcdc539c2272b41ebf48688e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/39726910908"
    }
  ]
}