{
  "_id": "6ac38119afd9914e452d37fe",
  "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-10-05 10:43:16 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/f9b21bbe95cd66ac90d656a8df409250fcebd9d926a598820a53f2ab4af1b265",
  "_filesize": 251368,
  "_sha256": "f9b21bbe95cd66ac90d656a8df409250fcebd9d926a598820a53f2ab4af1b265",
  "_expires": "2027-01-13T10:51:03.000Z",
  "_created": "2026-10-05T10:43:16.000Z",
  "_published": "2026-10-05T10:51:05.022Z",
  "_jobs": [
    {
      "job": 111725067027,
      "time": 84,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11340198330"
    },
    {
      "job": 111725067117,
      "time": 109,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11340103558"
    },
    {
      "job": 111725067087,
      "time": 86,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11339983572"
    },
    {
      "job": 111725067076,
      "time": 105,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11339429063"
    },
    {
      "job": 111725067018,
      "time": 190,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11340613513"
    },
    {
      "job": 111725067120,
      "time": 426,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11339514597"
    },
    {
      "job": 111725067220,
      "time": 128,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11340393327"
    },
    {
      "job": 111725067114,
      "time": 417,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11339449444"
    },
    {
      "job": 111723795547,
      "time": 221,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11340128098"
    },
    {
      "job": 111725067148,
      "time": 105,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11339948408"
    },
    {
      "job": 111725067361,
      "time": 317,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11339984220"
    },
    {
      "job": 111725067073,
      "time": 106,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11340638121"
    },
    {
      "job": 111725067160,
      "time": 67,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11340613220"
    },
    {
      "job": 111725067141,
      "time": 346,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11340049337"
    },
    {
      "job": 111725067113,
      "time": 71,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11339963410"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/gertvv/actions/runs/37297973996",
  "_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": 54
  },
  "_downloads": {
    "count": 2011,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/hitandrun"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/gertvv/hitandrun",
  "_searchresults": 114,
  "_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/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_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.120739405356427,
  "_indexed": true,
  "_nocasepkg": "hitandrun",
  "_universes": [
    "gertvv"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5-6",
      "date": "2026-10-05T10:44:57.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "https://r2.ropensci.org/fa525eae6b96eb08ab43abafd639023ca06dd94b13ce20bfb13309234ac658b6",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/37297973996"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5-6",
      "date": "2026-10-05T10:45:26.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "https://r2.ropensci.org/98faac3f12de2a303ad7071cb453149d24d4ba15b86ed4b1810ca0ac1808ae08",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/37297973996"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.5-6",
      "date": "2026-10-05T10:45:00.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "https://r2.ropensci.org/e35574ec153cc875c39b317a84a1d9a2090243d8bff561f8382e8b4a03324dc3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/37297973996"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.5-6",
      "date": "2026-10-05T10:45:13.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "https://r2.ropensci.org/04038707e94e611a330e680e1aaf8a90fadb244c795cb5ec31cd152de72a718f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/37297973996"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5-6",
      "date": "2026-10-05T10:46:12.000Z",
      "arch": "aarch64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "https://r2.ropensci.org/129bd66eb67388adebb7ccda62fdf2ab3a15a0bac907951db0ed18f8a84872e1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/37297973996"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5-6",
      "date": "2026-10-05T10:49:26.000Z",
      "arch": "x86_64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "https://r2.ropensci.org/c84b22abe53a9884390196482412728c137a8f9d961dd2aa846891ac4fb668a2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/37297973996"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.5-6",
      "date": "2026-10-05T10:45:16.000Z",
      "arch": "aarch64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "https://r2.ropensci.org/18538cbd5ae0e148273d6eb238e27b8922aa10dd356adf32cad975260b60ccf3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/37297973996"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.5-6",
      "date": "2026-10-05T10:48:27.000Z",
      "arch": "x86_64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "https://r2.ropensci.org/9c20f0334593f90a1d4061a020dd33b90623dd079eb890fd1560c82bc107610d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/37297973996"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5-6",
      "date": "2026-10-05T10:45:22.000Z",
      "arch": "emscripten",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "https://r2.ropensci.org/ee354db85c2b7431e0eeda875ec8769d04f9d5a6a3240fbd108cf729befdacc5",
      "status": "success",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/37297973996"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5-6",
      "date": "2026-10-05T10:48:00.000Z",
      "arch": "aarch64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "https://r2.ropensci.org/0c7f8ec7bb871322ad0826c061f6928ed487c2e7b9a6c18d11182edf83a53e81",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/37297973996"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5-6",
      "date": "2026-10-05T10:44:23.000Z",
      "arch": "x86_64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "https://r2.ropensci.org/e614841f028d3fb1df8f2b14d0c501786857930a7488074838240e97fc208ee8",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/37297973996"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5-6",
      "date": "2026-10-05T10:44:22.000Z",
      "arch": "x86_64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "https://r2.ropensci.org/7769d3d6d44bf9242dd60f0ca10f5924467d9450bdc871533f581b4e2ebd5084",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/37297973996"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.5-6",
      "date": "2026-10-05T10:48:39.000Z",
      "arch": "aarch64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "https://r2.ropensci.org/75bd9ff72678bb1a9b6d25116f83eeb97542a823c786c97fc0d782b35ff3dba2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/37297973996"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.5-6",
      "date": "2026-10-05T10:44:28.000Z",
      "arch": "x86_64",
      "commit": "e19dfd7cced45e6714123531ad3e02f25f98a2f3",
      "fileid": "https://r2.ropensci.org/0b4a7f99ef2cff201131e74d510b8049e7386e02ddac00f3fc183db1ab770cf1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gertvv/actions/runs/37297973996"
    }
  ]
}