* using log directory ‘/data/blackswan/ripley/R/packages/tests-devel/clickb.Rcheck’ * using R Under development (unstable) (2025-12-20 r89211) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3) GNU Fortran (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3) * running under: Fedora Linux 40 (Workstation Edition) * using session charset: UTF-8 * checking for file ‘clickb/DESCRIPTION’ ... OK * this is package ‘clickb’ version ‘0.1’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘clickb’ can be installed ... OK * checking package directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking examples ... OK * checking examples with --run-donttest ... ERROR Running examples in ‘clickb-Ex.R’ failed The error most likely occurred in: > ### Name: fit_mixmar > ### Title: Bayesian estimation for mixture of Markov models with fixed > ### number of components > ### Aliases: fit_mixmar > > ### ** Examples > > ## No test: > #Compare model-based clustering with respect to another classification > > # Set up initial values and hyper parameters (either fixed or random) > > iter<-5 # number of iterations for the Gibbs sampler > burn<-0 > > num.cluster <- 3 # number of components > states <- 5 # number of states > > ini.constr<-c(1, 0, 1, 1, 1) # constrains on initial probabilities > trans.constr<-matrix(c(1, 1, 1, 0, 1, # constrains on transition probabilities + 1, 0, 1, 1, 1, + 1, 1, 1, 1, 0, + 0, 1, 1, 1, 1, + 1, 1, 0, 1, 1),byrow=TRUE,nrow=5) > > # parameters initial values > A.ini <- 1/states*matrix(rep(1, length = (states^2)), + nrow = states, byrow = TRUE, + dimnames = list(as.character(c(1:states))) ) > pi.ini <- rep(1/states, length = states) > > # Prior distributions' hyperparameters > prior.ini<- prior.transrow <- prior.mixcoef <- 1 > > # data is the simulated sequential dataset obtained in the sim_seq() example > > # Run the MCMC to estimate parameters > MMM_1 <- fit_mixmar(data, iter, burn, num.cluster = num.cluster, states = states, + A.ini = A.ini, pi.ini = pi.ini, prior.ini = prior.ini, + prior.transrow = prior.transrow, prior.mixcoef = prior.mixcoef, + ini.constr = ini.constr, trans.constr = trans.constr) Warning in is.na(data) : is.na() applied to non-(list or vector) of type 'closure' Error in data$id : object of type 'closure' is not subsettable Calls: fit_mixmar -> splitdatalist -> order Execution halted * checking PDF version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * checking for new files in some other directories ... OK * DONE Status: 1 ERROR See ‘/data/blackswan/ripley/R/packages/tests-devel/clickb.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 0:36.35, 23.02 + 14.12