• using R Under development (unstable) (2026-02-12 r89409)
  • using platform: aarch64-apple-darwin23
  • R was compiled by     Apple clang version 17.0.0 (clang-1700.3.19.1)     GNU Fortran (GCC) 14.2.0
  • running under: macOS Sequoia 15.7.1
  • using session charset: UTF-8 * current time: 2026-02-13 02:29:05 UTC
  • checking for file ‘ccar3/DESCRIPTION’ ... OK
  • this is package ‘ccar3’ version ‘0.1.0’
  • 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 executable files ... OK
  • checking for hidden files and directories ... OK
  • checking for portable file names ... OK
  • checking for sufficient/correct file permissions ... OK
  • checking whether package ‘ccar3’ can be installed ... [3s/3s] OK See the install log for details.
  • checking installed package size ... OK
  • checking package 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 ... [0s/0s] OK
  • checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
  • checking whether the package can be unloaded cleanly ... [0s/0s] OK
  • checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
  • checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
  • checking loading without being on the library search path ... [0s/0s] 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 ... [2s/2s] OK
  • checking Rd files ... [0s/0s] 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 examples ... [0s/0s] OK
  • checking for unstated dependencies in ‘tests’ ... OK
  • checking tests ... [53s/43s] ERROR   Running ‘testthat.R’ [53s/43s] Running the tests in ‘tests/testthat.R’ failed. Complete output:   > # This file is part of the standard setup for testthat.   > # It is recommended that you do not modify it.   > #   > # Where should you do additional test configuration?   > # Learn more about the roles of various files in:   > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview   > # * https://testthat.r-lib.org/articles/special-files.html   >   > library(testthat)   > library(ccar3)   >   > test_check("ccar3")   Loading required package: ggplot2   Loading required package: lattice       Permutation 1 out of 50 123456789    Permutation 2 out of 50 123456789    Permutation 3 out of 50 123456789    Permutation 4 out of 50 123456789    Permutation 5 out of 50 123456789    Permutation 6 out of 50 123456789    Permutation 7 out of 50 123456789    Permutation 8 out of 50 123456789    Permutation 9 out of 50 123456789    Permutation 10 out of 50 123456789    Permutation 11 out of 50 123456789    Permutation 12 out of 50 123456789    Permutation 13 out of 50 123456789    Permutation 14 out of 50 123456789    Permutation 15 out of 50 123456789    Permutation 16 out of 50 123456789    Permutation 17 out of 50 123456789    Permutation 18 out of 50 123456789    Permutation 19 out of 50 123456789    Permutation 20 out of 50 123456789    Permutation 21 out of 50 123456789    Permutation 22 out of 50 123456789    Permutation 23 out of 50 123456789    Permutation 24 out of 50 123456789    Permutation 25 out of 50 123456789    Permutation 26 out of 50 123456789    Permutation 27 out of 50 123456789    Permutation 28 out of 50 123456789    Permutation 29 out of 50 123456789    Permutation 30 out of 50 123456789    Permutation 31 out of 50 123456789    Permutation 32 out of 50 123456789    Permutation 33 out of 50 123456789    Permutation 34 out of 50 123456789    Permutation 35 out of 50 123456789    Permutation 36 out of 50 123456789    Permutation 37 out of 50 123456789    Permutation 38 out of 50 123456789    Permutation 39 out of 50 123456789    Permutation 40 out of 50 123456789    Permutation 41 out of 50 123456789    Permutation 42 out of 50 123456789    Permutation 43 out of 50 123456789    Permutation 44 out of 50 123456789    Permutation 45 out of 50 123456789    Permutation 46 out of 50 123456789    Permutation 47 out of 50 123456789    Permutation 48 out of 50 123456789    Permutation 49 out of 50 123456789    Permutation 50 out of 50 123456789   Estimating optimal shrinkage intensity lambda.var (variance vector): 1      Estimating optimal shrinkage intensity lambda (correlation matrix): 0.0479      Estimating optimal shrinkage intensity lambda.var (variance vector): 1      Estimating optimal shrinkage intensity lambda (correlation matrix): 0.0479         Attaching package: 'Matrix'      The following objects are masked from 'package:pracma':          expm, lu, tril, triu      Error in fold 1: a dimension is zero   Error in fold 2: a dimension is zero   Error in fold 3: a dimension is zero   Error in fold 1: a dimension is zero   Error in fold 2: a dimension is zero   Error in fold 3: a dimension is zero   Error in fold 1: a dimension is zero   Error in fold 2: a dimension is zero   Error in fold 3: a dimension is zero   Error in fold 1: a dimension is zero   Error in fold 2: a dimension is zero   Error in fold 3: a dimension is zero   Error in fold 1: a dimension is zero   Error in fold 2: a dimension is zero   Error in fold 3: a dimension is zero   Error in fold 1: a dimension is zero   Error in fold 2: a dimension is zero   Error in fold 3: a dimension is zero   Error in fold 1: a dimension is zero   Error in fold 2: a dimension is zero   Error in fold 3: a dimension is zero   Error in fold 1: a dimension is zero   Error in fold 2: a dimension is zero   Error in fold 3: a dimension is zero   Error in fold 1: a dimension is zero   Error in fold 2: a dimension is zero   Error in fold 3: a dimension is zero   Error in fold 1: a dimension is zero   Error in fold 2: a dimension is zero   Error in fold 3: a dimension is zero   Saving _problems/test-cca_graph_rrr_cv-49.R   Saving _problems/test-cca_graph_rrr_cv-77.R   Saving _problems/test-cca_group_rrr_cv-47.R   Saving _problems/test-cca_group_rrr_cv-75.R   [1] "Done ADMM"   [1] "Done CVXR"   Saving _problems/test-cca_rrr_cv-71.R   [1] "We have:"   [1] 100 1 5   [1] "--------------------------------------"   [1] "Generating data ..."   [1] "Number of non zeros is: 5"   [1] "Data generated."   [1] "--------------------------------------"      iter: 10 delta: 0.001831906   iter: 20 delta: 0.0002497733 ADMM converged in 28 iterations[1] "We have:"   [1] 100 1 5   [1] "--------------------------------------"   [1] "Generating data ..."   [1] "Number of non zeros is: 5"   [1] "Data generated."   [1] "--------------------------------------"        ADMM converged in 9 iterations[1] "We have:"   [1] 100 1 5   [1] "--------------------------------------"   [1] "Generating data ..."   [1] "Number of non zeros is: 5"   [1] "Data generated."   [1] "--------------------------------------"   [1] "We have:"   [1] 100 1 5   [1] "--------------------------------------"   [1] "Generating data ..."   [1] "Number of non zeros is: 5"   [1] "Data generated."   [1] "--------------------------------------"   [ FAIL 5 | WARN 0 | SKIP 0 | PASS 101 ]      ══ Failed tests ════════════════════════════════════════════════════════════════   ── Error ('test-cca_graph_rrr_cv.R:49:3'): cca_graph_rrr_cv can run in parallel ──   Error in `unserialize(socklist[[n]])`: error reading from connection   Backtrace:       ▆    1. └─ccar3::cca_graph_rrr_cv(...) at test-cca_graph_rrr_cv.R:49:3    2. └─foreach(lambda = lambdas, .combine = rbind) %dopar% ...    3. └─e$fun(obj, substitute(ex), parent.frame(), e$data)    4. └─parallel::clusterApplyLB(cl, argsList, evalWrapper)    5. └─parallel:::dynamicClusterApply(cl, fun, length(x), argfun)    6. └─parallel:::recvOneResult(cl)    7. ├─parallel::recvOneData(cl)    8. └─parallel:::recvOneData.SOCKcluster(cl)    9. └─base::unserialize(socklist[[n]])   ── Error ('test-cca_graph_rrr_cv.R:77:3'): cca_graph_rrr_cv returns the correct answer ──   Error in `unserialize(socklist[[n]])`: error reading from connection   Backtrace:       ▆    1. └─ccar3::cca_graph_rrr_cv(...) at test-cca_graph_rrr_cv.R:77:3    2. └─foreach(lambda = lambdas, .combine = rbind) %dopar% ...    3. └─e$fun(obj, substitute(ex), parent.frame(), e$data)    4. └─parallel::clusterApplyLB(cl, argsList, evalWrapper)    5. └─parallel:::dynamicClusterApply(cl, fun, length(x), argfun)    6. └─parallel:::recvOneResult(cl)    7. ├─parallel::recvOneData(cl)    8. └─parallel:::recvOneData.SOCKcluster(cl)    9. └─base::unserialize(socklist[[n]])   ── Error ('test-cca_group_rrr_cv.R:47:3'): cca_group_rrr_cv can run in parallel ──   Error in `unserialize(socklist[[n]])`: error reading from connection   Backtrace:       ▆    1. └─ccar3::cca_group_rrr_cv(...) at test-cca_group_rrr_cv.R:47:3    2. └─... %dopar% run_cv(lambda)    3. └─e$fun(obj, substitute(ex), parent.frame(), e$data)    4. └─parallel::clusterApplyLB(cl, argsList, evalWrapper)    5. └─parallel:::dynamicClusterApply(cl, fun, length(x), argfun)    6. └─parallel:::recvOneResult(cl)    7. ├─parallel::recvOneData(cl)    8. └─parallel:::recvOneData.SOCKcluster(cl)    9. └─base::unserialize(socklist[[n]])   ── Error ('test-cca_group_rrr_cv.R:72:3'): cca_group_rrr_cv returns the correct answer ──   Error in `unserialize(socklist[[n]])`: error reading from connection   Backtrace:       ▆    1. └─ccar3::cca_rrr_cv(...) at test-cca_group_rrr_cv.R:72:3    2. └─foreach(lambda = lambdas, .combine = rbind) %dopar% ...    3. └─e$fun(obj, substitute(ex), parent.frame(), e$data)    4. └─parallel::clusterApplyLB(cl, argsList, evalWrapper)    5. └─parallel:::dynamicClusterApply(cl, fun, length(x), argfun)    6. └─parallel:::recvOneResult(cl)    7. ├─parallel::recvOneData(cl)    8. └─parallel:::recvOneData.SOCKcluster(cl)    9. └─base::unserialize(socklist[[n]])   ── Error ('test-cca_rrr_cv.R:68:3'): cca_rrr_cv returns the correct answer ─────   Error in `unserialize(socklist[[n]])`: error reading from connection   Backtrace:       ▆    1. └─ccar3::cca_rrr_cv(...) at test-cca_rrr_cv.R:68:3    2. └─foreach(lambda = lambdas, .combine = rbind) %dopar% ...    3. └─e$fun(obj, substitute(ex), parent.frame(), e$data)    4. └─parallel::clusterApplyLB(cl, argsList, evalWrapper)    5. └─parallel:::dynamicClusterApply(cl, fun, length(x), argfun)    6. └─parallel:::recvOneResult(cl)    7. ├─parallel::recvOneData(cl)    8. └─parallel:::recvOneData.SOCKcluster(cl)    9. └─base::unserialize(socklist[[n]])      [ FAIL 5 | WARN 0 | SKIP 0 | PASS 101 ]   Error:   ! Test failures.   Execution halted
  • checking PDF version of manual ... [2s/2s] OK
  • DONE Status: 1 ERROR
  • using check arguments '--no-clean-on-error '