{
  "_id": "6a291e0c732311cd8759c057",
  "Package": "humanleague",
  "Type": "Package",
  "Title": "Synthetic Population Generator",
  "Version": "2.3.2",
  "Description": "Generates high-entropy integer synthetic populations from\nmarginal and (optionally) seed data using quasirandom sampling,\nin arbitrary dimensionality (Smith, Lovelace and Birkin (2017)\n<doi:10.18564/jasss.3550>). The package also provides an\nimplementation of the Iterative Proportional Fitting (IPF)\nalgorithm (Zaloznik (2011) <doi:10.13140/2.1.2480.9923>).",
  "Authors@R": "c(\nperson(\"Andrew\", \"Smith\", email=\"andrew@friarswood.net\", role=c(\"aut\", \"cre\")),\nperson(\"Steven\", \"Johnson\", role=c(\"ctb\"), comment=\"Sobol sequence generator implementation\"),\nperson(\"Massachusetts Institute of Technology\", role=c(\"cph\"), comment=\"Sobol sequence generator implementation\"),\nperson(\"John\", \"Burkhardt\", role=c(\"ctb\",\"cph\"), comment=\"C++ implementation of incomplete gamma function\"),\nperson(\"G\", \"Bhattacharjee\", role=c(\"ctb\"), comment=\"Original FORTRAN implementation of incomplete gamma function\"))",
  "License": "MIT + file LICENCE",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.0.2",
  "Repository": "https://virgesmith.r-universe.dev",
  "Date/Publication": "2026-06-10 07:23:55 UTC",
  "RemoteUrl": "https://github.com/virgesmith/humanleague",
  "RemoteRef": "HEAD",
  "RemoteSha": "9ff352db1eede9a22fbd9d2321bd10c837053210",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-10 07:54:26 UTC",
    "User": "root"
  },
  "Author": "Andrew Smith [aut, cre],\nSteven Johnson [ctb] (Sobol sequence generator implementation),\nMassachusetts Institute of Technology [cph] (Sobol sequence generator\nimplementation),\nJohn Burkhardt [ctb, cph] (C++ implementation of incomplete gamma\nfunction),\nG Bhattacharjee [ctb] (Original FORTRAN implementation of incomplete\ngamma function)",
  "Maintainer": "Andrew Smith <andrew@friarswood.net>",
  "MD5sum": "83ba7f70beb8deb29a60526904247823",
  "_user": "virgesmith",
  "_type": "src",
  "_file": "humanleague_2.3.2.tar.gz",
  "_fileid": "29d023216d2861ef2387f11ec27c197dac1067e2d73d4b208bb4e61e041ac850",
  "_filesize": 167469,
  "_sha256": "29d023216d2861ef2387f11ec27c197dac1067e2d73d4b208bb4e61e041ac850",
  "_created": "2026-06-10T07:54:26.000Z",
  "_published": "2026-06-10T08:19:24.606Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80508986971,
      "time": 159,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7529779796"
    },
    {
      "job": 80508986878,
      "time": 140,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7529772012"
    },
    {
      "job": 80508986845,
      "time": 147,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7529775220"
    },
    {
      "job": 80508986880,
      "time": 142,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7529772628"
    },
    {
      "job": 80508986841,
      "time": 138,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7530222140"
    },
    {
      "job": 80508986871,
      "time": 525,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7529984430"
    },
    {
      "job": 80508986894,
      "time": 125,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7530170174"
    },
    {
      "job": 80508986804,
      "time": 584,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7529989499"
    },
    {
      "job": 80508469249,
      "time": 183,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7529719611"
    },
    {
      "job": 80508986770,
      "time": 116,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7529763375"
    },
    {
      "job": 80508986817,
      "time": 130,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7529768519"
    },
    {
      "job": 80508986866,
      "time": 130,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7529768696"
    },
    {
      "job": 80508986840,
      "time": 120,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7529764298"
    }
  ],
  "_buildurl": "https://github.com/r-universe/virgesmith/actions/runs/27261596492",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/virgesmith/humanleague",
  "_commit": {
    "id": "9ff352db1eede9a22fbd9d2321bd10c837053210",
    "author": "Andrew Smith <virgesmith@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Fix bugs identified in code review (#63)\n\n* Fix bugs identified in code review\n\n- NDArrayUtils.h: max() was computing the minimum (copy-paste from min());\n  corrected to use std::numeric_limits<T>::lowest() and std::max\n- module.cpp: fromNDArray() returned a non-owning numpy view into a\n  soon-to-be-destroyed NDArray; now allocates an owning array and copies\n- rcpp_api.cpp: removed duplicate indices/marginals size checks in ipf(),\n  qis() and qisi() (first check already throws)\n- Log.h: removed static from the local char buffer in to_string_impl<T*>\n  to avoid shared mutable state across calls\n- humanleague.R: fixed two malformed Roxygen \\itemize entries where a\n  stray '-' outside \\item{} would render incorrectly\n- pyproject.toml: moved pandas-stubs to dev dependencies (it is a\n  typing-only package and not needed by end users at runtime)\n\nCo-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>\n\n* Bump version to 2.4.5; update dependencies to latest\n\nnumpy 2.4.1 -> 2.4.5\npandas 2.3.3 -> 3.0.3\npybind11 3.0.0 -> 3.0.4\npytest 8.1.4 -> 9.0.3\nruff 0.12.9 -> 0.15.13\nbuild 1.2.2.post1 -> 1.5.0\nty 0.0.31 -> 0.0.37\npre-commit 4.5.1 -> 4.6.0\npandas-stubs 2.2.3.250308 -> 3.0.0.260204\n\nCo-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>\n\n* add release action\n\n---------\n\nCo-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>",
    "time": 1781076235
  },
  "_maintainer": {
    "name": "Andrew Smith",
    "email": "andrew@friarswood.net",
    "login": "virgesmith",
    "description": "Re-reformed Quant",
    "uuid": 19323577
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.8",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "virgesmith",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-29",
      "n": 1
    },
    {
      "week": "2025-36",
      "n": 1
    },
    {
      "week": "2025-41",
      "n": 1
    },
    {
      "week": "2026-16",
      "n": 1
    },
    {
      "week": "2026-24",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v2.4.2",
      "date": "2025-09-02"
    },
    {
      "name": "v2.4.3",
      "date": "2025-10-12"
    },
    {
      "name": "v2.4.4",
      "date": "2026-04-16"
    }
  ],
  "_topics": [
    "c-plus-plus-11",
    "microsynthesis",
    "nodejs",
    "python3",
    "quasirandom",
    "sampling-methods",
    "cpp"
  ],
  "_stars": 19,
  "_contributors": [
    {
      "user": "virgesmith",
      "count": 534,
      "uuid": 19323577
    },
    {
      "user": "tomalrussell",
      "count": 20,
      "uuid": 2762769
    },
    {
      "user": "robinlovelace",
      "count": 16,
      "uuid": 1825120
    },
    {
      "user": "codacy-badger",
      "count": 1,
      "uuid": 23704769
    }
  ],
  "_userbio": {
    "uuid": 19323577,
    "type": "user",
    "name": "Andrew Smith",
    "description": "Re-reformed Quant"
  },
  "_downloads": {
    "count": 606,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/humanleague"
  },
  "_devurl": "https://github.com/virgesmith/humanleague",
  "_searchresults": 13,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/humanleague.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/virgesmith/humanleague",
  "_realowner": "virgesmith",
  "_cranurl": true,
  "_releases": [
    {
      "version": "2.0.2",
      "date": "2017-12-14"
    },
    {
      "version": "2.1.0",
      "date": "2018-12-05"
    },
    {
      "version": "2.1.2",
      "date": "2020-02-14"
    },
    {
      "version": "2.1.8",
      "date": "2021-01-26"
    },
    {
      "version": "2.1.11",
      "date": "2023-01-06"
    },
    {
      "version": "2.2.0",
      "date": "2023-04-17"
    },
    {
      "version": "2.3.1",
      "date": "2024-02-24"
    },
    {
      "version": "2.3.2",
      "date": "2024-10-23"
    }
  ],
  "_exports": [
    "flatten",
    "integerise",
    "ipf",
    "prob2IntFreq",
    "qis",
    "qisi",
    "sobolSequence",
    "unitTest"
  ],
  "_help": [
    {
      "page": "flatten",
      "title": "Convert multidimensional array of counts per state into table form. Each row in the table corresponds to one individual",
      "topics": [
        "flatten"
      ]
    },
    {
      "page": "humanleague",
      "title": "humanleague",
      "topics": [
        "humanleague"
      ]
    },
    {
      "page": "integerise",
      "title": "Generate integer population from a fractional one where the 1-d partial sums along each axis have an integral total",
      "topics": [
        "integerise"
      ]
    },
    {
      "page": "ipf",
      "title": "Multidimensional IPF",
      "topics": [
        "ipf"
      ]
    },
    {
      "page": "prob2IntFreq",
      "title": "Generate integer frequencies from discrete probabilities and an overall population.",
      "topics": [
        "prob2IntFreq"
      ]
    },
    {
      "page": "qis",
      "title": "Multidimensional QIS",
      "topics": [
        "qis"
      ]
    },
    {
      "page": "qisi",
      "title": "QIS-IPF",
      "topics": [
        "qisi"
      ]
    },
    {
      "page": "sobolSequence",
      "title": "Generate Sobol' quasirandom sequence",
      "topics": [
        "sobolSequence"
      ]
    },
    {
      "page": "unitTest",
      "title": "Entry point to enable running unit tests within R (e.g. in testthat)",
      "topics": [
        "unitTest"
      ]
    }
  ],
  "_readme": "https://github.com/virgesmith/humanleague/raw/HEAD/README.md",
  "_rundeps": [
    "Rcpp"
  ],
  "_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": 5.267758216651366,
  "_indexed": true,
  "_nocasepkg": "humanleague",
  "_universes": [
    "virgesmith"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.3.2",
      "date": "2026-06-10T07:57:07.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "9ff352db1eede9a22fbd9d2321bd10c837053210",
      "fileid": "fda573e8d59e40c25eea70b2e0cd9a6d5cfa7721a94a18df798f628d19fc0768",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/virgesmith/actions/runs/27261596492"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.3.2",
      "date": "2026-06-10T07:56:54.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "9ff352db1eede9a22fbd9d2321bd10c837053210",
      "fileid": "2c8caf9ba1552d7937083df7e33c25bb421b9e9e8af87f8e05bde213328d2a73",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/virgesmith/actions/runs/27261596492"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.3.2",
      "date": "2026-06-10T07:56:56.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "9ff352db1eede9a22fbd9d2321bd10c837053210",
      "fileid": "b9b05ccfad9fb26461eb9a338b732cc02d128503e68847994bb67a194cf1e77e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/virgesmith/actions/runs/27261596492"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.3.2",
      "date": "2026-06-10T07:56:55.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "9ff352db1eede9a22fbd9d2321bd10c837053210",
      "fileid": "926a3246e0757df99bf8181d852d7690e9a97200e3d2a783308decaf7a76c20f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/virgesmith/actions/runs/27261596492"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.3.2",
      "date": "2026-06-10T08:18:18.000Z",
      "arch": "aarch64",
      "commit": "9ff352db1eede9a22fbd9d2321bd10c837053210",
      "fileid": "28e515289608050b7826bc21646d698384d871871743786c39cde05b6ed0d129",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/virgesmith/actions/runs/27261596492"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.3.2",
      "date": "2026-06-10T08:05:06.000Z",
      "arch": "x86_64",
      "commit": "9ff352db1eede9a22fbd9d2321bd10c837053210",
      "fileid": "6382e6ee96d56d8112218d6c05e24010ea2ca93d658bf4ae2e82c1a5f6994481",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/virgesmith/actions/runs/27261596492"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.3.2",
      "date": "2026-06-10T08:16:05.000Z",
      "arch": "aarch64",
      "commit": "9ff352db1eede9a22fbd9d2321bd10c837053210",
      "fileid": "5d3ce7f3084504f550c898a649531e47564bb4761497224d48ed33b4e8e2223a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/virgesmith/actions/runs/27261596492"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.3.2",
      "date": "2026-06-10T08:04:25.000Z",
      "arch": "x86_64",
      "commit": "9ff352db1eede9a22fbd9d2321bd10c837053210",
      "fileid": "45f61d0f3359f5d785ee769f21e50ed128b9f53262b04e06e0abaea3a67ea578",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/virgesmith/actions/runs/27261596492"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.3.2",
      "date": "2026-06-10T07:56:46.000Z",
      "arch": "emscripten",
      "commit": "9ff352db1eede9a22fbd9d2321bd10c837053210",
      "fileid": "2b42dbe38b0b96247248fe6488f3431ca8f856a00f290cc5c01ed32278aa8580",
      "status": "success",
      "buildurl": "https://github.com/r-universe/virgesmith/actions/runs/27261596492"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.3.2",
      "date": "2026-06-10T07:56:25.000Z",
      "arch": "x86_64",
      "commit": "9ff352db1eede9a22fbd9d2321bd10c837053210",
      "fileid": "cd466b9b5519e61db9352e791432a2ae8aad25d9775a8c00de5e6e9b22d3de71",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/virgesmith/actions/runs/27261596492"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.3.2",
      "date": "2026-06-10T07:56:09.000Z",
      "arch": "x86_64",
      "commit": "9ff352db1eede9a22fbd9d2321bd10c837053210",
      "fileid": "52d1f0496810e026308bdaf2ce40a3993eaef6b279443fcadef442d93289f045",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/virgesmith/actions/runs/27261596492"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.3.2",
      "date": "2026-06-10T07:56:00.000Z",
      "arch": "x86_64",
      "commit": "9ff352db1eede9a22fbd9d2321bd10c837053210",
      "fileid": "6e0f98ecbdf5664699fc9cd2498ec6d236f6d03bbc709c91457cb12147991a55",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/virgesmith/actions/runs/27261596492"
    }
  ]
}