{
  "_id": "6a22a54dcd65a98ecbd599c0",
  "Package": "hitandrun",
  "Type": "Package",
  "Title": "\"Hit and Run\" and \"Shake and Bake\" for Sampling Uniformly from\nConvex Shapes",
  "Version": "0.5-6",
  "Date": "2022-05-26",
  "Authors@R": "c(\nperson(\"Gert\", \"van Valkenhoef\", email=\"gert@gertvv.nl\", role=c(\"aut\", \"cre\", \"cph\")),\nperson(\"Tommi\", \"Tervonen\", role=c(\"aut\")))",
  "Description": "The \"Hit and Run\" Markov Chain Monte Carlo method for\nsampling uniformly from convex shapes defined by linear\nconstraints, and the \"Shake and Bake\" method for sampling from\nthe boundary of such shapes. Includes specialized functions for\nsampling normalized weights with arbitrary linear constraints.\nTervonen, T., van Valkenhoef, G., Basturk, N., and Postmus, D.\n(2012) <doi:10.1016/j.ejor.2012.08.026>. van Valkenhoef, G.,\nTervonen, T., and Postmus, D. (2014)\n<doi:10.1016/j.ejor.2014.06.036>.",
  "URL": "https://github.com/gertvv/hitandrun",
  "License": "GPL-3",
  "LazyLoad": "yes",
  "Config/pak/sysreqs": "libgmp3-dev",
  "Repository": "https://gertvv.r-universe.dev",
  "Date/Publication": "2022-05-27 11:31:04 UTC",
  "RemoteUrl": "https://github.com/gertvv/hitandrun",
  "RemoteRef": "HEAD",
  "RemoteSha": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
  "RemoteSubdir": "hitandrun",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-05 10:25:56 UTC",
    "User": "root"
  },
  "Author": "Gert van Valkenhoef [aut, cre, cph],\nTommi Tervonen [aut]",
  "Maintainer": "Gert van Valkenhoef <gert@gertvv.nl>",
  "MD5sum": "b427707bea94e502e10f0b295858800f",
  "_user": "gertvv",
  "_type": "src",
  "_file": "hitandrun_0.5-6.tar.gz",
  "_fileid": "73f00a941a936d9c5f1ad85f02aacee62e0e45f84a954ef80dfcbaf92bd20175",
  "_filesize": 252229,
  "_sha256": "73f00a941a936d9c5f1ad85f02aacee62e0e45f84a954ef80dfcbaf92bd20175",
  "_created": "2026-06-05T10:25:56.000Z",
  "_published": "2026-06-05T10:30:37.402Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79709589853,
      "time": 113,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7434404808"
    },
    {
      "job": 79709589857,
      "time": 98,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7434398985"
    },
    {
      "job": 79709589944,
      "time": 109,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7434403199"
    },
    {
      "job": 79709589891,
      "time": 116,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7434404414"
    },
    {
      "job": 79709589867,
      "time": 70,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7434389913"
    },
    {
      "job": 79709589890,
      "time": 241,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7434441087"
    },
    {
      "job": 79709589862,
      "time": 104,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7434400633"
    },
    {
      "job": 79709589855,
      "time": 175,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7434421369"
    },
    {
      "job": 79709183325,
      "time": 166,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7434368427"
    },
    {
      "job": 79709589947,
      "time": 97,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7434398729"
    },
    {
      "job": 79709589858,
      "time": 151,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7434414536"
    },
    {
      "job": 79709589866,
      "time": 93,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7434398133"
    },
    {
      "job": 79709589847,
      "time": 74,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7434391509"
    }
  ],
  "_buildurl": "https://github.com/r-universe/gertvv/actions/runs/27009443542",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/gertvv/hitandrun",
  "_commit": {
    "id": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
    "author": "Gert van Valkenhoef <gert@gertvv.nl>",
    "committer": "Gert van Valkenhoef <gert@gertvv.nl>",
    "message": "Address CRAN maintainer feedback\n",
    "time": 1653651064
  },
  "_maintainer": {
    "name": "Gert van Valkenhoef",
    "email": "gert@gertvv.nl",
    "login": "gertvv",
    "description": "",
    "uuid": 80785
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "rcdd",
      "version": ">= 1.1",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 0.8",
      "role": "Suggests"
    }
  ],
  "_owner": "gertvv",
  "_selfowned": true,
  "_usedby": 12,
  "_updates": [],
  "_tags": [],
  "_stars": 16,
  "_contributors": [
    {
      "user": "gertvv",
      "count": 143,
      "uuid": 80785
    },
    {
      "user": "jonmcalder",
      "count": 1,
      "uuid": 5055818
    },
    {
      "user": "katrinleinweber",
      "count": 1,
      "uuid": 9948149
    }
  ],
  "_userbio": {
    "uuid": 80785,
    "type": "user",
    "name": "Gert van Valkenhoef"
  },
  "_downloads": {
    "count": 1426,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/hitandrun"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/gertvv/hitandrun",
  "_searchresults": 132,
  "_topics": [
    "openblas"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/hitandrun.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/gertvv/hitandrun",
  "_realowner": "gertvv",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2",
      "date": "2012-01-10"
    },
    {
      "version": "0.2-1",
      "date": "2013-07-11"
    },
    {
      "version": "0.2-2",
      "date": "2013-08-22"
    },
    {
      "version": "0.3",
      "date": "2013-10-31"
    },
    {
      "version": "0.4",
      "date": "2013-11-27"
    },
    {
      "version": "0.4-1",
      "date": "2014-01-14"
    },
    {
      "version": "0.4-2",
      "date": "2014-08-04"
    },
    {
      "version": "0.5",
      "date": "2015-01-06"
    },
    {
      "version": "0.5-1",
      "date": "2015-04-19"
    },
    {
      "version": "0.5-2",
      "date": "2015-07-10"
    },
    {
      "version": "0.5-3",
      "date": "2016-12-23"
    },
    {
      "version": "0.5-4",
      "date": "2018-05-21"
    },
    {
      "version": "0.5-5",
      "date": "2019-01-08"
    },
    {
      "version": "0.5-6",
      "date": "2022-05-27"
    }
  ],
  "_exports": [
    "bbReject",
    "createBoundBox",
    "createSeedPoint",
    "createTransform",
    "eliminateRedundant",
    "exactRatioConstraint",
    "findExtremePoints",
    "findFace",
    "findInteriorPoint",
    "findVertices",
    "har",
    "har.init",
    "har.run",
    "hitandrun",
    "hypersphere.sample",
    "lowerBoundConstraint",
    "lowerRatioConstraint",
    "mergeConstraints",
    "ordinalConstraint",
    "sab",
    "sab.init",
    "sab.run",
    "shakeandbake",
    "simplex.createConstraints",
    "simplex.createTransform",
    "simplex.sample",
    "simplexConstraints",
    "solution.basis",
    "transformConstraints",
    "upperBoundConstraint",
    "upperRatioConstraint"
  ],
  "_help": [
    {
      "page": "hitandrun-package",
      "title": "\"Hit and Run\" sampling",
      "topics": [
        "hitandrun-package"
      ]
    },
    {
      "page": "bbReject",
      "title": "Bounding box rejection sampler",
      "topics": [
        "bbReject"
      ]
    },
    {
      "page": "createBoundBox",
      "title": "Calculate a bounding box",
      "topics": [
        "createBoundBox"
      ]
    },
    {
      "page": "createSeedPoint",
      "title": "Generate a seed point",
      "topics": [
        "createSeedPoint"
      ]
    },
    {
      "page": "createTransform",
      "title": "Create transformation matrices",
      "topics": [
        "createTransform"
      ]
    },
    {
      "page": "eliminateRedundant",
      "title": "Eliminate redundant linear constraints",
      "topics": [
        "eliminateRedundant"
      ]
    },
    {
      "page": "findExtremePoints",
      "title": "Find extreme points",
      "topics": [
        "findExtremePoints"
      ]
    },
    {
      "page": "findFace",
      "title": "Find the closest face (constraint) to an interior point of a polytope.",
      "topics": [
        "findFace"
      ]
    },
    {
      "page": "findInteriorPoint",
      "title": "Find an interior point",
      "topics": [
        "findInteriorPoint"
      ]
    },
    {
      "page": "findVertices",
      "title": "Find vertices of the polytope",
      "topics": [
        "findVertices"
      ]
    },
    {
      "page": "har",
      "title": "\"Hit and Run\" sampler",
      "topics": [
        "har"
      ]
    },
    {
      "page": "har-constraint",
      "title": "Constraint formulation utility functions",
      "topics": [
        "exactRatioConstraint",
        "harConstraints",
        "lowerBoundConstraint",
        "lowerRatioConstraint",
        "mergeConstraints",
        "ordinalConstraint",
        "simplexConstraints",
        "upperBoundConstraint",
        "upperRatioConstraint"
      ]
    },
    {
      "page": "hitandrun",
      "title": "\"Hit and Run\" sampler",
      "topics": [
        "har.init",
        "har.run",
        "hitandrun"
      ]
    },
    {
      "page": "hypersphere.sample",
      "title": "Sample uniformly from an n-hypersphere",
      "topics": [
        "hypersphere.sample"
      ]
    },
    {
      "page": "sab",
      "title": "\"Shake and Bake\" sampler",
      "topics": [
        "sab"
      ]
    },
    {
      "page": "shakeandbake",
      "title": "\"Shake and Bake\" sampler",
      "topics": [
        "sab.init",
        "sab.run",
        "shakeandbake"
      ]
    },
    {
      "page": "simplex.createConstraints",
      "title": "Create constraints that define the (n-1)-simplex",
      "topics": [
        "simplex.createConstraints"
      ]
    },
    {
      "page": "simplex.createTransform",
      "title": "Transform points on an (n-1)-simplex to n-dimensional space",
      "topics": [
        "simplex.createTransform"
      ]
    },
    {
      "page": "simplex.sample",
      "title": "Sample uniformly from a simplex",
      "topics": [
        "simplex.sample"
      ]
    },
    {
      "page": "solution.basis",
      "title": "Calculate the basis for the solution space of a system of linear equations",
      "topics": [
        "solution.basis"
      ]
    },
    {
      "page": "transformConstraints",
      "title": "Apply a transformation to a set of linear constraints.",
      "topics": [
        "transformConstraints"
      ]
    }
  ],
  "_readme": "https://github.com/gertvv/hitandrun/raw/HEAD/README.md",
  "_rundeps": [
    "rcdd"
  ],
  "_sysdeps": [
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    }
  ],
  "_score": 7.035115940144909,
  "_indexed": true,
  "_nocasepkg": "hitandrun",
  "_universes": [
    "gertvv"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5-6",
      "date": "2026-06-05T10:28:09.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "f70c1299df522b1ae3c310480954d849e9c7c61f79823f4bac64c5694ecda166",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/27009443542"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5-6",
      "date": "2026-06-05T10:27:48.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "c5950da96817ed98d7e420284b26f2b55ed10798f120536b3b07125496165e3b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/27009443542"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5-6",
      "date": "2026-06-05T10:28:03.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "453854eeff162ec854a38e32fb3670dac02ed817c8fc46efc324bdf4e28b4936",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/27009443542"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5-6",
      "date": "2026-06-05T10:28:05.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "55dc22f94015cd3ccc50cf7aed351326812eb4522454bf676d081b07298595e9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/27009443542"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5-6",
      "date": "2026-06-05T10:27:19.000Z",
      "arch": "aarch64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "699a0f496b0dc17e74da43c6a9906b308970578b7dd9a3f7ca521a12ee4e58b1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/27009443542"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5-6",
      "date": "2026-06-05T10:30:01.000Z",
      "arch": "x86_64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "76856089504d6916797ff6edf6950ec37d29a3448c6b062b1781cebb1a14c3a3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/27009443542"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.5-6",
      "date": "2026-06-05T10:27:50.000Z",
      "arch": "aarch64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "bef5c3ee297dabb4ca78e77d03f8cb1361e31f6f71708934ba59b062c78b614e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/27009443542"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.5-6",
      "date": "2026-06-05T10:28:53.000Z",
      "arch": "x86_64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "8761a1dd6110ceff1a4757c88b82eb1a42d5210942876373cbb512cbe2b73367",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/27009443542"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5-6",
      "date": "2026-06-05T10:27:55.000Z",
      "arch": "emscripten",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "db6757d8abd7735c924c7871398a6e3f48167c61b8ee463b1ecd218b967edaba",
      "status": "success",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/27009443542"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5-6",
      "date": "2026-06-05T10:28:23.000Z",
      "arch": "x86_64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "401f54c889012aa47e9687de48442870b414bc282331b29734968c2506665173",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/27009443542"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5-6",
      "date": "2026-06-05T10:27:15.000Z",
      "arch": "x86_64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "dd7d43e505bf47c01ab2998ab30403fae6cce72e81802ecfd57ba7ba2abf21d3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/27009443542"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.5-6",
      "date": "2026-06-05T10:27:08.000Z",
      "arch": "x86_64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "f2147bd5674162ff0674bfafd306e647f278aaf862f7428e0690a168c3e4e5df",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/27009443542"
    }
  ]
}