Skip to content

Conditioned Latin Hypercube Sampling

2packages depend
9.9Kdownloads / year
72.4%test coverage
8/13flavors OK

Overview

About

Conditioned Latin hypercube sampling, as published by Minasny and McBratney (2006) DOI:10.1016/j.cageo.2005.12.009. This method proposes to stratify sampling in presence of ancillary data. An extension of this method, which propose to associate a cost to each individual and take it into account during the optimisation process, is also proposed (Roudier et al., 2012, DOI:10.1201/b12728).

Install

Health

CRAN checks
5NOTE8OK
Check messages
NOTER code for possible problemsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64
Found calls to structure() using deprecated special names:
  clhs/tests/testthat/test-raster.R (.Dim: 1, .Dimnames: 1)
'.Dim' should be changed to 'dim'.
'.Dimnames' should be changed to 'dimnames'.
NOTERd contentsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Rd files without \usage:
  ‘CppLHS.Rd’
\arguments should not be documented without \usage.

CRAN check page ↗

Slowest check: 9.7 min · r-oldrel-windows-x86_64
Status changes
  • NOTE8 OK, 5 NOTENow
  • NOTE12 OK, 1 NOTE2026-07-11
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-04-22
  • ERROR13 OK, 1 ERROR2026-04-18
Show 1 earlier changeHide 1 earlier change
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.9.2
READMEYes · 37 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · does not mention 0.9.2Citation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Help pages
6includes a package overview page
Examples that run
100%3 run in a plain check (1 of them under a condition)
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
50%
Vignettes (1)

Downloads

9.9K
CRAN downloads in the past year
Rank #3,738 · ~27/day · ~827/mo
Daily download trend is not available in this view yet.
80230 days
2.6K90 days
9.9K1 year
Compare downloads with other packages →
Also on394 r2u17 autocran

Repository

14Stars
8Forks
10Open issues
1Open PRs
1Releases
263Commits
9Commit identities
263 commits · Last activity 2025-10-20 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
93%
Median days to close, 50 most recently updated closed issues
16
Median days to close, 50 most recently updated closed PRs
1

Stars over time

2025-04-30 · 132026-07-07 · 14
PracticesBeta

2 development-tooling and community-health practices detected across 1 family in the upstream repository

Checks run against github.com/pierreroudier/clhs on 2026-10-22.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

How this is detected·Detection ruleset v4 (2026-10-20)
AI coding toolsBeta

This repository has an AI review tool set up.

Review tools
  • Copilot code review
    Commits: some accepting its review suggestions, count not recorded
How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
13 external dependencies (excludes base and recommended)

Installing clhs adds 35 packages (23 with compiled code, 50 MB of source tarballs). Heaviest: stringi 11 MB, sf 9.3 MB, ggplot2 6.0 MB.

Depends (1)
R >= 2.14.0
Imports (10)
utilsmethodsgridggplot2sfrasterreshape2plyrclusterRcpp
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
2direct
0indirect
Imports 2
Depends, Imports or LinkingTo, most downloaded first

People & History

People (7)
Author, Maintainer since 0.4-3 (2012)
Contributor · added in 0.6-0
Contributor · added in 0.9.2
Contributor · added in 0.6-0
Contributor · added in 0.8.1
Contributor · added in 0.8.1
Contributor · added in 0.7-0
Releases (17)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • unarchivedReturned to CRAN
    2020-04-15
  • archivedRemoved from CRAN
    2020-04-09
    check problems were not corrected despite reminders
  • unarchivedReturned to CRAN
    2019-05-07
  • R
    R 3.6.0 released · 2019-04-26
  • archivedRemoved from CRAN
    2019-04-22
    check errors were not corrected despite reminders
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
Show 21 earlier eventsHide 21 earlier events

Package metadata

First published
2012-01-12
Total releases
17 / 14 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 2.14.0
Download size
847 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("clhs")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.1201/b12728-48.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for clhs version 0.9.2 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy