CRAN Package Check Results for Package COMIX

Last updated on 2026-02-03 15:50:04 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.1 109.93 84.54 194.47 OK
r-devel-linux-x86_64-debian-gcc 1.0.1 83.17 60.84 144.01 OK
r-devel-linux-x86_64-fedora-clang 1.0.1 254.00 120.94 374.94 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0.1 259.00 128.29 387.29 ERROR
r-devel-windows-x86_64 1.0.1 126.00 112.00 238.00 OK
r-patched-linux-x86_64 1.0.1 123.75 76.69 200.44 OK
r-release-linux-x86_64 1.0.1 118.53 76.44 194.97 OK
r-release-macos-arm64 1.0.1 OK
r-release-macos-x86_64 1.0.1 71.00 88.00 159.00 OK
r-release-windows-x86_64 1.0.1 125.00 111.00 236.00 OK
r-oldrel-macos-arm64 1.0.1 NOTE
r-oldrel-macos-x86_64 1.0.1 70.00 98.00 168.00 NOTE
r-oldrel-windows-x86_64 1.0.1 156.00 142.00 298.00 OK

Check Details

Version: 1.0.1
Check: examples
Result: ERROR Running examples in ‘COMIX-Ex.R’ failed The error most likely occurred in: > ### Name: effectiveSampleSize > ### Title: This function creates an object that summarizes the effective > ### sample size for the parameters of the model. > ### Aliases: effectiveSampleSize > > ### ** Examples > > library(COMIX) > # Number of observations for each sample (row) and cluster (column): > njk <- + matrix( + c( + 150, 300, + 250, 200 + ), + nrow = 2, + byrow = TRUE + ) > > # Dimension of data: > p <- 3 > > # Scale and skew parameters for first cluster: > Sigma1 <- matrix(0.5, nrow = p, ncol = p) + diag(0.5, nrow = p) > alpha1 <- rep(0, p) > alpha1[1] <- -5 > # location parameter for first cluster in first sample: > xi11 <- rep(0, p) > # location parameter for first cluster in second sample (aligned with first): > xi21 <- rep(0, p) > > # Scale and skew parameters for second cluster: > Sigma2 <- matrix(-1/3, nrow = p, ncol = p) + diag(1 + 1/3, nrow = p) > alpha2 <- rep(0, p) > alpha2[2] <- 5 > # location parameter for second cluster in first sample: > xi12 <- rep(3, p) > # location parameter for second cluster in second sample (misaligned with first): > xi22 <- rep(4, p) > > # Sample data: > set.seed(1) > Y <- + rbind( + sn::rmsn(njk[1, 1], xi = xi11, Omega = Sigma1, alpha = alpha1), + sn::rmsn(njk[1, 2], xi = xi12, Omega = Sigma2, alpha = alpha2), + sn::rmsn(njk[2, 1], xi = xi21, Omega = Sigma1, alpha = alpha1), + sn::rmsn(njk[2, 2], xi = xi22, Omega = Sigma2, alpha = alpha2) + ) > > C <- c(rep(1, rowSums(njk)[1]), rep(2, rowSums(njk)[2])) > > prior <- list(zeta = 1, K = 10) > pmc <- list(naprt = 5, nburn = 200, nsave = 200) # Reasonable usage > pmc <- list(naprt = 5, nburn = 2, nsave = 5) # Minimal usage for documentation > # Fit the model: > res <- comix(Y, C, pmc = pmc, prior = prior) initializing all particles... Done > > # Relabel to resolve potential label switching issues: > res_relab <- relabelChain(res) K=10 T=5 N=900 J=2 p=3 > effssz <- effectiveSampleSize(res_relab, "w") Error in `summarize()`: ℹ In argument: `Freq = table(.data$k)/sum(table(.data$k))`. ℹ In group 1: `j = 1`. Caused by error: ! `Freq` must be size 1, not 9. ℹ To return more or less than 1 row per group, use `reframe()`. Backtrace: ▆ 1. ├─COMIX::effectiveSampleSize(res_relab, "w") 2. │ └─COMIX::tidyChain(res, params) 3. │ └─... %>% select(-.data$Freq) 4. ├─dplyr::select(., -.data$Freq) 5. ├─dplyr::mutate(., x = (P + 1)/2, k = names(.data$Freq), frq_t = as.numeric(.data$Freq)) 6. ├─dplyr::summarize(., Freq = table(.data$k)/sum(table(.data$k))) 7. ├─dplyr:::summarise.grouped_df(., Freq = table(.data$k)/sum(table(.data$k))) 8. │ └─dplyr:::summarise_cols(.data, dplyr_quosures(...), by, "summarise") 9. │ └─base::withCallingHandlers(...) 10. ├─dplyr:::dplyr_internal_error(...) 11. │ └─rlang::abort(class = c(class, "dplyr:::internal_error"), dplyr_error_data = data) 12. │ └─rlang:::signal_abort(cnd, .file) 13. │ └─base::signalCondition(cnd) 14. └─dplyr (local) `<fn>`(`<dpl:::__>`) 15. └─dplyr (local) handler(cnd) 16. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 1.0.1
Check: installed package size
Result: NOTE installed size is 16.5Mb sub-directories of 1Mb or more: doc 1.8Mb libs 14.4Mb Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64