{
  "_id": "6a5dbc829baadeef8ab53edd",
  "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-07-20 06:06:43 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/ceefaf4dc17ec3bda4c79a6a5ba7a2e57b1f838a0fece43b3dd3346fdaf0aa85",
  "_filesize": 632601,
  "_sha256": "ceefaf4dc17ec3bda4c79a6a5ba7a2e57b1f838a0fece43b3dd3346fdaf0aa85",
  "_expires": "2026-10-28T06:13:20.000Z",
  "_created": "2026-07-20T06:06:43.000Z",
  "_published": "2026-07-20T06:13:22.328Z",
  "_jobs": [
    {
      "job": 88283199961,
      "time": 269,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8452349160"
    },
    {
      "job": 88283199977,
      "time": 315,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8452360906"
    },
    {
      "job": 88283199959,
      "time": 288,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8452354372"
    },
    {
      "job": 88283199981,
      "time": 304,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8452358147"
    },
    {
      "job": 88283199969,
      "time": 155,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8452316834"
    },
    {
      "job": 88283199994,
      "time": 332,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8452366065"
    },
    {
      "job": 88283199980,
      "time": 160,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8452318448"
    },
    {
      "job": 88283199968,
      "time": 322,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8452362753"
    },
    {
      "job": 88282572810,
      "time": 284,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8452274742"
    },
    {
      "job": 88283199937,
      "time": 164,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8452319502"
    },
    {
      "job": 88283199952,
      "time": 281,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8452351681"
    },
    {
      "job": 88283199946,
      "time": 228,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8452336980"
    },
    {
      "job": 88283199954,
      "time": 286,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8452352896"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/29720544871",
  "_status": "success",
  "_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
  },
  "_distro": "resolute",
  "_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": 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": 561,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/clhs"
  },
  "_mentions": 2,
  "_devurl": "https://github.com/pierreroudier/clhs",
  "_searchresults": 152,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_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": "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": 8.18530412005428,
  "_indexed": true,
  "_nocasepkg": "clhs",
  "_universes": [
    "pierreroudier"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.9.2",
      "date": "2026-07-20T06:09:51.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "https://r2.ropensci.org/9cdf92d7b01b57c0761be62794a6c23e268e9d043ad4a35387b4b0bdce49fd0b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/29720544871"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.9.2",
      "date": "2026-07-20T06:09:45.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "https://r2.ropensci.org/5e9db90701547a15f738d2c5db56585b616b387b4a109260f4bac68789445cbb",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/29720544871"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.9.2",
      "date": "2026-07-20T06:10:06.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "https://r2.ropensci.org/6a198035adf2818c77a5baa2f89aaf40ca1bc278ea6283edc27e96713bc93af6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/29720544871"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.9.2",
      "date": "2026-07-20T06:09:42.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "https://r2.ropensci.org/26ab0c4154d91a5e2b7627d5ceeb7aaea896a7703b9eb17278c32718803c45a6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/29720544871"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.9.2",
      "date": "2026-07-20T06:08:40.000Z",
      "arch": "aarch64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "https://r2.ropensci.org/0d7dd63a11bc37b76a2dc0d4d4f58c7b64ff90d3937085e643fa2275bf473a9a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/29720544871"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.9.2",
      "date": "2026-07-20T06:10:06.000Z",
      "arch": "x86_64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "https://r2.ropensci.org/bb9db75b716e31fba188bfcaf5d9382468d706023eb1dd3445608c753db35cea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/29720544871"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.9.2",
      "date": "2026-07-20T06:08:36.000Z",
      "arch": "aarch64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "https://r2.ropensci.org/13cea8e571332cbe65daf1f95f9ba0f876c20a03cd7590ce513a5954653d32f9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/29720544871"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.9.2",
      "date": "2026-07-20T06:09:52.000Z",
      "arch": "x86_64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "https://r2.ropensci.org/eda084b02fc32b904ecd9c5a978c49d361d8d9c1640a5e97cd6dc07ae4e8acf3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/29720544871"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.9.2",
      "date": "2026-07-20T06:09:56.000Z",
      "arch": "emscripten",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "https://r2.ropensci.org/5d2bc53169ff756aa656357cac2226b0332c91163b5006938f7a635db7e8343b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/29720544871"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.9.2",
      "date": "2026-07-20T06:09:20.000Z",
      "arch": "x86_64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "https://r2.ropensci.org/2b0a72f29c59668ca07d81164dfc6a6ee8c3208e5ef2829e0fc1d5c73d567a0b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/29720544871"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.9.2",
      "date": "2026-07-20T06:08:32.000Z",
      "arch": "x86_64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "https://r2.ropensci.org/c2d74755ea54770d4ada39c1cf53cceef8e093e53ad4c0f8d1d9460df2c6f720",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/29720544871"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.9.2",
      "date": "2026-07-20T06:08:46.000Z",
      "arch": "x86_64",
      "commit": "d49649a3b9463d57b8334519b6bb0f19201fe18e",
      "fileid": "https://r2.ropensci.org/9d63126af6cfa9d3ec6f174db49ae0633731ee213ff760a83f256ea153cb6dc5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pierreroudier/actions/runs/29720544871"
    }
  ]
}