* using log directory ‘/data/blackswan/ripley/R/packages/tests-devel/ARCensReg.Rcheck’ * using R Under development (unstable) (2025-11-16 r89026) * 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 ‘ARCensReg/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘ARCensReg’ version ‘3.0.2’ * 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 ‘ARCensReg’ can be installed ... [64s/60s] OK * used C++ compiler: ‘g++ (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3)’ * 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 ... [30s/31s] 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 contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... OK * checking data for ASCII and uncompressed saves ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking examples ... [20s/20s] OK * checking examples with --run-donttest ... [30m/31m] ERROR Running examples in ‘ARCensReg-Ex.R’ failed The error most likely occurred in: > ### Name: residuals > ### Title: Extract model residuals from ARpCRM or ARtpCRM objects > ### Aliases: residuals.ARpCRM residuals.ARtpCRM > ### Keywords: package censored regression autoregressive errors > > ### ** Examples > ## No test: > ## Example 1: Generating data with normal innovations > set.seed(93899) > x = cbind(1, runif(300)) > dat1 = rARCens(n=300, beta=c(1,-1), phi=c(.48,-.2), sig2=.5, x=x, + cens='left', pcens=.05, innov="norm") > > # Fitting the model with normal innovations > mod1 = ARCensReg(dat1$data$cc, dat1$data$lcl, dat1$data$ucl, dat1$data$y, + x, p=2, tol=0.001) Call: ARCensReg(cc = dat1$data$cc, lcl = dat1$data$lcl, ucl = dat1$data$ucl, y = dat1$data$y, x = x, p = 2, tol = 0.001) | | | 0% | |= | 1% | |= | 2% | |== | 2% | |== | 3% | |== | 4% | |=== | 4% | |=== | 5% | |==== | 5% | |==== | 6% | |===== | 6% | |===== | 7% | |===== | 8% | |====== | 8% | |====== | 9% | |======= | 10% | |======== | 11% | |======== | 12% | |========= | 12% | |========= | 13% | |========= | 14% | |========== | 14% | |========== | 15% | |=========== | 15% | |=========== | 16% | |============ | 16% | |============ | 17% | |============ | 18% | |============= | 18% | |============= | 19% | |============== | 20% | |=============== | 21% | |=============== | 22% | |================ | 22% | |======================================================================| 100%> mod1$tab beta0 beta1 sigma2 phi1 phi2 0.8543 -0.8544 0.5211 0.3763 -0.2161 s.e. 0.0810 0.1363 0.0442 0.0572 0.0570 > plot(residuals(mod1)) > > # Fitting the model with Student-t innovations > mod2 = ARtCensReg(dat1$data$cc, dat1$data$lcl, dat1$data$ucl, dat1$data$y, + x, p=2, tol=0.001) Call: ARtCensReg(cc = dat1$data$cc, lcl = dat1$data$lcl, ucl = dat1$data$ucl, y = dat1$data$y, x = x, p = 2, tol = 0.001) | | | 0% | |= | 1% | |= | 2% | |== | 2% | |== | 3% | |== | 4% | |=== | 4% | |=== | 5% | |==== | 5% | |==== | 6% | |===== | 6% | |===== | 7% | |===== | 8% | |====== | 8% | |====== | 9% | |======= | 10% | |======== | 11% | |======== | 12% | |========= | 12% | |========= | 13% | |========= | 14% | |========== | 14% | |========== | 15% | |=========== | 15% | |=========== | 16% | |============ | 16% | |============ | 17% | |============ | 18% | |============= | 18% | |============= | 19% | |============== | 20% | |=============== | 21% | |=============== | 22% | |================ | 22% | |================ | 23% | |================ | 24% | |================= | 24% | |================= | 25% | |======================================================================| 100%> mod2$tab beta0 beta1 sigma2 phi1 phi2 nu 0.8543 -0.8552 0.4676 0.3646 -0.2203 15.3123 s.e. 0.0805 0.1368 0.0455 0.0573 0.0559 4.4265 > plot(residuals(mod2)) > > > ## Example 2: Generating heavy-tailed data > set.seed(12341) > x = cbind(1, runif(300)) > dat2 = rARCens(n=300, beta=c(1,-1), phi=c(.48,-.2), sig2=.5, x=x, + cens='left', pcens=.05, innov="t", nu=3) > > # Fitting the model with normal innovations > mod3 = ARCensReg(dat2$data$cc, dat2$data$lcl, dat2$data$ucl, dat2$data$y, + x, p=2, tol=0.001) Call: ARCensReg(cc = dat2$data$cc, lcl = dat2$data$lcl, ucl = dat2$data$ucl, y = dat2$data$y, x = x, p = 2, tol = 0.001) | | | 0% | |= | 1% | |= | 2% | |== | 2% | |== | 3% | |== | 4% | |=== | 4% | |=== | 5% | |==== | 5% | |==== | 6% | |===== | 6% | |===== | 7% | |===== | 8% | |====== | 8% | |====== | 9% | |======= | 10% | |======== | 11% | |======== | 12% | |========= | 12% | |========= | 13% | |========= | 14% | |========== | 14% | |========== | 15% | |=========== | 15% | |=========== | 16% | |============ | 16% | |============ | 17% | |============ | 18% | |============= | 18% | |============= | 19% | |============== | 20% | |=============== | 21% | |=============== | 22% | |================ | 22% | |================ | 23% | |================ | 24% | |================= | 24% | |================= | 25% | |================== | 25% | |======================================================================| 100%> mod3$tab beta0 beta1 sigma2 phi1 phi2 1.1539 -1.1018 1.0853 0.4881 -0.1513 s.e. 0.1333 0.1987 0.0918 0.0574 0.0577 > plot(residuals(mod3)) > > # Fitting the model with Student-t innovations > mod4 = ARtCensReg(dat2$data$cc, dat2$data$lcl, dat2$data$ucl, dat2$data$y, + x, p=2, tol=0.001) Call: ARtCensReg(cc = dat2$data$cc, lcl = dat2$data$lcl, ucl = dat2$data$ucl, y = dat2$data$y, x = x, p = 2, tol = 0.001) | | | 0% | |= | 1% | |= | 2% | |== | 2% | |== | 3% | |== | 4% | |=== | 4% | |=== | 5% | |==== | 5% | |==== | 6% | |===== | 6% | |===== | 7% | |===== | 8% | |====== | 8% | |====== | 9% | |======= | 10% | |======== | 11% | |======== | 12% | |========= | 12% | |========= | 13% | |========= | 14% | |========== | 14% | |========== | 15% | |=========== | 15% | |=========== | 16% | |============ | 16% | |============ | 17% | |============ | 18% | |============= | 18% * 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/ARCensReg.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 34:13.90, 1978.78 + 31.36