* using log directory ‘/srv/hornik/tmp/CRAN_pretest/sglg.Rcheck’ * using R Under development (unstable) (2025-11-26 r89066) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 21.1.5 (1) Debian flang version 21.1.5 (1) * running under: Debian GNU/Linux forky/sid * using session charset: UTF-8 * checking for file ‘sglg/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘sglg’ version ‘0.2.3’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [4s/5s] OK * 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 serialization versions ... OK * checking whether package ‘sglg’ can be installed ... [8s/8s] OK * checking package directory ... OK * checking for future file timestamps ... 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 ... [2s/2s] OK * checking whether the package can be loaded with stated dependencies ... [2s/2s] OK * checking whether the package can be unloaded cleanly ... [2s/2s] OK * checking whether the namespace can be loaded with stated dependencies ... [2s/2s] OK * checking whether the namespace can be unloaded cleanly ... [2s/2s] OK * checking loading without being on the library search path ... [2s/2s] 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 ... [14s/14s] OK * checking Rd files ... [0s/0s] 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 ... [0s/0s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking R/sysdata.rda ... OK * checking examples ... [6s/6s] ERROR Running examples in ‘sglg-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: deviance_residuals > ### Title: Deviance Residuals for a Generalized Log-gamma Regression Model > ### Aliases: deviance_residuals > > ### ** Examples > > # Example 1 > n <- 300 > error <- rglg(n,0,1,1) > y <- 0.5 + error > fit <- glg(y~1,data=as.data.frame(y)) > deviance_residuals(fit) > # Example 2 > n <- 300 > error <- rglg(n,0,1,1) > x <- runif(n,-3,3) > y <- 0.5 + 2*x + error > fit <- glg(y~x,data=as.data.frame(y,x)) Error in as.data.frame.numeric(y, x) : 'row.names' is not a character or integer vector of length 300 Calls: glg ... is.data.frame -> as.data.frame -> as.data.frame.numeric Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [3s/3s] OK Running ‘testthat.R’ [2s/2s] * checking PDF version of manual ... [4s/3s] OK * checking HTML version of manual ... [1s/1s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR