Last updated on 2026-05-04 15:51:25 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.8.14 | 12.96 | 332.33 | 345.29 | OK | |
| r-devel-linux-x86_64-debian-gcc | 0.8.14 | 10.10 | 222.28 | 232.38 | OK | |
| r-devel-linux-x86_64-fedora-clang | 0.8.14 | 22.00 | 267.35 | 289.35 | ERROR | |
| r-devel-linux-x86_64-fedora-gcc | 0.8.14 | 24.00 | 605.19 | 629.19 | OK | |
| r-devel-windows-x86_64 | 0.8.14 | 20.00 | 160.00 | 180.00 | ERROR | |
| r-patched-linux-x86_64 | 0.8.14 | 13.66 | 318.30 | 331.96 | OK | |
| r-release-linux-x86_64 | 0.8.14 | 12.91 | 325.49 | 338.40 | OK | |
| r-release-macos-arm64 | 0.8.14 | 4.00 | 81.00 | 85.00 | OK | |
| r-release-macos-x86_64 | 0.8.14 | 11.00 | 406.00 | 417.00 | OK | |
| r-release-windows-x86_64 | 0.8.14 | 23.00 | 374.00 | 397.00 | OK | |
| r-oldrel-macos-arm64 | 0.8.14 | 3.00 | 81.00 | 84.00 | OK | |
| r-oldrel-macos-x86_64 | 0.8.14 | 13.00 | 437.00 | 450.00 | OK | |
| r-oldrel-windows-x86_64 | 0.8.14 | 26.00 | 429.00 | 455.00 | OK |
Version: 0.8.14
Check: examples
Result: ERROR
Running examples in ‘anticlust-Ex.R’ failed
The error most likely occurred in:
> ### Name: anticlustering
> ### Title: Anticlustering
> ### Aliases: anticlustering
>
> ### ** Examples
>
>
> # Use default method ("exchange") and the default diversity criterion, also include
> # a categorical variable via argument `categories`:
> anticlusters <- anticlustering(
+ schaper2019[, 3:6],
+ K = 3,
+ categories = schaper2019$room
+ )
> # Compare feature means and standard deviations by anticluster
> mean_sd_tab(schaper2019[, 3:6], anticlusters)
rating_consistent rating_inconsistent syllables frequency
1 "4.50 (0.23)" "1.10 (0.07)" "3.47 (0.95)" "18.34 (2.40)"
2 "4.49 (0.27)" "1.12 (0.07)" "3.41 (0.87)" "18.28 (2.47)"
3 "4.49 (0.25)" "1.10 (0.05)" "3.38 (0.98)" "18.31 (2.36)"
> # Verify that the "room" is balanced across anticlusters:
> table(anticlusters, schaper2019$room)
anticlusters bathroom kitchen
1 16 16
2 16 16
3 16 16
>
> # Use multiple starts of the algorithm to improve the objective and
> # optimize the k-means criterion ("variance")
> anticlusters <- anticlustering(
+ schaper2019[, 3:6],
+ objective = "variance",
+ K = 3,
+ categories = schaper2019$room,
+ method = "local-maximum", # better search algorithm
+ repetitions = 20 # multiple restarts of the algorithm
+ )
> # Compare means and standard deviations by anticluster
> mean_sd_tab(schaper2019[, 3:6], anticlusters)
rating_consistent rating_inconsistent syllables frequency
1 "4.49 (0.26)" "1.10 (0.07)" "3.41 (0.91)" "18.31 (2.47)"
2 "4.49 (0.25)" "1.10 (0.06)" "3.44 (0.95)" "18.31 (2.39)"
3 "4.49 (0.25)" "1.10 (0.07)" "3.41 (0.95)" "18.31 (2.38)"
>
> # Use different group sizes and optimize the extended k-means
> # criterion ("kplus")
> anticlusters <- anticlustering(
+ schaper2019[, 3:6],
+ objective = "kplus",
+ K = c(24, 24, 48),
+ categories = schaper2019$room,
+ repetitions = 20,
+ method = "local-maximum",
+ standardize = TRUE # ususally recommended
+ )
>
> # Use cannot_link constraints: Element 1 must not be linked with elements 2 to 10:
> cl_matrix <- matrix(c(rep(1, 9), 2:10), ncol = 2)
> cl <- anticlustering(
+ schaper2019[, 3:6],
+ K = 10,
+ cannot_link = cl_matrix
+ )
Error in as.data.frame.integer(x[[i]], optional = TRUE) :
row names contain missing values
Calls: anticlustering ... data.frame -> as.data.frame -> as.data.frame.integer
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-windows-x86_64
Version: 0.8.14
Check: tests
Result: ERROR
Running ‘tinytest.R’ [8s/20s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
>
> if ( requireNamespace("tinytest", quietly=TRUE) ){
+ library(tinytest)
+ library(anticlust)
+ tinytest::test_package("anticlust")
+ }
test-2pml.R................... 0 tests
test-2pml.R................... 0 tests
test-2pml.R................... 0 tests
test-2pml.R................... 0 tests
test-2pml.R................... 0 tests
test-2pml.R................... 0 tests
test-2pml.R................... 1 tests OK
test-2pml.R................... 2 tests OK
test-2pml.R................... 3 tests OK
test-2pml.R................... 4 tests OK
test-2pml.R................... 4 tests OK
test-2pml.R................... 4 tests OK
test-2pml.R................... 5 tests OK
test-2pml.R................... 5 tests OK
test-2pml.R................... 6 tests OK
test-2pml.R................... 7 tests OK
test-2pml.R................... 7 tests OK
test-2pml.R................... 7 tests OK
test-2pml.R................... 8 tests OK
test-2pml.R................... 9 tests OK
test-2pml.R................... 10 tests OK
test-2pml.R................... 10 tests OK
test-2pml.R................... 10 tests OK
test-2pml.R................... 10 tests OK
test-2pml.R................... 11 tests OK
test-2pml.R................... 12 tests OK
test-2pml.R................... 13 tests OK
test-2pml.R................... 13 tests OK
test-2pml.R................... 13 tests OK
test-2pml.R................... 13 tests OK
test-2pml.R................... 13 tests OK
test-2pml.R................... 13 tests OK
test-2pml.R................... 14 tests OK
test-2pml.R................... 15 tests OK
test-2pml.R................... 15 tests OK
test-2pml.R................... 15 tests OK
test-2pml.R................... 15 tests OK
test-2pml.R................... 15 tests OK
test-2pml.R................... 15 tests OK
test-2pml.R................... 16 tests OK
test-2pml.R................... 17 tests OK
test-2pml.R................... 17 tests OK
test-2pml.R................... 17 tests OK
test-2pml.R................... 17 tests OK
test-2pml.R................... 17 tests OK
test-2pml.R................... 17 tests OK
test-2pml.R................... 18 tests OK
test-2pml.R................... 18 tests OK
test-2pml.R................... 18 tests OK
test-2pml.R................... 18 tests OK
test-2pml.R................... 18 tests OK
test-2pml.R................... 21 tests OK
test-2pml.R................... 21 tests OK
test-2pml.R................... 21 tests OK
test-2pml.R................... 21 tests OK
test-2pml.R................... 21 tests OK
test-2pml.R................... 21 tests OK
test-2pml.R................... 21 tests OK
test-2pml.R................... 21 tests OK
test-2pml.R................... 21 tests OK
test-2pml.R................... 21 tests OK
test-2pml.R................... 21 tests OK
test-2pml.R................... 21 tests OK
test-2pml.R................... 21 tests OK
test-2pml.R................... 21 tests OK 11.9s
test-NAs.R.................... 0 tests
test-NAs.R.................... 0 tests
test-NAs.R.................... 0 tests
test-NAs.R.................... 0 tests
test-NAs.R.................... 0 tests
test-NAs.R.................... 0 tests
test-NAs.R.................... 0 tests
test-NAs.R.................... 0 tests
test-NAs.R.................... 0 tests
test-NAs.R.................... 0 tests
test-NAs.R.................... 0 tests
test-NAs.R.................... 0 tests
test-NAs.R.................... 0 tests
test-NAs.R.................... 1 tests OK
test-NAs.R.................... 1 tests OK
test-NAs.R.................... 1 tests OK
test-NAs.R.................... 2 tests OK 0.5s
test-argument-K.R............. 0 tests
test-argument-K.R............. 0 tests
test-argument-K.R............. 1 tests OK
test-argument-K.R............. 2 tests OK
test-argument-K.R............. 2 tests OK
test-argument-K.R............. 3 tests OK
test-argument-K.R............. 3 tests OK
test-argument-K.R............. 4 tests OK
test-argument-K.R............. 4 tests OK
test-argument-K.R............. 5 tests OK
test-argument-K.R............. 6 tests OK
test-argument-K.R............. 7 tests OK
test-argument-K.R............. 8 tests OK
test-argument-K.R............. 9 tests OK 0.3s
test-blocked-anticlustering.R. 0 tests
test-blocked-anticlustering.R. 0 tests
test-blocked-anticlustering.R. 0 tests
test-blocked-anticlustering.R. 0 tests
test-blocked-anticlustering.R. 0 tests Error in as.data.frame.integer(x[[i]], optional = TRUE) :
row names contain missing values
Calls: <Anonymous> ... data.frame -> as.data.frame -> as.data.frame.integer
In addition: Warning messages:
1: In 1:K : numerical expression has 2 elements: only the first used
2: In 1:K : numerical expression has 6 elements: only the first used
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.8.14
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building ‘Anticlustering_in_2025.Rmd’ using rmarkdown
--- finished re-building ‘Anticlustering_in_2025.Rmd’
--- re-building ‘Best_practices.Rmd’ using rmarkdown
--- finished re-building ‘Best_practices.Rmd’
--- re-building ‘Categorical_vars.Rmd’ using rmarkdown
Quitting from Categorical_vars.Rmd:139-159 [unnamed-chunk-11]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `as.data.frame.integer()`:
! row names contain missing values
---
Backtrace:
▆
1. └─anticlust::anticlustering(...)
2. └─anticlust:::blocked_anticlustering(...)
3. └─anticlust:::add_unassigned_elements(...)
4. ├─base::as.data.frame(table(init, useNA = "always"))
5. └─base::as.data.frame.table(table(init, useNA = "always"))
6. ├─base::eval(ex)
7. │ └─base::eval(ex)
8. └─base::data.frame(...)
9. ├─base::as.data.frame(x[[i]], optional = TRUE)
10. └─base::as.data.frame.integer(x[[i]], optional = TRUE)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'Categorical_vars.Rmd' failed with diagnostics:
row names contain missing values
--- failed re-building ‘Categorical_vars.Rmd’
--- re-building ‘Speeding_up_anticlustering.Rmd’ using rmarkdown
--- finished re-building ‘Speeding_up_anticlustering.Rmd’
--- re-building ‘stimulus-selection.Rmd’ using rmarkdown
--- finished re-building ‘stimulus-selection.Rmd’
SUMMARY: processing the following file failed:
‘Categorical_vars.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-windows-x86_64
Version: 0.8.14
Check: tests
Result: ERROR
Running 'tinytest.R' [4s]
Running the tests in 'tests/tinytest.R' failed.
Complete output:
>
> if ( requireNamespace("tinytest", quietly=TRUE) ){
+ library(tinytest)
+ library(anticlust)
+ tinytest::test_package("anticlust")
+ }
test-2pml.R................... 0 tests
test-2pml.R................... 0 tests
test-2pml.R................... 0 tests
test-2pml.R................... 0 tests
test-2pml.R................... 0 tests
test-2pml.R................... 0 tests
test-2pml.R................... 1 tests OK
test-2pml.R................... 2 tests OK
test-2pml.R................... 3 tests OK
test-2pml.R................... 4 tests OK
test-2pml.R................... 4 tests OK
test-2pml.R................... 4 tests OK
test-2pml.R................... 5 tests OK
test-2pml.R................... 5 tests OK
test-2pml.R................... 6 tests OK
test-2pml.R................... 7 tests OK
test-2pml.R................... 7 tests OK
test-2pml.R................... 7 tests OK
test-2pml.R................... 8 tests OK
test-2pml.R................... 9 tests OK
test-2pml.R................... 10 tests OK
test-2pml.R................... 10 tests OK
test-2pml.R................... 10 tests OK
test-2pml.R................... 10 tests OK
test-2pml.R................... 11 tests OK
test-2pml.R................... 12 tests OK
test-2pml.R................... 13 tests OK
test-2pml.R................... 13 tests OK
test-2pml.R................... 13 tests OK
test-2pml.R................... 13 tests OK
test-2pml.R................... 13 tests OK
test-2pml.R................... 13 tests OK
test-2pml.R................... 14 tests OK
test-2pml.R................... 15 tests OK
test-2pml.R................... 15 tests OK
test-2pml.R................... 15 tests OK
test-2pml.R................... 15 tests OK
test-2pml.R................... 15 tests OK
test-2pml.R................... 15 tests OK
test-2pml.R................... 16 tests OK
test-2pml.R................... 17 tests OK
test-2pml.R................... 17 tests OK
test-2pml.R................... 17 tests OK
test-2pml.R................... 17 tests OK
test-2pml.R................... 17 tests OK
test-2pml.R................... 17 tests OK
test-2pml.R................... 18 tests OK
test-2pml.R................... 18 tests OK
test-2pml.R................... 18 tests OK
test-2pml.R................... 18 tests OK
test-2pml.R................... 18 tests OK
test-2pml.R................... 21 tests OK
test-2pml.R................... 21 tests OK
test-2pml.R................... 21 tests OK
test-2pml.R................... 21 tests OK
test-2pml.R................... 21 tests OK
test-2pml.R................... 21 tests OK
test-2pml.R................... 21 tests OK
test-2pml.R................... 21 tests OK
test-2pml.R................... 21 tests OK
test-2pml.R................... 22 tests OK
test-2pml.R................... 22 tests OK
test-2pml.R................... 22 tests OK
test-2pml.R................... 22 tests OK
test-2pml.R................... 22 tests OK 2.0s
test-NAs.R.................... 0 tests
test-NAs.R.................... 0 tests
test-NAs.R.................... 0 tests
test-NAs.R.................... 0 tests
test-NAs.R.................... 0 tests
test-NAs.R.................... 0 tests
test-NAs.R.................... 0 tests
test-NAs.R.................... 0 tests
test-NAs.R.................... 0 tests
test-NAs.R.................... 0 tests
test-NAs.R.................... 0 tests
test-NAs.R.................... 0 tests
test-NAs.R.................... 0 tests
test-NAs.R.................... 1 tests OK
test-NAs.R.................... 1 tests OK
test-NAs.R.................... 1 tests OK
test-NAs.R.................... 2 tests OK 44ms
test-argument-K.R............. 0 tests
test-argument-K.R............. 0 tests
test-argument-K.R............. 1 tests OK
test-argument-K.R............. 2 tests OK
test-argument-K.R............. 2 tests OK
test-argument-K.R............. 3 tests OK
test-argument-K.R............. 3 tests OK
test-argument-K.R............. 4 tests OK
test-argument-K.R............. 4 tests OK
test-argument-K.R............. 5 tests OK
test-argument-K.R............. 6 tests OK
test-argument-K.R............. 7 tests OK
test-argument-K.R............. 8 tests OK
test-argument-K.R............. 9 tests OK 57ms
test-blocked-anticlustering.R. 0 tests
test-blocked-anticlustering.R. 0 tests
test-blocked-anticlustering.R. 0 tests
test-blocked-anticlustering.R. 0 tests
test-blocked-anticlustering.R. 0 tests Error in as.data.frame.integer(x[[i]], optional = TRUE) :
row names contain missing values
Calls: <Anonymous> ... data.frame -> as.data.frame -> as.data.frame.integer
In addition: Warning messages:
1: In 1:K : numerical expression has 2 elements: only the first used
2: In 1:K : numerical expression has 6 elements: only the first used
Execution halted
Flavor: r-devel-windows-x86_64