{
  "_id": "6ae1bb9b327abcdf8686437e",
  "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-10-28 08:59:28 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",
  "_user": "cran",
  "_type": "src",
  "_file": "hitandrun_0.5-6.tar.gz",
  "_fileid": "https://r2.ropensci.org/9c5306e0cf3fadf37a3b59340c949178ccfc76d0af765d1a61963864e1208573",
  "_filesize": 251054,
  "_sha256": "9c5306e0cf3fadf37a3b59340c949178ccfc76d0af765d1a61963864e1208573",
  "_expires": "2027-02-05T09:05:46.000Z",
  "_created": "2026-10-28T08:59:28.000Z",
  "_published": "2026-10-28T09:08:43.043Z",
  "_upstream": "https://github.com/cran/hitandrun",
  "_status": "success",
  "_maintainer": {
    "name": "Gert van Valkenhoef",
    "email": "gert@gertvv.nl",
    "login": "gertvv",
    "description": "",
    "uuid": 80785
  },
  "_jobs": [
    {
      "job": 122723109666,
      "time": 75,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12803553067"
    },
    {
      "job": 122723109636,
      "time": 97,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12803403649"
    },
    {
      "job": 122723109627,
      "time": 74,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12803920980"
    },
    {
      "job": 122723109601,
      "time": 340,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12804331267"
    },
    {
      "job": 122722025669,
      "time": 157,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12804110479"
    },
    {
      "job": 122723109511,
      "time": 101,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12803955985"
    },
    {
      "job": 122723109662,
      "time": 212,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12804520522"
    },
    {
      "job": 122723109676,
      "time": 103,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12804095485"
    },
    {
      "job": 122723109628,
      "time": 193,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12804665211"
    },
    {
      "job": 122723109560,
      "time": 75,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12803409651"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/40660446421",
  "_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
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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",
    "followers": 634,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 1508,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/hitandrun"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/gertvv/hitandrun",
  "_searchresults": 0,
  "_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"
  ],
  "_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.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    }
  ],
  "_score": 2.7347038423010424,
  "_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-10-28T09:00:56.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "f999355267f8e3dab25ff4617291cc61c5cbf87a",
      "fileid": "https://r2.ropensci.org/9e8be2e3472760fbf84f69154fea66b3efb4fa7551310a58303d989a0db6a7ed",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40660446421"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5-6",
      "date": "2026-10-28T09:01:12.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "f999355267f8e3dab25ff4617291cc61c5cbf87a",
      "fileid": "https://r2.ropensci.org/2b0324183d5c4341e6c71a27d9398c959ae323e62bccc482b594dc50938ab77f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40660446421"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.5-6",
      "date": "2026-10-28T09:00:56.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "f999355267f8e3dab25ff4617291cc61c5cbf87a",
      "fileid": "https://r2.ropensci.org/1163a5444adf3283426e2071fb1149aa70f835c429c697addf8ffd40c3e640ee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40660446421"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.5-6",
      "date": "2026-10-28T09:02:28.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "f999355267f8e3dab25ff4617291cc61c5cbf87a",
      "fileid": "https://r2.ropensci.org/b1d2829123343f3e02f09f5c7b287ecc440d03631fccd5d05f880d6522747183",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40660446421"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5-6",
      "date": "2026-10-28T09:01:27.000Z",
      "arch": "emscripten",
      "commit": "f999355267f8e3dab25ff4617291cc61c5cbf87a",
      "fileid": "https://r2.ropensci.org/4d7b291c0cf71964ab26a81afd596c5eb7fd8b58d4f97c12196626f4dac92098",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40660446421"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5-6",
      "date": "2026-10-28T09:02:56.000Z",
      "arch": "aarch64",
      "commit": "f999355267f8e3dab25ff4617291cc61c5cbf87a",
      "fileid": "https://r2.ropensci.org/902a1d14dd7810111329f83477b86eff75509b9c985f34f32760f056ffff6ff6",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40660446421"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5-6",
      "date": "2026-10-28T09:00:29.000Z",
      "arch": "x86_64",
      "commit": "f999355267f8e3dab25ff4617291cc61c5cbf87a",
      "fileid": "https://r2.ropensci.org/a4058f8b077b646207ea62ae6d68029ea669f72e409a8395787d17ef5cf4ffac",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40660446421"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.5-6",
      "date": "2026-10-28T09:02:37.000Z",
      "arch": "aarch64",
      "commit": "f999355267f8e3dab25ff4617291cc61c5cbf87a",
      "fileid": "https://r2.ropensci.org/2fc73e29d2af91c805da7c0b765b55cdc99660d44f0c46c5211836d521d0d874",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40660446421"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.5-6",
      "date": "2026-10-28T09:00:36.000Z",
      "arch": "x86_64",
      "commit": "f999355267f8e3dab25ff4617291cc61c5cbf87a",
      "fileid": "https://r2.ropensci.org/7d866ecfd86a8025070a978e03f922f8892a557151ecec82d416a52d6aa5a8cb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40660446421"
    }
  ]
}