CRAN Package Check Results for Package MixStable

Last updated on 2026-10-20 18:51:11 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 19.28 397.09 416.37 NOTE
r-devel-linux-x86_64-debian-gcc 0.1.0 12.93 261.24 274.17 NOTE
r-devel-linux-x86_64-fedora-clang 0.1.0 13.00 259.56 272.56 NOTE
r-devel-linux-x86_64-fedora-gcc 0.1.0 13.00 253.94 266.94 NOTE
r-devel-windows-x86_64 0.1.0 21.00 576.00 597.00 NOTE
r-patched-linux-x86_64 0.1.0 19.12 394.20 413.32 OK
r-release-linux-x86_64 0.1.0 17.66 379.96 397.62 OK
r-release-macos-arm64 0.1.0 4.00 83.00 87.00 OK
r-release-macos-x86_64 0.1.0 13.00 373.00 386.00 OK
r-release-windows-x86_64 0.1.0 21.00 364.00 385.00 OK
r-oldrel-macos-arm64 0.1.0 OK
r-oldrel-macos-x86_64 0.1.0 13.00 388.00 401.00 OK
r-oldrel-windows-x86_64 0.1.0 27.00 508.00 535.00 ERROR

Check Details

Version: 0.1.0
Check: dependencies in R code
Result: NOTE Base package in Suggests/Enhances imported in NAMESPACE: ‘grDevices’ Flavors: r-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

Version: 0.1.0
Check: tests
Result: ERROR Running 'test_ecf.R' [14s] Running 'test_ecf_2.R' [6s] Running 'test_em.R' [11s] Running 'test_em_2.R' [6s] Running 'test_em_3.R' [12s] Running 'test_function.R' [21s] Running 'test_gibbs.R' [119s] Running 'test_helper.R' [6s] Running 'test_helper_2.R' [42s] Running 'test_helper_3.R' [6s] Running 'test_integrals.R' [6s] Running 'test_mcculloch_2.R' [5s] Running 'test_mle.R' [127s] Running 'test_normalization.R' [5s] Running the tests in 'tests/test_ecf.R' failed. Complete output: > # Clean environment and load libraries > rm(list = ls()) # Clear environment to avoid conflicts > > # Source files > library(MixStable) Attaching package: 'MixStable' The following object is masked from 'package:graphics': clip > > # 📊 Generate synthetic data using explicit package reference > X <- stabledist::rstable(1200, alpha = 1.2, beta = 0.5, gamma = 1, delta = 3, pm = 1) > u_vals <- seq(0.1, 1, length.out = 10) > > # Add some diagnostic information > cat("Data summary:\n") Data summary: > cat("Length:", length(X), "\n") Length: 1200 > cat("Range:", range(X), "\n") Range: -76.37455 1342.043 > cat("Mean:", mean(X), "SD:", sd(X), "\n") Mean: 3.812645 SD: 40.05969 > cat("u_vals:", u_vals, "\n\n") u_vals: 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 > > # 🧮 Estimate parameters with error handling > safe_estimate <- function(func, data, u, name) { + cat("Running", name, "...\n") + result <- tryCatch({ + func(data, u) + }, error = function(e) { + cat("Error in", name, ":", e$message, "\n") + return(NULL) + }, warning = function(w) { + cat("Warning in", name, ":", w$message, "\n") + suppressWarnings(func(data, u)) + }) + return(result) + } > > # Run estimations with error handling > result_CDF <- safe_estimate(CDF, X, u_vals, "CDF") Running CDF ... > result_ecf_regression <- safe_estimate(ecf_regression, X, u_vals, "ECF Regression") Running ECF Regression ... Warning in ECF Regression : NaNs produced Error in model.frame.default(formula = residuals1 ~ pred1, drop.unused.levels = TRUE) : variable lengths differ (found for 'pred1') Calls: safe_estimate ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous> Execution halted Flavor: r-oldrel-windows-x86_64