* using log directory ‘/data/blackswan/ripley/R/packages/tests-devel/PanelSelect.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 ‘PanelSelect/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘PanelSelect’ version ‘1.0.0’ * 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 ‘PanelSelect’ can be installed ... [22s/22s] OK * used C++ compiler: ‘g++ (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3)’ * checking package directory ... OK * checking ‘build’ 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 line endings in C/C++/Fortran sources/headers ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [16s/16s] OK * checking examples with --run-donttest ... ERROR Running examples in ‘PanelSelect-Ex.R’ failed The error most likely occurred in: > ### Name: probitRE_PLNRE > ### Title: Poisson Lognormal Model with Random Effects and Sample Selection > ### Aliases: probitRE_PLNRE > > ### ** Examples > > ## No test: > library(MASS) > library(PanelSelect) > set.seed(1) > N = 500 > periods = 5 > rho = 0.5 > tau = 0 > > id = rep(1:N, each=periods) > time = rep(1:periods, N) > x = rnorm(N*periods) > w = rnorm(N*periods) > > # correlated random effects at the individual level > r = mvrnorm(N, mu=c(0,0), Sigma=matrix(c(1,rho,rho,1), nrow=2)) > r1 = rep(r[,1], each=periods) > r2 = rep(r[,2], each=periods) > > # correlated error terms at the individual-time level > e = mvrnorm(N*periods, mu=c(0,0), Sigma=matrix(c(1,tau,tau,1), nrow=2)) > e1 = e[,1] > e2 = e[,2] > > # selection > z = as.numeric(1+x+w+r1+e1>0) > # outcome > y = rpois(N*periods, exp(-1+x+r2+e2)) > y[z==0] = NA > dt = data.frame(id,time,x,w,z,y) > > # As N increases, the parameter estimates will be more accurate > m = probitRE_PLNRE(z~x+w, y~x, data=sim, id.name='id', verbose=-1) Error: object 'sim' not found Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [23s/23s] OK * 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/PanelSelect.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 1:41.52, 84.11 + 16.78