{
  "_id": "6a49609e77d6db3f2f9662c5",
  "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-24 11:19:53 UTC",
    "User": "root"
  },
  "Author": "Gert van Valkenhoef [aut, cre, cph],\nTommi Tervonen [aut]",
  "Maintainer": "Gert van Valkenhoef <gert@gertvv.nl>",
  "_user": "gertvv",
  "_type": "src",
  "_file": "hitandrun_0.5-6.tar.gz",
  "_fileid": "https://r2.ropensci.org/75e4bb4c9ff1315e5f18ea3c02fe71423a6c875a5474904f08c2e98823bd57b4",
  "_filesize": 252734,
  "_sha256": "75e4bb4c9ff1315e5f18ea3c02fe71423a6c875a5474904f08c2e98823bd57b4",
  "_expires": "2026-10-12T19:35:57.000Z",
  "_created": "2026-06-24T11:19:53.000Z",
  "_published": "2026-07-04T19:35:58.768Z",
  "_jobs": [
    {
      "job": 85161039581,
      "time": 125,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7847994389"
    },
    {
      "job": 85161039448,
      "time": 128,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7847994811"
    },
    {
      "job": 85161039641,
      "time": 123,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7847993649"
    },
    {
      "job": 85161039490,
      "time": 172,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7848009331"
    },
    {
      "job": 85161039644,
      "time": 184,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7848003187"
    },
    {
      "job": 85161039666,
      "time": 201,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7848015322"
    },
    {
      "job": 85161039559,
      "time": 129,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7847985419"
    },
    {
      "job": 85161039493,
      "time": 255,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7848025689"
    },
    {
      "job": 85161039381,
      "time": 168,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7847948284"
    },
    {
      "job": 85161039544,
      "time": 93,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7847981815"
    },
    {
      "job": 85161039546,
      "time": 67,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7847972688"
    },
    {
      "job": 85161039563,
      "time": 102,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7847984860"
    },
    {
      "job": 85161039607,
      "time": 74,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7847974919"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/gertvv/actions/runs/28094641831",
  "_status": "success",
  "_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
  },
  "_distro": "resolute",
  "_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",
    "followers": 52
  },
  "_downloads": {
    "count": 1470,
    "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.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    }
  ],
  "_score": 7.048313749377239,
  "_indexed": true,
  "_nocasepkg": "hitandrun",
  "_universes": [
    "gertvv"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5-6",
      "date": "2026-06-24T11:22:15.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "https://r2.ropensci.org/2f52e0c107965e0e24586d8eb887ff67843493ce97ab2bfb11cebfa3dff04452",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/28094641831"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5-6",
      "date": "2026-06-24T11:22:12.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "https://r2.ropensci.org/f43ea0e2c908678b64653271d4152731b228948bd9660e7293ec62d48c141852",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/28094641831"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5-6",
      "date": "2026-06-24T11:22:12.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "https://r2.ropensci.org/1fb34aeaa65107e4d12a29329eca8283c43da5284ddfb43527f3defadd3c61c8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/28094641831"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5-6",
      "date": "2026-06-24T11:22:53.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "https://r2.ropensci.org/c7ff83182ab4a0a18de35b50eab81064f96c7b4cf0770ff6d5b5e5435fb6bf48",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/28094641831"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5-6",
      "date": "2026-06-24T11:22:33.000Z",
      "arch": "aarch64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "https://r2.ropensci.org/fbf4d97d5b6d93436e6d1972d88739743fbb2b4a6854a06cd1ee556eef350efc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/28094641831"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5-6",
      "date": "2026-06-24T11:23:04.000Z",
      "arch": "x86_64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "https://r2.ropensci.org/dbce2bfae8b8fdf61ee438a2cf2095060a0e457eaa950002b5a4a582e3d6afc8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/28094641831"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.5-6",
      "date": "2026-06-24T11:21:46.000Z",
      "arch": "aarch64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "https://r2.ropensci.org/7dfa5f4c7d5c1eeaa63aed38811cc504998bd9b482100f976ea6533ca845e369",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/28094641831"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.5-6",
      "date": "2026-06-24T11:23:24.000Z",
      "arch": "x86_64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "https://r2.ropensci.org/03fa4c10d4d426a129cb0a08c52b77042ed0514e4b93c28233314e4766466e9b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/28094641831"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5-6",
      "date": "2026-06-24T11:21:44.000Z",
      "arch": "emscripten",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "https://r2.ropensci.org/fbac5a937a56668109eca4a72a14d596c5bbd8c4aeb203cb07fd376ff00ef0b6",
      "status": "success",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/28094641831"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5-6",
      "date": "2026-06-24T11:20:57.000Z",
      "arch": "x86_64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "https://r2.ropensci.org/f1e605e8ba5e05a7fefdbbd0468c77f9bc8545dcf80cfc06f5bda25854f27165",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/28094641831"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5-6",
      "date": "2026-06-24T11:21:10.000Z",
      "arch": "x86_64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "https://r2.ropensci.org/674d6ad25e33f9156fa02c3f82389925cd030b93bc7adf59aed98beb560d568f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/28094641831"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.5-6",
      "date": "2026-06-24T11:20:59.000Z",
      "arch": "x86_64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "https://r2.ropensci.org/c238d9b9fabe4fcc85bf1d37597fdaa2ef672fa63a1dc1e444d96b089d9f84dc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/28094641831"
    }
  ]
}