* using log directory ‘/data/localhost/ripley/R/packages/tests-donttest/bin2norm.Rcheck’ * using R Under development (unstable) (2026-11-30 r91009) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 16.2.1 20261029 (Red Hat 16.2.1-3) GNU Fortran (GCC) 16.2.1 20261029 (Red Hat 16.2.1-3) * running under: Fedora Linux 44 (Server Edition) * using session charset: UTF-8 * current time: 2026-12-01 04:31:42 UTC * checking for file ‘bin2norm/DESCRIPTION’ ... OK * this is package ‘bin2norm’ version ‘0.1.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 ‘bin2norm’ 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 use of S3 registration ... 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 ‘bin2norm-Ex.R’ failed The error most likely occurred in: > ### Name: bin2norm > ### Title: bin2norm: A user-friendly interface to estimate normal > ### distribution parameters from dichotomized data > ### Aliases: bin2norm > > ### ** Examples > > ## No test: > # Single-threshold example > n_i <- c(100, 120, 80) > c_i <- c(1.2, 1.0, 1.5) > p_i_obs <- c(0.30, 0.25, 0.40) > bin2norm(scenario="single_threshold", method="MLE", n_i=n_i, c_i=c_i, p_i_obs=p_i_obs) $mu [1] -1202377 $sigma [1] 2379353 $method [1] "MLE" > > # Multiple-thresholds example > data_list <- list( + n_i = c(100, 120), + c_ij = list(c(1.0,1.2), c(0.8,1.5,2.0)), + p_ij_obs = list(c(0.20,0.30), c(0.15,0.40,0.55)) + ) > > # MLE with numeric integration > bin2norm(scenario="multiple_thresholds", method="MLE_integration", + data_list=data_list, gh_points=5) $mu0 mu0 -31320670 $sigma sigma.q_all 72633773 $tau tau 7831142 $method [1] "MLE_integration" $init_par mu0 sigma.q_all tau 1.6782847 1.0038118 0.2088268 > > # GLMM approximation > # library(lme4) > bin2norm(scenario="multiple_thresholds", method="GLMM", + data_list=data_list, use_lme4=TRUE) boundary (singular) fit: see help('isSingular') $mu0 [1] -1.821789 $sigma [1] 1.036514 $tau [1] 0 $method [1] "GLMM_probit" > > # Bayesian MCMC approach > # library(rstan) > bin2norm(scenario="multiple_thresholds", method="Bayesian", + data_list=data_list, iter=1000, chains=2) Error in stanc(file = file, model_code = model_code, model_name = model_name, : 0 Syntax error in 'string', line 4, column 31 to column 32, parsing error: ------------------------------------------------- 2: int I; 3: int K; 4: int studyID[K]; ^ 5: int kVal[K]; 6: int nVal[K]; ------------------------------------------------- Ill-formed declaration. ";" expected after variable declaration. It looks like you are trying to use the old array syntax. Please use the new syntax: array[K] int studyID; Calls: bin2norm ... estimate_multiThresh_MCMC -> -> stan_model -> stanc Execution halted * checking PDF version of manual ... OK * checking HTML 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/localhost/ripley/R/packages/tests-donttest/bin2norm.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 2:38.11, 68.20 + 77.42