* using log directory ‘/home/hornik/tmp/CRAN_special_donttest/gammaFuncModel.Rcheck’ * using R Under development (unstable) (2026-02-01 r89366) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc-15 (Debian 15.2.0-12) 15.2.0 GNU Fortran (Debian 15.2.0-12) 15.2.0 * running under: Debian GNU/Linux forky/sid * using session charset: UTF-8 * using option ‘--run-donttest’ * checking for file ‘gammaFuncModel/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘gammaFuncModel’ version ‘6.0’ * checking CRAN incoming feasibility ... [3s/3s] 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 ‘gammaFuncModel’ can be installed ... [4s/4s] 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 ... [1s/1s] OK * checking whether the package can be loaded with stated dependencies ... [1s/1s] OK * checking whether the package can be unloaded cleanly ... [1s/1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK * checking whether the namespace can be unloaded cleanly ... [1s/1s] OK * checking loading without being on the library search path ... [1s/1s] 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 ... [7s/7s] 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 examples ... [16m/16m] ERROR Running examples in ‘gammaFuncModel-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: pk_calculation > ### Title: Function that returns a data frame for Tmax, Cmax, half-life, > ### AUC and AUCInf for metabolites > ### Aliases: pk_calculation > > ### ** Examples > > require(gammaFuncModel) > require(dplyr) Loading required package: dplyr Attaching package: ‘dplyr’ The following objects are masked from ‘package:stats’: filter, lag The following objects are masked from ‘package:base’: intersect, setdiff, setequal, union > ## No test: > df <- data.frame( + ID = rep(sprintf("%02d", 1:10), each = 9 * 3), + Time = rep(rep(1:9, each = 3), 10), + Diet = as.factor(rep(1:3, times = 9 * 10)), + Age = rep(sample(20:70, 10, replace = TRUE), each = 9 * 3), + BMI = round(rep(runif(10, 18.5, 35), each = 9 * 3), 1) + ) > metvar <- paste0("met", 1:10) > n_rows <- nrow(df) > concentration_data <- sapply(1:10, function(m) { + shape <- runif(1, 2, 5) + scale <- runif(1, 1, 3) + rgamma(n_rows, shape = shape, scale = scale) + }) > colnames(concentration_data) <- metvar > df <- cbind(df, as.data.frame(concentration_data)) > covariates <- c("ID", "Diet", "Age", "BMI") > mods <- generate_models(df = df, met_vec = metvar, covariates = covariates, graph = 'None') > result <- pk_calculation( + df = df, + met_vec = metvar, + models = mods, + grp_name = "Diet", + covariates = covariates + ) Error in UseMethod("fixef") : no applicable method for 'fixef' applied to an object of class "NULL" Calls: pk_calculation -> precompute_f_list -> generate_f_function -> fixef Execution halted Examples with CPU (user + system) or elapsed time > 600s user system elapsed diffGrpResponse 602.524 0.7 603.316 * checking PDF version of manual ... [3s/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