CRAN Package Check Results for Package BCDAG

Last updated on 2023-10-06 07:56:54 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.0 3.94 399.37 403.31 ERROR
r-devel-linux-x86_64-debian-gcc 1.0.0 2.38 276.40 278.78 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.0 535.74 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0.0 485.11 ERROR
r-devel-windows-x86_64 1.0.0 5.00 273.00 278.00 ERROR
r-patched-linux-x86_64 1.0.0 3.95 406.96 410.91 ERROR
r-release-linux-x86_64 1.0.0 3.46 411.28 414.74 ERROR
r-release-macos-arm64 1.0.0 133.00 OK
r-release-macos-x86_64 1.0.0 256.00 OK
r-release-windows-x86_64 1.0.0 5.00 377.00 382.00 ERROR
r-oldrel-macos-arm64 1.0.0 107.00 OK
r-oldrel-macos-x86_64 1.0.0 170.00 OK
r-oldrel-windows-x86_64 1.0.0 6.00 371.00 377.00 ERROR

Check Details

Version: 1.0.0
Check: examples
Result: ERROR
    Running examples in ‘BCDAG-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: summary.bcdag
    > ### Title: bcdag object summaries
    > ### Aliases: summary.bcdag
    >
    > ### ** Examples
    >
    > n <- 1000
    > q <- 4
    > DAG <- matrix(c(0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0), nrow = q)
    >
    > L <- DAG
    > L[L != 0] <- runif(q, 0.2, 1)
    > diag(L) <- c(1,1,1,1)
    > D <- diag(1, q)
    > Sigma <- t(solve(L))%*%D%*%solve(L)
    >
    > a <- 6
    > g <- 1/1000
    > U <- g*diag(1,q)
    > w = 0.2
    >
    > set.seed(1)
    > X <- mvtnorm::rmvnorm(n, sigma = Sigma)
    >
    > out <- learn_DAG(1000, 0, X, a, U, w, fast = TRUE, collapse = TRUE, save.memory = FALSE)
    Sampling DAGs...
    
     |
     | | 0%
     |
     | | 1%
     |
     |= | 1%
     |
     |= | 2%
     |
     |== | 2%
     |
     |== | 3%
     |
     |== | 4%
     |
     |=== | 4%
     |
     |=== | 5%
     |
     |==== | 5%
     |
     |==== | 6%
     |
     |===== | 7%
     |
     |===== | 8%
     |
     |====== | 8%
     |
     |====== | 9%
     |
     |======= | 9%
     |
     |======= | 10%
     |
     |======= | 11%
     |
     |======== | 11%
     |
     |======== | 12%
     |
     |========= | 12%
     |
     |========= | 13%
     |
     |========= | 14%
     |
     |========== | 14%
     |
     |========== | 15%
     |
     |=========== | 15%
     |
     |=========== | 16%
     |
     |============ | 16%
     |
     |============ | 17%
     |
     |============ | 18%
     |
     |============= | 18%
     |
     |============= | 19%
     |
     |============== | 19%
     |
     |============== | 20%
     |
     |============== | 21%
     |
     |=============== | 21%
     |
     |=============== | 22%
     |
     |================ | 22%
     |
     |================ | 23%
     |
     |================ | 24%
     |
     |================= | 24%
     |
     |================= | 25%
     |
     |================== | 25%
     |
     |================== | 26%
     |
     |=================== | 26%
     |
     |=================== | 27%
     |
     |=================== | 28%
     |
     |==================== | 28%
     |
     |==================== | 29%
     |
     |===================== | 29%
     |
     |===================== | 30%
     |
     |===================== | 31%
     |
     |====================== | 31%
     |
     |====================== | 32%
     |
     |======================= | 32%
     |
     |======================= | 33%
     |
     |======================= | 34%
     |
     |======================== | 34%
     |
     |======================== | 35%
     |
     |========================= | 35%
     |
     |========================= | 36%
     |
     |========================== | 36%
     |
     |========================== | 37%
     |
     |========================== | 38%
     |
     |=========================== | 38%
     |
     |=========================== | 39%
     |
     |============================ | 39%
     |
     |============================ | 40%
     |
     |============================ | 41%
     |
     |============================= | 41%
     |
     |============================= | 42%
     |
     |============================== | 42%
     |
     |============================== | 43%
     |
     |=============================== | 44%
     |
     |=============================== | 45%
     |
     |================================ | 45%
     |
     |================================ | 46%
     |
     |================================= | 46%
     |
     |================================= | 47%
     |
     |================================= | 48%
     |
     |================================== | 48%
     |
     |================================== | 49%
     |
     |=================================== | 49%
     |
     |=================================== | 50%
     |
     |=================================== | 51%
     |
     |==================================== | 51%
     |
     |==================================== | 52%
     |
     |===================================== | 52%
     |
     |===================================== | 53%
     |
     |===================================== | 54%
     |
     |====================================== | 54%
     |
     |====================================== | 55%
     |
     |======================================= | 55%
     |
     |======================================= | 56%
     |
     |======================================== | 57%
     |
     |======================================== | 58%
     |
     |========================================= | 58%
     |
     |========================================= | 59%
     |
     |========================================== | 59%
     |
     |========================================== | 60%
     |
     |========================================== | 61%
     |
     |=========================================== | 61%
     |
     |=========================================== | 62%
     |
     |============================================ | 62%
     |
     |============================================ | 63%
     |
     |============================================ | 64%
     |
     |============================================= | 64%
     |
     |============================================= | 65%
     |
     |============================================== | 65%
     |
     |============================================== | 66%
     |
     |=============================================== | 66%
     |
     |=============================================== | 67%
     |
     |=============================================== | 68%
     |
     |================================================ | 68%
     |
     |================================================ | 69%
     |
     |================================================= | 69%
     |
     |================================================= | 70%
     |
     |================================================= | 71%
     |
     |================================================== | 71%
     |
     |================================================== | 72%
     |
     |=================================================== | 72%
     |
     |=================================================== | 73%
     |
     |=================================================== | 74%
     |
     |==================================================== | 74%
     |
     |==================================================== | 75%
     |
     |===================================================== | 75%
     |
     |===================================================== | 76%
     |
     |====================================================== | 76%
     |
     |====================================================== | 77%
     |
     |====================================================== | 78%
     |
     |======================================================= | 78%
     |
     |======================================================= | 79%
     |
     |======================================================== | 79%
     |
     |======================================================== | 80%
     |
     |======================================================== | 81%
     |
     |========================================================= | 81%
     |
     |========================================================= | 82%
     |
     |========================================================== | 82%
     |
     |========================================================== | 83%
     |
     |========================================================== | 84%
     |
     |=========================================================== | 84%
     |
     |=========================================================== | 85%
     |
     |============================================================ | 85%
     |
     |============================================================ | 86%
     |
     |============================================================= | 86%
     |
     |============================================================= | 87%
     |
     |============================================================= | 88%
     |
     |============================================================== | 88%
     |
     |============================================================== | 89%
     |
     |=============================================================== | 89%
     |
     |=============================================================== | 90%
     |
     |=============================================================== | 91%
     |
     |================================================================ | 91%
     |
     |================================================================ | 92%
     |
     |================================================================= | 92%
     |
     |================================================================= | 93%
     |
     |================================================================== | 94%
     |
     |================================================================== | 95%
     |
     |=================================================================== | 95%
     |
     |=================================================================== | 96%
     |
     |==================================================================== | 96%
     |
     |==================================================================== | 97%
     |
     |==================================================================== | 98%
     |
     |===================================================================== | 98%
     |
     |===================================================================== | 99%
     |
     |======================================================================| 99%
     |
     |======================================================================| 100%> summary(out)
    A collapsed bcdag object containing 1000 draws from the posterior distribution of DAGs. (Burnin = 0 ).
    
    Prior hyperparameters:
    w = 0.2
    a = 6
    U = [,1] [,2] [,3] [,4]
    [1,] 0.001 0.000 0.000 0.000
    [2,] 0.000 0.001 0.000 0.000
    [3,] 0.000 0.000 0.001 0.000
    [4,] 0.000 0.000 0.000 0.001
    Error in h(simpleError(msg, call)) :
     error in evaluating the argument 'x' in selecting a method for function 'plot': no method or default for coercing “matrix” to “graphNEL”
    Calls: summary -> summary.bcdag -> <Anonymous> -> <Anonymous>
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 1.0.0
Check: re-building of vignette outputs
Result: ERROR
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘bcdag_generatedata.Rmd’ using rmarkdown
    --- finished re-building ‘bcdag_generatedata.Rmd’
    
    --- re-building ‘bcdag_getfamily.Rmd’ using rmarkdown
    
    Quitting from lines 96-97 [unnamed-chunk-7] (bcdag_getfamily.Rmd)
    Error: processing vignette 'bcdag_getfamily.Rmd' failed with diagnostics:
    error in evaluating the argument 'x' in selecting a method for function 'plot': no method or default for coercing "matrix" to "graphNEL"
    --- failed re-building ‘bcdag_getfamily.Rmd’
    
    --- re-building ‘bcdag_learnDAG.Rmd’ using rmarkdown
    --- finished re-building ‘bcdag_learnDAG.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘bcdag_getfamily.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 1.0.0
