{
  "_id": "6a3633dd3efcd9bda43f6aa6",
  "Package": "clhs",
  "Type": "Package",
  "Title": "Conditioned Latin Hypercube Sampling",
  "Version": "0.9.2",
  "Date": "2025-10-20",
  "Authors@R": "c(\nperson(\"Pierre\", \"Roudier\", email = \"roudierp@landcareresearch.co.nz\", role = c(\"aut\", \"cre\")),\nperson(\"Colby\", \"Brugnard\", email = \"cbrung@ad.nmsu.edu\", role = \"ctb\"),\nperson(\"Dylan\", \"Beaudette\", email = \"dylan.beaudette@ca.usda.gov\", role = \"ctb\"),\nperson(\"Benjamin\", \"Louis\", email = \"contact@benjaminlouis-stat.fr\", role = \"ctb\"),\nperson(\"Kiri\", \"Daust\", email = \"Kiri.Daust@gov.bc.ca\", role = \"ctb\"),\nperson(\"David\", \"Clifford\", email = \"david.clifford@gmail.com\", role = \"ctb\"),\nperson(\"Andrew\", \"Brown\", email = \"andrew.g.brown@usda.gov\", role = \"ctb\", comment = c(ORCID=\"0000-0002-4565-533X\")))",
  "Maintainer": "Pierre Roudier <roudierp@landcareresearch.co.nz>",
  "URL": "https://github.com/pierreroudier/clhs/",
  "BugReports": "https://github.com/pierreroudier/clhs/issues",
  "Description": "Conditioned Latin hypercube sampling, as published by\nMinasny and McBratney (2006) <DOI:10.1016/j.cageo.2005.12.009>.\nThis method proposes to stratify sampling in presence of\nancillary data. An extension of this method, which propose to\nassociate a cost to each individual and take it into account\nduring the optimisation process, is also proposed (Roudier et\nal., 2012, <DOI:10.1201/b12728>).",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "LazyLoad": "yes",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.2",
  "Collate": "'RcppExports.R' 'clhs-internal.R' 'clhs-data.frame.R'\n'clhs-package.R' 'clhs-raster.R' 'utils.R' 'clhs.R' 'clhs-sf.R'\n'clhs-sp.R' 'clhs-terra.R' 'plot.R' 'similarity.R'",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibicu-dev libssl-dev libproj-dev libsqlite3-dev\nlibudunits2-dev",
  "Repository": "https://pierreroudier.r-universe.dev",
  "Date/Publication": "2025-10-20 20:57:43 UTC",
  "RemoteUrl": "https://github.com/pierreroudier/clhs",
  "RemoteRef": "HEAD",
  "RemoteSha": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-20 06:16:44 UTC",
    "User": "root"
  },
  "Author": "Pierre Roudier [aut, cre],\nColby Brugnard [ctb],\nDylan Beaudette [ctb],\nBenjamin Louis [ctb],\nKiri Daust [ctb],\nDavid Clifford [ctb],\nAndrew Brown [ctb] (ORCID: <https://orcid.org/0000-0002-4565-533X>)",
  "MD5sum": "80ef349fc158e572a912eb2824876d09",
  "_user": "pierreroudier",
  "_type": "src",
  "_file": "clhs_0.9.2.tar.gz",
  "_fileid": "1c82b6c625cedafeacc2ba6e144d06289bed2894ff44702824c9a9fdbdf6a752",
  "_filesize": 633326,
  "_sha256": "1c82b6c625cedafeacc2ba6e144d06289bed2894ff44702824c9a9fdbdf6a752",
  "_created": "2026-06-20T06:16:44.000Z",
  "_published": "2026-06-20T06:31:57.942Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82461151480,
      "time": 271,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7762764264"
    },
    {
      "job": 82461151470,
      "time": 290,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7762766155"
    },
    {
      "job": 82461151475,
      "time": 247,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7762761548"
    },
    {
      "job": 82461151479,
      "time": 269,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7762763679"
    },
    {
      "job": 82461151448,
      "time": 165,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7762762895"
    },
    {
      "job": 82461151443,
      "time": 304,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7762771880"
    },
    {
      "job": 82461151463,
      "time": 152,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7762756891"
    },
    {
      "job": 82461151465,
      "time": 383,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7762777457"
    },
    {
      "job": 82460891137,
      "time": 249,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7762733066"
    },
    {
      "job": 82461151433,
      "time": 123,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7762746954"
    },
    {
      "job": 82461151447,
      "time": 859,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7762828492"
    },
    {
      "job": 82461151445,
      "time": 625,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7762802427"
    },
    {
      "job": 82461151444,
      "time": 280,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7762764957"
    }
  ],
  "_buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/27862546712",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/pierreroudier/clhs",
  "_commit": {
    "id": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
    "author": "Pierre Roudier <pierre.roudier@gmail.com>",
    "committer": "Pierre Roudier <pierre.roudier@gmail.com>",
    "message": "Updated README to something a bit more useful/up-to-date\n",
    "time": 1760993863
  },
  "_maintainer": {
    "name": "Pierre Roudier",
    "email": "roudierp@landcareresearch.co.nz",
    "login": "pierreroudier",
    "description": "",
    "uuid": 515259
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.14.0",
      "role": "Depends"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "grid",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "raster",
      "role": "Imports"
    },
    {
      "package": "reshape2",
      "role": "Imports"
    },
    {
      "package": "plyr",
      "role": "Imports"
    },
    {
      "package": "cluster",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "terra",
      "role": "Suggests"
    },
    {
      "package": "sp",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "pierreroudier",
  "_selfowned": true,
  "_usedby": 2,
  "_updates": [
    {
      "week": "2025-42",
      "n": 3
    },
    {
      "week": "2025-43",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 14,
  "_contributors": [
    {
      "user": "pierreroudier",
      "count": 185,
      "uuid": 515259
    },
    {
      "user": "kdaust",
      "count": 32,
      "uuid": 34073038
    },
    {
      "user": "brownag",
      "count": 15,
      "uuid": 20842828
    },
    {
      "user": "benjaminlouis",
      "count": 14,
      "uuid": 40994689
    },
    {
      "user": "david-clifford",
      "count": 5,
      "uuid": 7052396
    },
    {
      "user": "dylanbeaudette",
      "count": 2,
      "uuid": 624277
    }
  ],
  "_userbio": {
    "uuid": 515259,
    "type": "user",
    "name": "Pierre Roudier",
    "followers": 79
  },
  "_downloads": {
    "count": 662,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/clhs"
  },
  "_mentions": 2,
  "_devurl": "https://github.com/pierreroudier/clhs",
  "_searchresults": 149,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/clhs.html",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/pierreroudier/clhs",
  "_realowner": "pierreroudier",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.4-3",
      "date": "2012-01-13"
    },
    {
      "version": "0.5-0",
      "date": "2012-06-07"
    },
    {
      "version": "0.5-1",
      "date": "2012-09-10"
    },
    {
      "version": "0.5-4",
      "date": "2014-09-18"
    },
    {
      "version": "0.5-5",
      "date": "2015-12-18"
    },
    {
      "version": "0.5-6",
      "date": "2016-10-13"
    },
    {
      "version": "0.5-7",
      "date": "2017-09-11"
    },
    {
      "version": "0.6-0",
      "date": "2018-04-13"
    },
    {
      "version": "0.7-0",
      "date": "2018-10-10"
    },
    {
      "version": "0.7-2",
      "date": "2019-05-07"
    },
    {
      "version": "0.7-3",
      "date": "2020-04-15"
    },
    {
      "version": "0.8.1",
      "date": "2021-05-10"
    },
    {
      "version": "0.9.0",
      "date": "2021-10-14"
    },
    {
      "version": "0.9.2",
      "date": "2025-10-20"
    }
  ],
  "_exports": [
    "clhs",
    "similarity_buffer"
  ],
  "_help": [
    {
      "page": "clhs-package",
      "title": "Conditioned Latin Hypercube Sampling",
      "topics": [
        "clhs-package"
      ]
    },
    {
      "page": "clhs",
      "title": "Conditioned Latin Hypercube Sampling",
      "topics": [
        "clhs",
        "clhs.data.frame",
        "clhs.Raster",
        "clhs.sf",
        "clhs.SpatialPointsDataFrame"
      ]
    },
    {
      "page": "cLHS_result",
      "title": "Conditioned Latin Hypercube Sampling result",
      "topics": [
        "cLHS_result"
      ]
    },
    {
      "page": "CppLHS",
      "title": "This is the internal Cpp function used to run the metropolis hasting algorithm if use.cpp = T.  In general, it shouldn't be used as a stand alone function, because some preprocessing is done in R",
      "topics": [
        "CppLHS"
      ]
    },
    {
      "page": "plot.cLHS_result",
      "title": "Plot cLHS results",
      "topics": [
        "plot.cLHS_result"
      ]
    },
    {
      "page": "similarity_buffer",
      "title": "Gower similarity analysis",
      "topics": [
        "similarity_buffer"
      ]
    }
  ],
  "_readme": "https://github.com/pierreroudier/clhs/raw/HEAD/README.md",
  "_rundeps": [
    "class",
    "classInt",
    "cli",
    "cluster",
    "cpp11",
    "DBI",
    "e1071",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "KernSmooth",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "plyr",
    "proxy",
    "R6",
    "raster",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "reshape2",
    "rlang",
    "s2",
    "S7",
    "scales",
    "sf",
    "sp",
    "stringi",
    "stringr",
    "terra",
    "units",
    "vctrs",
    "viridisLite",
    "withr",
    "wk"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "intro-clhs.Rmd",
      "filename": "intro-clhs.html",
      "title": "Introduction to conditioned Latin hypercube sampling with the clhs package",
      "author": "Pierre Roudier",
      "engine": "knitr::rmarkdown",
      "headings": [
        "A simple example",
        "Tweaking the parameters",
        "Including existing samples in the sampling routine",
        "Cost-constrained implementation",
        "DLHS",
        "Plotting the results"
      ],
      "created": "2017-09-11 04:49:23",
      "modified": "2021-07-27 04:13:01",
      "commits": 7
    }
  ],
  "_score": 8.097465554474155,
  "_indexed": true,
  "_nocasepkg": "clhs",
  "_universes": [
    "pierreroudier"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.9.2",
      "date": "2026-06-20T06:19:21.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "f634e5aed0e09c1c1a5b5a196d02f69d075bc718c2a8cf3ad8e05aed8af0d4a7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/27862546712"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.9.2",
      "date": "2026-06-20T06:19:22.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "3902469f2561d2f7831a40955f88687e03b36236012451f3f13626660b64e72c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/27862546712"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.9.2",
      "date": "2026-06-20T06:19:19.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "fadec793411a23ec9f0194752433067e8ff4af72bddb1f93582f2ca33c783217",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/27862546712"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.9.2",
      "date": "2026-06-20T06:19:22.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "385c00b6971502370766071fa7bfa8b3919f6564e61e449509304ab1f4535f41",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/27862546712"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.9.2",
      "date": "2026-06-20T06:20:12.000Z",
      "arch": "aarch64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "49b7c4cfa492188f11fc3ad986f1762c95d01f2ab0b4e84218982ec33274af78",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/27862546712"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.9.2",
      "date": "2026-06-20T06:19:55.000Z",
      "arch": "x86_64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "809d6d570ab11800f54546e086612c535ec966571352e685b286e82463fe572b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/27862546712"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.9.2",
      "date": "2026-06-20T06:19:23.000Z",
      "arch": "aarch64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "d4f6b19e6465c4c4baa56db4aa7144fe7ff3a1085eb4b441197b4d3aaf1e4821",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/27862546712"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.9.2",
      "date": "2026-06-20T06:20:17.000Z",
      "arch": "x86_64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "198de119bbda00d44c230f4580bc15e90b66f23d4326c8afcde2f7e259565cf2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/27862546712"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.9.2",
      "date": "2026-06-20T06:19:08.000Z",
      "arch": "emscripten",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "8830b20572c4e27eb8268fbf2eadad60c2fb484bf6f5c5b71599b26986e29fca",
      "status": "success",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/27862546712"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.9.2",
      "date": "2026-06-20T06:28:09.000Z",
      "arch": "x86_64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "96ad81fa178be7d50020562beee7c58f0fe90420d14f8d1d897ad719d7b45385",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/27862546712"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.9.2",
      "date": "2026-06-20T06:25:47.000Z",
      "arch": "x86_64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "7cb1f73bb29f5c8d961131f513cb6517db73851d09175901fa62d45817c4a0cb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/27862546712"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.9.2",
      "date": "2026-06-20T06:18:14.000Z",
      "arch": "x86_64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "7f22cdcbc55af46a84b50972758c2be19a4e7135804c9f14067a4987e2b994d9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/27862546712"
    }
  ]
}