- using R Under development (unstable) (2025-12-23 r89222 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 14.3.0
GNU Fortran (GCC) 14.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'CSCNet/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'CSCNet' version '0.1.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 hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'CSCNet' can be installed ... OK
See the install log for details.
- 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 ... [5s] OK
- checking whether the package can be loaded with stated dependencies ... [5s] OK
- checking whether the package can be unloaded cleanly ... [5s] OK
- checking whether the namespace can be loaded with stated dependencies ... [4s] OK
- checking whether the namespace can be unloaded cleanly ... [5s] OK
- checking loading without being on the library search path ... [5s] 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 ... [12s] 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 installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [8s] OK
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [84s] ERROR
Error(s) in re-building vignettes:
--- re-building 'CSCNet.Rmd' using rmarkdown
Quitting from CSCNet.Rmd:108-169 [unnamed-chunk-7]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/purrr_error_indexed>
Error in `purrr::map()`:
ℹ In index: 1.
ℹ With name: 1825.
Caused by error in `purrr::pmap()`:
ℹ In index: 1.
ℹ With name: 1.
Caused by error in `if (alpha > 1) ...`:
! argument is of length zero
---
Backtrace:
▆
1. ├─CSCNet::tune_penCSC(...)
2. │ └─final_params %>% ...
3. ├─purrr::map(...)
4. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
5. │ ├─purrr:::with_indexed_errors(...)
6. │ │ └─base::withCallingHandlers(...)
7. │ ├─purrr:::call_with_cleanup(...)
8. │ └─CSCNet (local) .f(.x[[i]], ...)
9. │ └─CSCNet::penCSC(...)
10. │ └─purrr::pmap(...)
11. │ └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress)
12. │ ├─purrr:::with_indexed_errors(...)
13. │ │ └─base::withCallingHandlers(...)
14. │ ├─purrr:::call_with_cleanup(...)
15. │ └─CSCNet (local) .f(...)
16. │ ├─... %>% unique()
17. │ └─glmnet::glmnet(...)
18. ├─base::unique(.)
19. ├─base::sort(., decreasing = T)
20. └─CSCNet (local) `<fn>`(.)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'CSCNet.Rmd' failed with diagnostics:
ℹ In index: 1.
ℹ With name: 1825.
Caused by error in `purrr::pmap()`:
ℹ In index: 1.
ℹ With name: 1.
Caused by error in `if (alpha > 1) ...`:
! argument is of length zero
--- failed re-building 'CSCNet.Rmd'
SUMMARY: processing the following file failed:
'CSCNet.Rmd'
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [20s] OK
- checking HTML version of manual ... [2s] OK
- DONE
Status: 1 ERROR