* using log directory 'd:/RCompile/CRANincoming/R-devel/cxreg.Rcheck' * using R Under development (unstable) (2025-07-24 r88447 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 'cxreg/DESCRIPTION' ... OK * this is package 'cxreg' version '1.0.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Younghoon Kim ' New submission License components with restrictions and base license permitting such: MIT + file LICENSE Possibly misspelled words in DESCRIPTION: glmnet (9:25) pathwise (10:19) Found the following (possibly) invalid URLs: URL: https://arxiv.org/abs/2401 From: man/cxreg-package.Rd Status: 404 Message: Not Found Found the following (possibly) invalid DOIs: DOI: arXiv:2401.11128 From: man/predict.classo.Rd Message: Invalid DOI The Title field should be in title case. Current version is: 'Complex-valued lasso and complex-valued graphical lasso' In title case that is: 'Complex-Valued Lasso and Complex-Valued Graphical Lasso' * 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 'cxreg' can be installed ... OK * used Fortran compiler: 'GNU Fortran (GCC) 14.2.0' * used C++ compiler: 'g++.exe (GCC) 14.2.0' * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... WARNING Invalid license file pointers: LICENSE * checking top-level files ... NOTE Non-standard file/directory found at top level: 'README.Rmd' * 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 use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... WARNING plot: function(x, ...) plot.cglasso: function(X, index, type, label) See section 'Generic functions and methods' in the 'Writing R Extensions' manual. * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [10s] NOTE classo.path: no visible global function definition for 'weighted_mean_sd' dft.X: no visible global function definition for 'mvfft' plot.cglasso: no visible global function definition for 'colorRampPalette' predict.classo: no visible global function definition for 'check_dots' Undefined global functions or variables: check_dots colorRampPalette mvfft weighted_mean_sd Consider adding importFrom("grDevices", "colorRampPalette") importFrom("stats", "mvfft") to your NAMESPACE file. * checking Rd files ... NOTE checkRd: (-1) cglasso.Rd:30: Lost braces; missing escapes or markup? 30 | \deqn{D^{-1/2}(\arg\min_{\Theta}\textrm{Tr}[\hat{R}\hat{\Theta}]-\log\det\Theta + \sum_{i\neq j}|\Theta_{ij}|)D^{-1/2}} for the given D. If type is \code{II}, the algorithm solves CGLASSO-II in the reference. It is for each iterative classo with covariate update, the squared-root of scale matrix D^{-1/2} is multiplied. Please refer to the equation (5.2) in the reference for the details.} | ^ * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... WARNING Undocumented code objects: 'buildPredmat' Undocumented data sets: 'cglasso_example' 'classo_example' All user-level objects in a package should have documentation entries. See chapter 'Writing R documentation files' in the 'Writing R Extensions' manual. * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... WARNING Undocumented arguments in Rd file 'cglasso.Rd' '...' Undocumented arguments in Rd file 'classo.Rd' '...' Undocumented arguments in Rd file 'classo.path.Rd' 'maxit' '...' Undocumented arguments in Rd file 'cv.classo.Rd' 'type.measure' Functions with \usage entries need to have the appropriate \alias entries, and all their arguments documented. The \usage entries must correspond to syntactically valid R code. See chapter 'Writing R documentation files' in the 'Writing R Extensions' manual. * 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 pragmas in C/C++ headers and code ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking usage of KIND in Fortran files ... OK * checking files in 'vignettes' ... WARNING Files in the 'vignettes' directory but no files in 'inst/doc': 'cxreg.Rmd' 'cxreg.pdf' 'cxreg_refs.bib' Package has no Sweave vignette sources and no VignetteBuilder field. * checking examples ... ERROR Running examples in 'cxreg-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: cglasso > ### Title: fit a complex-valued graphical lasso > ### Aliases: cglasso > ### Keywords: complex-valued matrix models precision > > ### ** Examples > > p <- 30 > n <- 500 > C <- diag(0.7, p) > C[row(C) == col(C) + 1] <- 0.3 > C[row(C) == col(C) - 1] <- 0.3 > Sigma <- solve(C) > set.seed(1010) > m <- floor(sqrt(n)); j <- 1 > X_t <- rmvnorm(n = n, mean = rep(0, p), sigma = Sigma) Error in rmvnorm(n = n, mean = rep(0, p), sigma = Sigma) : could not find function "rmvnorm" Execution halted * checking package vignettes ... NOTE Package has 'vignettes' subdirectory but apparently no vignettes. Perhaps the 'VignetteBuilder' information is missing from the DESCRIPTION file? * checking PDF version of manual ... [13s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 5 WARNINGs, 5 NOTEs