{
  "_id": "6a0f609eacfb0bcc41c5baff",
  "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-05-21 10:55:24 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": "12af931d2e8055c9572f7dd8b076c621",
  "_user": "pierreroudier",
  "_type": "src",
  "_file": "clhs_0.9.2.tar.gz",
  "_fileid": "af181381a1012bc34ab87db79876045c5e9c5b625e6f90bae9f50944f97f988e",
  "_filesize": 633439,
  "_sha256": "af181381a1012bc34ab87db79876045c5e9c5b625e6f90bae9f50944f97f988e",
  "_created": "2026-05-21T10:55:24.000Z",
  "_published": "2026-05-21T19:44:30.009Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77254705366,
      "time": 255,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7133955412"
    },
    {
      "job": 77254705260,
      "time": 276,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7133961964"
    },
    {
      "job": 77254705440,
      "time": 252,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7133954793"
    },
    {
      "job": 77254705182,
      "time": 281,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7133963436"
    },
    {
      "job": 77254705151,
      "time": 147,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7134134271"
    },
    {
      "job": 77254705119,
      "time": 384,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7134174115"
    },
    {
      "job": 77254705101,
      "time": 188,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7134147701"
    },
    {
      "job": 77254705138,
      "time": 526,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7134210363"
    },
    {
      "job": 77254704774,
      "time": 285,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7133873347"
    },
    {
      "job": 77254704582,
      "time": 137,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7145570486"
    },
    {
      "job": 77254704863,
      "time": 272,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7133960778"
    },
    {
      "job": 77254705446,
      "time": 277,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7133962419"
    },
    {
      "job": 77254705084,
      "time": 264,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7133958137"
    }
  ],
  "_buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/26221454842",
  "_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-22",
      "n": 2
    },
    {
      "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"
  },
  "_downloads": {
    "count": 814,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/clhs"
  },
  "_mentions": 2,
  "_devurl": "https://github.com/pierreroudier/clhs",
  "_searchresults": 142,
  "_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.25265888950062,
  "_indexed": true,
  "_nocasepkg": "clhs",
  "_universes": [
    "pierreroudier"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.9.2",
      "date": "2026-05-21T10:58:08.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "42bfda70cd919c240f05dcfee72e6cd999cefd9dffc58b3a8fc093da4425f8af",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/26221454842"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.9.2",
      "date": "2026-05-21T10:58:18.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "3f46beef381ed9743af0fd669c89abe805561d02303be5cc1f138d6306747797",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/26221454842"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.9.2",
      "date": "2026-05-21T10:58:15.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "90d98ffdd4bf0916405a76d7868b658bf72da2897885b193a484473a69aa73e0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/26221454842"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.9.2",
      "date": "2026-05-21T10:58:19.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "aca5a8ece421183cd0f42263ac13d00140362a70351327fa05d0536123ffbc9b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/26221454842"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.9.2",
      "date": "2026-05-21T11:08:13.000Z",
      "arch": "aarch64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "f7ce2de69c0b6f6bb70f39b4588750b6e519730511b819e359c4e51431409750",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/26221454842"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.9.2",
      "date": "2026-05-21T11:07:39.000Z",
      "arch": "x86_64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "f23220e8f56eb559da01443fa9b9235ec6253c419c32369aa32b1a07b48f2ca3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/26221454842"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.9.2",
      "date": "2026-05-21T11:08:26.000Z",
      "arch": "aarch64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "e149567827433698e4d39cc35385e84dba785e41ca283320f79c4200c47c77a7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/26221454842"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.9.2",
      "date": "2026-05-21T11:08:31.000Z",
      "arch": "x86_64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "09414e328c449d009e1c231dfd71466b5548717e3d265b7e0be4e5fca8017011",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/26221454842"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.9.2",
      "date": "2026-05-21T19:43:51.000Z",
      "arch": "emscripten",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "d7707473b741f74612de5d0391ed3e44befeecb88c9c47606b777b9b6d40a83f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/26221454842"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.9.2",
      "date": "2026-05-21T10:57:23.000Z",
      "arch": "x86_64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "c5e710daee1de0efbd8b4f5c4e73669712c84cf22427256b588174c583093170",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/26221454842"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.9.2",
      "date": "2026-05-21T10:57:12.000Z",
      "arch": "x86_64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "9b37bfacdb1f018ff773d3a0b3b943eaf24f729b91aa21ce38dab90e0f1a5fee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/26221454842"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.9.2",
      "date": "2026-05-21T10:57:39.000Z",
      "arch": "x86_64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "24865409e6dd25bb973b4150eeae38ef88633a34d20f1c2d08c54422b938253b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/26221454842"
    }
  ]
}