* using log directory 'd:/Rcompile/CRANpkg/local/4.6/hdnom.Rcheck' * using R Under development (unstable) (2025-06-04 r88278 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'hdnom/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'hdnom' version '6.0.4' * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'hdnom' can be installed ... OK * used C compiler: 'gcc.exe (GCC) 14.2.0' * checking installed package size ... OK * 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 ... [3s] OK * checking whether the package can be loaded with stated dependencies ... [3s] OK * checking whether the package can be unloaded cleanly ... [2s] OK * checking whether the namespace can be loaded with stated dependencies ... [3s] OK * checking whether the namespace can be unloaded cleanly ... [3s] OK * checking loading without being on the library search path ... [3s] 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 ... [17s] OK * checking Rd files ... [1s] OK * checking Rd metadata ... 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] OK * checking LazyData ... 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 pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [4s] ERROR Running examples in 'hdnom-Ex.R' failed The error most likely occurred in: > ### Name: as_nomogram > ### Title: Construct nomogram ojects for high-dimensional Cox models > ### Aliases: as_nomogram > > ### ** Examples > > data(smart) > x <- as.matrix(smart[, -c(1, 2)]) > time <- smart$TEVENT > event <- smart$EVENT > y <- survival::Surv(time, event) > > fit <- fit_lasso(x, y, nfolds = 5, rule = "lambda.1se", seed = 11) > > nom <- as_nomogram( + fit, x, time, event, pred.at = 365 * 2, + funlabel = "2-Year Overall Survival Probability" + ) > > print(nom) Points per unit of linear predictor: 4.987753e+16 Linear predictor units per point : 2.004911e-17 AGE Points 15 0 20 7 25 14 30 21 35 29 40 36 45 43 50 50 55 57 60 64 65 71 70 79 75 86 80 93 85 100 Total Points 2-Year Overall Survival Probability > plot(nom) Error in axis(sides[jj], at = scaled[jj], labels = fat[jj], pos = y, cex.axis = cex.axis, : no locations are finite Calls: plot ... plot.hdnom.nomogram -> plot -> plot.nomogram.raw -> axis Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [22s] ERROR Error(s) in re-building vignettes: --- re-building 'hdnom.Rmd' using rmarkdown Quitting from hdnom.Rmd:377-390 [unnamed-chunk-16] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `fit_alasso()`: ! Null model produced by the full fit (all coefficients are zero). Please try to tune rule, seed, nfolds, or increase sample size. --- Backtrace: ▆ 1. └─hdnom::compare_by_validate(...) 2. └─hdnom::fit_alasso(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'hdnom.Rmd' failed with diagnostics: Null model produced by the full fit (all coefficients are zero). Please try to tune rule, seed, nfolds, or increase sample size. --- failed re-building 'hdnom.Rmd' SUMMARY: processing the following file failed: 'hdnom.Rmd' Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... [23s] OK * checking HTML version of manual ... [12s] OK * DONE Status: 2 ERRORs