{
  "_id": "6afc326f69eab6fdff2d7553",
  "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-11-17 10:24:30 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>)",
  "_user": "pierreroudier",
  "_type": "src",
  "_file": "clhs_0.9.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/c5680ce30c40519d496504c4a6740ca6ba956153a8c2a1e92ec5f726475f1cda",
  "_filesize": 631403,
  "_sha256": "c5680ce30c40519d496504c4a6740ca6ba956153a8c2a1e92ec5f726475f1cda",
  "_expires": "2027-02-25T10:54:37.000Z",
  "_created": "2026-11-17T10:24:30.000Z",
  "_published": "2026-11-17T10:54:39.102Z",
  "_upstream": "https://github.com/pierreroudier/clhs",
  "_status": "success",
  "_maintainer": {
    "name": "Pierre Roudier",
    "email": "roudierp@landcareresearch.co.nz",
    "login": "pierreroudier",
    "description": "",
    "uuid": 515259
  },
  "_jobs": [
    {
      "job": 133975213935,
      "time": 282,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "14319323586"
    },
    {
      "job": 133975213760,
      "time": 321,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "14320815239"
    },
    {
      "job": 133975213768,
      "time": 234,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14319448755"
    },
    {
      "job": 133975213781,
      "time": 234,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14320042300"
    },
    {
      "job": 133975213825,
      "time": 230,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14320103987"
    },
    {
      "job": 133975213814,
      "time": 460,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14321393095"
    },
    {
      "job": 133975214067,
      "time": 292,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14321866840"
    },
    {
      "job": 133975213697,
      "time": 438,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14321695728"
    },
    {
      "job": 133972690941,
      "time": 279,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14318199929"
    },
    {
      "job": 133975213683,
      "time": 141,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14318649662"
    },
    {
      "job": 133975213797,
      "time": 488,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "14320122762"
    },
    {
      "job": 133975213945,
      "time": 225,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "14320486046"
    },
    {
      "job": 133975213898,
      "time": 223,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14319348698"
    },
    {
      "job": 133975213727,
      "time": 477,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14318909977"
    },
    {
      "job": 133975213756,
      "time": 291,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14318834554"
    }
  ],
  "_buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/44063904265",
  "_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
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": [],
  "_tags": [],
  "_stars": 14,
  "_contributors": [
    {
      "user": "pierreroudier",
      "count": 185,
      "uuid": 515259
    },
    {
      "user": "kdaust",
      "count": 32,
      "uuid": 34073038
    },
    {
      "user": "brownag",
      "count": 14,
      "uuid": 20842828
    },
    {
      "user": "benjaminlouis",
      "count": 14,
      "uuid": 40994689
    },
    {
      "user": "david-clifford",
      "count": 5,
      "uuid": 7052396
    },
    {
      "user": "dylanbeaudette",
      "count": 2,
      "uuid": 624277
    },
    {
      "user": "andrewbrown-usda",
      "count": 1,
      "uuid": 302319657
    }
  ],
  "_userbio": {
    "uuid": 515259,
    "type": "user",
    "name": "Pierre Roudier",
    "followers": 79
  },
  "_downloads": {
    "count": 1104,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/clhs"
  },
  "_mentions": 2,
  "_devurl": "https://github.com/pierreroudier/clhs",
  "_topics": [
    "cpp"
  ],
  "_abi": {
    "exports": [],
    "imports": [
      {
        "key": "Rcpp::Rcpp_precious_preserve()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::Rcpp_precious_remove()",
        "hash": "63d26947ba7e1377"
      },
      {
        "key": "Rcpp::dataptr()",
        "hash": "54e69ad2e6668c83"
      },
      {
        "key": "Rcpp::demangle()",
        "hash": "b0cfd6754c5ebc4e"
      },
      {
        "key": "Rcpp::enterRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::exitRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::rcpp_get_stack_trace()",
        "hash": "c684a9bbe15cdc52"
      },
      {
        "key": "Rcpp::rcpp_set_stack_trace()",
        "hash": "33a97ea62b293da6"
      }
    ]
  },
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/clhs.html",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_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",
    "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": "16-20260322-1ubuntu1",
      "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": 6.745399609838706,
  "_indexed": true,
  "_nocasepkg": "clhs",
  "_universes": [
    "pierreroudier"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.9.2",
      "date": "2026-11-17T10:27:44.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "https://r2.ropensci.org/0b712cc37649b2e54a239ca0491db875f82aebe4dd6194c13f9301bf18b7910f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/44063904265"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.9.2",
      "date": "2026-11-17T10:27:47.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "https://r2.ropensci.org/86e144f93d0724719dbf8e0a073f8b8f67e73a3096eceebc684de6051e48ebac",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/44063904265"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.9.2",
      "date": "2026-11-17T10:27:07.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "https://r2.ropensci.org/9d483b7c2fa5f22ca2f6606fba3bce8bf506ebb395760a4f95cadad455c660cd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/44063904265"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.9.2",
      "date": "2026-11-17T10:27:28.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "https://r2.ropensci.org/920e4c4f887fe9db3f3f751419941bb2da518922b93bd44a7717b6d76eed212c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/44063904265"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.9.2",
      "date": "2026-11-17T10:43:06.000Z",
      "arch": "aarch64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "https://r2.ropensci.org/9e8b24fa5558f22468480b3771727ca46d8558e56d98f2229f8fea3fa8d5740c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/44063904265"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.9.2",
      "date": "2026-11-17T10:48:22.000Z",
      "arch": "x86_64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "https://r2.ropensci.org/3ba813d1b7edb573921d10d6673dd0d22125148e007254b4f0ad14282dec8525",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/44063904265"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.9.2",
      "date": "2026-11-17T10:51:19.000Z",
      "arch": "aarch64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "https://r2.ropensci.org/0f120a4abbe6df590b9215f79b67b9e8e1d810e2ec79c8ada70811bb98b64ac6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/44063904265"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.9.2",
      "date": "2026-11-17T10:40:47.000Z",
      "arch": "x86_64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "https://r2.ropensci.org/57b468b848ee52c32e86a8ebf1f27e7ff121b2f211c618d14415f6dbbe7dce91",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/44063904265"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.9.2",
      "date": "2026-11-17T10:27:29.000Z",
      "arch": "emscripten",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "https://r2.ropensci.org/318fd63a97c4ddaaae9bc1cb6561638ffc646a7469c79a48caa9e37bfcbac780",
      "status": "success",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/44063904265"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.9.2",
      "date": "2026-11-17T10:30:04.000Z",
      "arch": "aarch64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "https://r2.ropensci.org/a5846f0973323e0a744131fd89a707d270b09c46262f873fc3895f2251f3122c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/44063904265"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.9.2",
      "date": "2026-11-17T10:26:14.000Z",
      "arch": "x86_64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "https://r2.ropensci.org/597839e856298c2458e81201cd0ed82cc5ac98b703ea089e6b507e2ac8a4d0e4",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/44063904265"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.9.2",
      "date": "2026-11-17T10:26:16.000Z",
      "arch": "x86_64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "https://r2.ropensci.org/f0cfbe2c7cb2e3274d6d494b4185e70b913c1f39bb7e88e6fce8305b7edcb312",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/44063904265"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.9.2",
      "date": "2026-11-17T10:29:50.000Z",
      "arch": "aarch64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "https://r2.ropensci.org/75cdca810cf4424fa43e81553e347c80c7ccffa91596dc3ac023347dc68bd8d4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/44063904265"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.9.2",
      "date": "2026-11-17T10:26:18.000Z",
      "arch": "x86_64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "https://r2.ropensci.org/23511e4296ee2eb53ebd87fa6935a2ee992fded332c6f620319d625278737db5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/44063904265"
    }
  ]
}