Check: examples
Result: ERROR
    Running examples in ‘BCDAG-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: summary.bcdag
    > ### Title: bcdag object summaries
    > ### Aliases: summary.bcdag
    >
    > ### ** Examples
    >
    > n <- 1000
    > q <- 4
    > DAG <- matrix(c(0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0), nrow = q)
    >
    > L <- DAG
    > L[L != 0] <- runif(q, 0.2, 1)
    > diag(L) <- c(1,1,1,1)
    > D <- diag(1, q)
    > Sigma <- t(solve(L))%*%D%*%solve(L)
    >
    > a <- 6
    > g <- 1/1000
    > U <- g*diag(1,q)
    > w = 0.2
    >
    > set.seed(1)
    > X <- mvtnorm::rmvnorm(n, sigma = Sigma)
    >
    > out <- learn_DAG(1000, 0, X, a, U, w, fast = TRUE, collapse = TRUE, save.memory = FALSE)
    Sampling DAGs...
    
     |
     | | 0%
     |
     | | 1%
     |
     |= | 1%
     |
     |= | 2%
     |
     |== | 2%
     |
     |== | 3%
     |
     |== | 4%
     |
     |=== | 4%
     |
     |=== | 5%
     |
     |==== | 5%
     |
     |==== | 6%
     |
     |===== | 7%
     |
     |===== | 8%
     |
     |====== | 8%
     |
     |====== | 9%
     |
     |======= | 9%
     |
     |======= | 10%
     |
     |======= | 11%
     |
     |======== | 11%
     |
     |======== | 12%
     |
     |========= | 12%
     |
     |========= | 13%
     |
     |========= | 14%
     |
     |========== | 14%
     |
     |========== | 15%
     |
     |=========== | 15%
     |
     |=========== | 16%
     |
     |============ | 16%
     |
     |============ | 17%
     |
     |============ | 18%
     |
     |============= | 18%
     |
     |============= | 19%
     |
     |============== | 19%
     |
     |============== | 20%
     |
     |============== | 21%
     |
     |=============== | 21%
     |
     |=============== | 22%
     |
     |================ | 22%
     |
     |================ | 23%
     |
     |================ | 24%
     |
     |================= | 24%
     |
     |================= | 25%
     |
     |================== | 25%
     |
     |================== | 26%
     |
     |=================== | 26%
     |
     |=================== | 27%
     |
     |=================== | 28%
     |
     |==================== | 28%
     |
     |==================== | 29%
     |
     |===================== | 29%
     |
     |===================== | 30%
     |
     |===================== | 31%
     |
     |====================== | 31%
     |
     |====================== | 32%
     |
     |======================= | 32%
     |
     |======================= | 33%
     |
     |======================= | 34%
     |
     |======================== | 34%
     |
     |======================== | 35%
     |
     |========================= | 35%
     |
     |========================= | 36%
     |
     |========================== | 36%
     |
     |========================== | 37%
     |
     |========================== | 38%
     |
     |=========================== | 38%
     |
     |=========================== | 39%
     |
     |============================ | 39%
     |
     |============================ | 40%
     |
     |============================ | 41%
     |
     |============================= | 41%
     |
     |============================= | 42%
     |
     |============================== | 42%
     |
     |============================== | 43%
     |
     |=============================== | 44%
     |
     |=============================== | 45%
     |
     |================================ | 45%
     |
     |================================ | 46%
     |
     |================================= | 46%
     |
     |================================= | 47%
     |
     |================================= | 48%
     |
     |================================== | 48%
     |
     |================================== | 49%
     |
     |=================================== | 49%
     |
     |=================================== | 50%
     |
     |=================================== | 51%
     |
     |==================================== | 51%
     |
     |==================================== | 52%
     |
     |===================================== | 52%
     |
     |===================================== | 53%
     |
     |===================================== | 54%
     |
     |====================================== | 54%
     |
     |====================================== | 55%
     |
     |======================================= | 55%
     |
     |======================================= | 56%
     |
     |======================================== | 57%
     |
     |======================================== | 58%
     |
     |========================================= | 58%
     |
     |========================================= | 59%
     |
     |========================================== | 59%
     |
     |========================================== | 60%
     |
     |========================================== | 61%
     |
     |=========================================== | 61%
     |
     |=========================================== | 62%
     |
     |============================================ | 62%
     |
     |============================================ | 63%
     |
     |============================================ | 64%
     |
     |============================================= | 64%
     |
     |============================================= | 65%
     |
     |============================================== | 65%
     |
     |============================================== | 66%
     |
     |=============================================== | 66%
     |
     |=============================================== | 67%
     |
     |=============================================== | 68%
     |
     |================================================ | 68%
     |
     |================================================ | 69%
     |
     |================================================= | 69%
     |
     |================================================= | 70%
     |
     |================================================= | 71%
     |
     |================================================== | 71%
     |
     |================================================== | 72%
     |
     |=================================================== | 72%
     |
     |=================================================== | 73%
     |
     |=================================================== | 74%
     |
     |==================================================== | 74%
     |
     |==================================================== | 75%
     |
     |===================================================== | 75%
     |
     |===================================================== | 76%
     |
     |====================================================== | 76%
     |
     |====================================================== | 77%
     |
     |====================================================== | 78%
     |
     |======================================================= | 78%
     |
     |======================================================= | 79%
     |
     |======================================================== | 79%
     |
     |======================================================== | 80%
     |
     |======================================================== | 81%
     |
     |========================================================= | 81%
     |
     |========================================================= | 82%
     |
     |========================================================== | 82%
     |
     |========================================================== | 83%
     |
     |========================================================== | 84%
     |
     |=========================================================== | 84%
     |
     |=========================================================== | 85%
     |
     |============================================================ | 85%
     |
     |============================================================ | 86%
     |
     |============================================================= | 86%
     |
     |============================================================= | 87%
     |
     |============================================================= | 88%
     |
     |============================================================== | 88%
     |
     |============================================================== | 89%
     |
     |=============================================================== | 89%
     |
     |=============================================================== | 90%
     |
     |=============================================================== | 91%
     |
     |================================================================ | 91%
     |
     |================================================================ | 92%
     |
     |================================================================= | 92%
     |
     |================================================================= | 93%
     |
     |================================================================== | 94%
     |
     |================================================================== | 95%
     |
     |=================================================================== | 95%
     |
     |=================================================================== | 96%
     |
     |==================================================================== | 96%
     |
     |==================================================================== | 97%
     |
     |==================================================================== | 98%
     |
     |===================================================================== | 98%
     |
     |===================================================================== | 99%
     |
     |======================================================================| 99%
     |
     |======================================================================| 100%> summary(out)
    A collapsed bcdag object containing 1000 draws from the posterior distribution of DAGs. (Burnin = 0 ).
    
    Prior hyperparameters:
    w = 0.2
    a = 6
    U = [,1] [,2] [,3] [,4]
    [1,] 0.001 0.000 0.000 0.000
    [2,] 0.000 0.001 0.000 0.000
    [3,] 0.000 0.000 0.001 0.000
    [4,] 0.000 0.000 0.000 0.001
    Error in h(simpleError(msg, call)) :
     error in evaluating the argument 'x' in selecting a method for function 'plot': no method or default for coercing “matrix” to “graphNEL”
    Calls: summary -> summary.bcdag -> <Anonymous> -> <Anonymous>
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-release-windows-x86_64, r-oldrel-windows-x86_64

Version: 1.0.0
Check: re-building of vignette outputs
Result: ERROR
    Error(s) in re-building vignettes:
    --- re-building ‘bcdag_generatedata.Rmd’ using rmarkdown
    --- finished re-building ‘bcdag_generatedata.Rmd’
    
    --- re-building ‘bcdag_getfamily.Rmd’ using rmarkdown
    
    Quitting from lines 96-97 [unnamed-chunk-7] (bcdag_getfamily.Rmd)
    Error: processing vignette 'bcdag_getfamily.Rmd' failed with diagnostics:
    error in evaluating the argument 'x' in selecting a method for function 'plot': no method or default for coercing "matrix" to "graphNEL"
    --- failed re-building ‘bcdag_getfamily.Rmd’
    
    --- re-building ‘bcdag_learnDAG.Rmd’ using rmarkdown
    --- finished re-building ‘bcdag_learnDAG.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘bcdag_getfamily.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-release-windows-x86_64, r-oldrel-windows-x86_64