{
  "_id": "6a1fe78eb401979e7343d2a6",
  "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-06-03 08:11:54 UTC",
    "User": "root"
  },
  "MD5sum": "ec40e5fd91cc5d7deb2df5a95a1b5535",
  "_user": "jmcurran",
  "_type": "src",
  "_file": "relSim_1.0.0.tar.gz",
  "_fileid": "c5fc6c40ad5d8f688ca4f6856ba496dd430a20a408f202920ff63593e3a96234",
  "_filesize": 315395,
  "_sha256": "c5fc6c40ad5d8f688ca4f6856ba496dd430a20a408f202920ff63593e3a96234",
  "_created": "2026-06-03T08:11:54.000Z",
  "_published": "2026-06-03T08:36:30.934Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79250302670,
      "time": 166,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7379188390"
    },
    {
      "job": 79250302612,
      "time": 133,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7379177544"
    },
    {
      "job": 79250302591,
      "time": 137,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379179346"
    },
    {
      "job": 79250302623,
      "time": 134,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379177553"
    },
    {
      "job": 79250302645,
      "time": 141,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7379179281"
    },
    {
      "job": 79250302639,
      "time": 279,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7379225088"
    },
    {
      "job": 79250302781,
      "time": 111,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379169785"
    },
    {
      "job": 79250302590,
      "time": 224,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379206690"
    },
    {
      "job": 79249805994,
      "time": 185,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379131522"
    },
    {
      "job": 79250302546,
      "time": 1426,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 79250302704,
      "time": 104,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7379167638"
    },
    {
      "job": 79250302571,
      "time": 224,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7379208857"
    },
    {
      "job": 79250302947,
      "time": 128,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379175084"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jmcurran/actions/runs/26872102741",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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
  },
  "_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",
    "description": "Professor of Statistics at the University of Auckland. Keen cyclist and gamer."
  },
  "_downloads": {
    "count": 199,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/relSim"
  },
  "_devurl": "https://github.com/jmcurran/relsim",
  "_searchresults": 30,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/relSim.html",
    "manual.pdf"
  ],
  "_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": "14.2.0-4ubuntu2~24.04.1",
      "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.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-05-22T17:32:00.000Z",
      "arch": "emscripten",
      "commit": "d255f324a221534c2da5ae5f0fac432417eb81a3",
      "fileid": "0a37f314609a079cf2dad5dd44d9ddd2b318b87107c7150a5feded8c2563138b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/25309278645"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-06-03T08:14:45.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "d255f324a221534c2da5ae5f0fac432417eb81a3",
      "fileid": "2ac2b96e33df6bed007090e65e4d09913c6e775d40e1f34c48def26efb681829",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/26872102741"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-06-03T08:14:10.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "d255f324a221534c2da5ae5f0fac432417eb81a3",
      "fileid": "48a65565bdec7f18581baa050ad4f2054ad16fba3fe914efb1ccdb84ecb1bb1d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/26872102741"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-06-03T08:14:16.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "d255f324a221534c2da5ae5f0fac432417eb81a3",
      "fileid": "5f9f66e518fc7d21d3155da2dbf06be0c1f8cf65414c8f051439a497f8e9e59f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/26872102741"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-06-03T08:14:09.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "d255f324a221534c2da5ae5f0fac432417eb81a3",
      "fileid": "867e6ec2f18081ec99c90c03539b2bc86e28afff6bb88eb727e477ee8482b218",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/26872102741"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-06-03T08:14:12.000Z",
      "arch": "aarch64",
      "commit": "d255f324a221534c2da5ae5f0fac432417eb81a3",
      "fileid": "1e11bb4e445806b500fc0342b0d1287e8cef7818558b59bfaa1a02d1fb430c17",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/26872102741"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-06-03T08:15:47.000Z",
      "arch": "x86_64",
      "commit": "d255f324a221534c2da5ae5f0fac432417eb81a3",
      "fileid": "555ae38be6460fa8d042d932039d7dbb601360032604116c8b296bc0f456982a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/26872102741"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-06-03T08:13:54.000Z",
      "arch": "aarch64",
      "commit": "d255f324a221534c2da5ae5f0fac432417eb81a3",
      "fileid": "93da9bfc1c2d0e5a3b3845e359aed4ed17d747b13b23e9341bd8a7b6b25e0fbc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/26872102741"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-06-03T08:15:07.000Z",
      "arch": "x86_64",
      "commit": "d255f324a221534c2da5ae5f0fac432417eb81a3",
      "fileid": "96e9ff40fa6860777884ff7d8c70233c7e95a7471729051dd5b11e87e924cdda",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/26872102741"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-06-03T08:13:13.000Z",
      "arch": "x86_64",
      "commit": "d255f324a221534c2da5ae5f0fac432417eb81a3",
      "fileid": "a77e49e257c4418877778fe208e186db644643cae9b673c3812bb7602f335af5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/26872102741"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-06-03T08:14:46.000Z",
      "arch": "x86_64",
      "commit": "d255f324a221534c2da5ae5f0fac432417eb81a3",
      "fileid": "667378fdf825f32313a20aabbfd46a04927d82b45601e336157958a94e2b2de5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/26872102741"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-06-03T08:13:22.000Z",
      "arch": "x86_64",
      "commit": "d255f324a221534c2da5ae5f0fac432417eb81a3",
      "fileid": "c1b42aa85dcbd2d3c6f8862b07875f75a1d0e4ff0a0c5f3c6f30e1947e069582",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/26872102741"
    }
  ]
}