{
  "_id": "6a633863d3420cf5dfdb8c57",
  "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-07-24 07:56:51 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/df4cabee6ca0fe2e70ad368596d2e2def31186be848f65f13ed1a1fa8784575f",
  "_filesize": 252024,
  "_sha256": "df4cabee6ca0fe2e70ad368596d2e2def31186be848f65f13ed1a1fa8784575f",
  "_expires": "2026-11-01T10:03:13.000Z",
  "_created": "2026-07-24T07:56:51.000Z",
  "_published": "2026-07-24T10:03:15.429Z",
  "_jobs": [
    {
      "job": 89430471818,
      "time": 104,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8590359109"
    },
    {
      "job": 89430471833,
      "time": 125,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8590365004"
    },
    {
      "job": 89430471862,
      "time": 102,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8590357102"
    },
    {
      "job": 89430471844,
      "time": 115,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8590362020"
    },
    {
      "job": 89430471775,
      "time": 180,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8592949631"
    },
    {
      "job": 89430471787,
      "time": 166,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8593237651"
    },
    {
      "job": 89430471774,
      "time": 115,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8593154944"
    },
    {
      "job": 89430471784,
      "time": 131,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8593218855"
    },
    {
      "job": 89429806710,
      "time": 220,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8590318600"
    },
    {
      "job": 89430471748,
      "time": 107,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8590358942"
    },
    {
      "job": 89430471770,
      "time": 85,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8590351160"
    },
    {
      "job": 89430471765,
      "time": 78,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8590348807"
    },
    {
      "job": 89430471785,
      "time": 91,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8590353705"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/gertvv/actions/runs/30076962084",
  "_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": 1174,
    "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.1",
  "_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": 6.950664511540658,
  "_indexed": true,
  "_nocasepkg": "hitandrun",
  "_universes": [
    "gertvv"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5-6",
      "date": "2026-07-24T07:58:55.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "https://r2.ropensci.org/7549d884396de919807d63dcf6bc4c32e7734ccbaac8373c5abdbd5020acc0fa",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/30076962084"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5-6",
      "date": "2026-07-24T07:59:07.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "https://r2.ropensci.org/e53732b86d2b1a6cd26fa456be02e42351510387608e18ee5900e7ab6bfc6aa3",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/30076962084"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.5-6",
      "date": "2026-07-24T07:58:49.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "https://r2.ropensci.org/1b8113d886524d1d576b2333e97ec42c13aeb63069a641c0755beec5a0d7ea0c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/30076962084"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.5-6",
      "date": "2026-07-24T07:59:00.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "https://r2.ropensci.org/e8c7ff39d56b8e145a75ddb55584d22a855183472cc64b96b1bf65d5a981aedd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/30076962084"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5-6",
      "date": "2026-07-24T09:50:27.000Z",
      "arch": "aarch64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "https://r2.ropensci.org/82d1bf9096da93511b9b481402dec02455f9f70491dffbcf64d301d127eb975f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/30076962084"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5-6",
      "date": "2026-07-24T10:02:25.000Z",
      "arch": "x86_64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "https://r2.ropensci.org/f1f51db2d4ebf90604bb65ce1f54b3a4ae603103f24da3fa1971952f7faf7452",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/30076962084"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.5-6",
      "date": "2026-07-24T09:59:07.000Z",
      "arch": "aarch64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "https://r2.ropensci.org/eb4daa27c33347e398ed8602e38707c1b6866585d12d6caab6e850ee8ea0bca0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/30076962084"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.5-6",
      "date": "2026-07-24T10:01:39.000Z",
      "arch": "x86_64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "https://r2.ropensci.org/133a88829738577802b0e19c2989c563e51cfbddaf09548589fa6891b806d395",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/30076962084"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5-6",
      "date": "2026-07-24T07:58:59.000Z",
      "arch": "emscripten",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "https://r2.ropensci.org/c0f72bcf4de1264f5acd5dbea767a7603d6102b5ebc377efabfc74334417447b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/30076962084"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5-6",
      "date": "2026-07-24T07:58:13.000Z",
      "arch": "x86_64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "https://r2.ropensci.org/263b067e94c93292915d8994281c10eb26c316c0ff6f74f9d87d7c6369f0c66b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/30076962084"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5-6",
      "date": "2026-07-24T07:58:07.000Z",
      "arch": "x86_64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "https://r2.ropensci.org/2d7751e0814042c2358ced13410ebc100cc9fb59201716b863a54345ba28484c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/30076962084"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.5-6",
      "date": "2026-07-24T07:58:19.000Z",
      "arch": "x86_64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "https://r2.ropensci.org/986e07e5155b1564a51865d9d559e52af8cd3480ae3bdb896728ab20ed82a355",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/30076962084"
    }
  ]
}