{
  "_id": "6a12a01facfb0bcc41d10706",
  "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",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-24 06:49:29 UTC",
    "User": "root"
  },
  "Author": "Gert van Valkenhoef [aut, cre, cph], Tommi Tervonen [aut]",
  "Maintainer": "Gert van Valkenhoef <gert@gertvv.nl>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2022-05-27 12:10:02 UTC",
  "RemoteUrl": "https://github.com/cran/hitandrun",
  "RemoteRef": "HEAD",
  "RemoteSha": "f999355267f8e3dab25ff4617291cc61c5cbf87a",
  "MD5sum": "5a2b605a5d5d55e1dad3710567d8affe",
  "_user": "cran",
  "_type": "src",
  "_file": "hitandrun_0.5-6.tar.gz",
  "_fileid": "e44d2f095a9bfc2a3a623d85f4c329ed8f9e20b9af3a30f3fe0d43dcd93a1469",
  "_filesize": 251659,
  "_sha256": "e44d2f095a9bfc2a3a623d85f4c329ed8f9e20b9af3a30f3fe0d43dcd93a1469",
  "_created": "2026-05-24T06:49:29.000Z",
  "_published": "2026-05-24T06:52:15.289Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77578403487,
      "time": 117,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7183016916"
    },
    {
      "job": 77578403488,
      "time": 117,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7183017078"
    },
    {
      "job": 77578403484,
      "time": 112,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183016441"
    },
    {
      "job": 77578403482,
      "time": 121,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183017385"
    },
    {
      "job": 77578219145,
      "time": 207,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183003911"
    },
    {
      "job": 77578403465,
      "time": 121,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183017243"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26354344995",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/hitandrun",
  "_commit": {
    "id": "f999355267f8e3dab25ff4617291cc61c5cbf87a",
    "author": "Gert van Valkenhoef <gert@gertvv.nl>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.5-6\n",
    "time": 1653653402
  },
  "_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": "cran",
  "_selfowned": false,
  "_usedby": 12,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "gertvv",
      "count": 14,
      "uuid": 80785
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 1449,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/hitandrun"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/gertvv/hitandrun",
  "_searchresults": 123,
  "_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",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/gertvv/hitandrun",
  "_realowner": "gertvv",
  "_cranurl": false,
  "_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"
      ]
    }
  ],
  "_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": 3.80727599767786,
  "_indexed": false,
  "_nocasepkg": "hitandrun",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://gertvv.r-universe.dev/hitandrun",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5-6",
      "date": "2026-05-24T06:51:44.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "f999355267f8e3dab25ff4617291cc61c5cbf87a",
      "fileid": "6f7cf60dda478528f24f0325d7f0a89614730eed481a7e49c4eda2834f504c85",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26354344995"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5-6",
      "date": "2026-05-24T06:51:44.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "f999355267f8e3dab25ff4617291cc61c5cbf87a",
      "fileid": "8456d834bbb811dc321cd1f21f699bb4d1851493199c421cfbc213d5d9dcd58b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26354344995"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5-6",
      "date": "2026-05-24T06:51:39.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "f999355267f8e3dab25ff4617291cc61c5cbf87a",
      "fileid": "62d50d5381aca521586637d443290e8a5f54177d60dfb9a8fbeeeca551fcb836",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26354344995"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5-6",
      "date": "2026-05-24T06:51:46.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "f999355267f8e3dab25ff4617291cc61c5cbf87a",
      "fileid": "c1a06139f3caeeec5f378868937177cef6ff089e68bfc076b01b7f9ed5c979e3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26354344995"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5-6",
      "date": "2026-05-24T06:51:54.000Z",
      "arch": "emscripten",
      "commit": "f999355267f8e3dab25ff4617291cc61c5cbf87a",
      "fileid": "8e43366450392443497e9bc31f8656703d4ba6baa3dec6c1e4385a5e462a3ca5",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26354344995"
    }
  ]
}