* using log directory 'd:/RCompile/CRANincoming/R-devel/graphClust.Rcheck' * using R Under development (unstable) (2023-07-16 r84696 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 12.2.0 GNU Fortran (GCC) 12.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'graphClust/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'graphClust' version '1.0.1' * package encoding: UTF-8 * checking CRAN incoming feasibility ... ERROR Maintainer: 'Fritz Bayer ' New submission Conflicting package names (submitted: graphClust, existing: graphclust [https://CRAN.R-project.org]) Conflicting package names (submitted: graphClust, existing: graphclust [CRAN archive]) Possibly misspelled words in DESCRIPTION: covariate (7:92) * 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 'graphClust' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... 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 R 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 ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [17s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... 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 ... NONE * checking for unstated dependencies in 'tests' ... OK * checking tests ... [10s] ERROR Running 'testthat.R' 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/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(graphClust) > > test_check("graphClust") [1] "Seed 2 with 2 clusters and 0.5 pseudocounts" [1] "Log likelihood is -410.545356525278" [1] "AIC is 847.090713050557" [1] "BIC is 880.957925468402" [1] "Seed 3 with 2 clusters and 0.5 pseudocounts" [1] "Log likelihood is -410.545356494219" [1] "AIC is 847.090712988438" [1] "BIC is 880.957925406283" [1] "Seed 4 with 2 clusters and 0.5 pseudocounts" [1] "Log likelihood is -409.763005098207" [1] "AIC is 845.526010196415" [1] "BIC is 879.39322261426" [1] "Seed 5 with 2 clusters and 0.5 pseudocounts" [1] "Log likelihood is -410.545356510054" [1] "AIC is 847.090713020107" [1] "BIC is 880.957925437952" [1] "Seed 6 with 2 clusters and 0.5 pseudocounts" [1] "Log likelihood is -410.545356443134" [1] "AIC is 847.090712886268" [1] "BIC is 880.957925304113" [1] "Seed 7 with 2 clusters and 0.5 pseudocounts" [1] "Log likelihood is -410.545356382853" [1] "AIC is 847.090712765705" [1] "BIC is 880.95792518355" [1] "Seed 8 with 2 clusters and 0.5 pseudocounts" [1] "Log likelihood is -410.545356538846" [1] "AIC is 847.090713077692" [1] "BIC is 880.957925495537" [1] "Seed 9 with 2 clusters and 0.5 pseudocounts" [1] "Log likelihood is -409.76300494494" [1] "AIC is 845.52600988988" [1] "BIC is 879.393222307725" [1] "Seed 10 with 2 clusters and 0.5 pseudocounts" [1] "Log likelihood is -410.545356455064" [1] "AIC is 847.090712910129" [1] "BIC is 880.957925327974" [1] "Seed 11 with 2 clusters and 0.5 pseudocounts" [1] "Log likelihood is -410.545356424536" [1] "AIC is 847.090712849072" [1] "BIC is 880.957925266917" [1] "EM seed 1" [1] "Seed 2 with 2 clusters and 0.5 pseudocounts" [1] "Log likelihood is -410.545356522334" [1] "AIC is 847.090713044669" [1] "BIC is 880.957925462514" [1] "Seed 3 with 2 clusters and 0.5 pseudocounts" [1] "Log likelihood is -409.763004975549" [1] "AIC is 845.526009951099" [1] "BIC is 879.393222368944" [1] "Seed 4 with 2 clusters and 0.5 pseudocounts" [1] "Log likelihood is -410.545356756366" [1] "AIC is 847.090713512732" [1] "BIC is 880.957925930577" [1] "Seed 5 with 2 clusters and 0.5 pseudocounts" [1] "Log likelihood is -410.545356604747" [1] "AIC is 847.090713209494" [1] "BIC is 880.957925627339" [1] "Seed 6 with 2 clusters and 0.5 pseudocounts" [1] "Log likelihood is -410.545356450708" [1] "AIC is 847.090712901416" [1] "BIC is 880.957925319261" [1] "Seed 7 with 2 clusters and 0.5 pseudocounts" [1] "Log likelihood is -410.545356577825" [1] "AIC is 847.09071315565" [1] "BIC is 880.957925573495" [1] "Seed 8 with 2 clusters and 0.5 pseudocounts" [1] "Log likelihood is -410.545356581226" [1] "AIC is 847.090713162452" [1] "BIC is 880.957925580297" [1] "Seed 9 with 2 clusters and 0.5 pseudocounts" [1] "Log likelihood is -410.545356557019" [1] "AIC is 847.090713114039" [1] "BIC is 880.957925531884" [1] "Seed 10 with 2 clusters and 0.5 pseudocounts" [1] "Log likelihood is -409.763004876318" [1] "AIC is 845.526009752637" [1] "BIC is 879.393222170482" [1] "Seed 11 with 2 clusters and 0.5 pseudocounts" [1] "Log likelihood is -409.7630049636" [1] "AIC is 845.5260099272" [1] "BIC is 879.393222345045" [1] "EM seed 1" [1] "Seed 2 with 2 clusters and 0.5 pseudocounts" [1] "Log likelihood is -410.545356580173" [1] "AIC is 847.090713160345" [1] "BIC is 880.957925578191" [1] "Seed 3 with 2 clusters and 0.5 pseudocounts" [1] "Log likelihood is -409.763005093852" [1] "AIC is 845.526010187704" [1] "BIC is 879.393222605549" [1] "Seed 4 with 2 clusters and 0.5 pseudocounts" [1] "Log likelihood is -409.763004940668" [1] "AIC is 845.526009881336" [1] "BIC is 879.393222299182" [1] "Seed 5 with 2 clusters and 0.5 pseudocounts" [1] "Log likelihood is -410.545356657809" [1] "AIC is 847.090713315618" [1] "BIC is 880.957925733463" [1] "Seed 6 with 2 clusters and 0.5 pseudocounts" [1] "Log likelihood is -410.545356720835" [1] "AIC is 847.09071344167" [1] "BIC is 880.957925859515" [1] "Seed 7 with 2 clusters and 0.5 pseudocounts" [1] "Log likelihood is -409.763005047104" [1] "AIC is 845.526010094208" [1] "BIC is 879.393222512054" [1] "Seed 8 with 2 clusters and 0.5 pseudocounts" [1] "Log likelihood is -410.545356348921" [1] "AIC is 847.090712697842" [1] "BIC is 880.957925115687" [1] "Seed 9 with 2 clusters and 0.5 pseudocounts" [1] "Log likelihood is -409.76300497623" [1] "AIC is 845.52600995246" [1] "BIC is 879.393222370305" [1] "Seed 10 with 2 clusters and 0.5 pseudocounts" [1] "Log likelihood is -410.545356638981" [1] "AIC is 847.090713277962" [1] "BIC is 880.957925695807" [1] "Seed 11 with 2 clusters and 0.5 pseudocounts" [1] "Log likelihood is -410.545356526478" [1] "AIC is 847.090713052957" [1] "BIC is 880.957925470802" [1] "EM seed 1" [1] "Seed 2 with 2 clusters and 0.5 pseudocounts" [1] "Log likelihood is -409.76300501604" [1] "AIC is 845.526010032081" [1] "BIC is 879.393222449926" [1] "Seed 3 with 2 clusters and 0.5 pseudocounts" [1] "Log likelihood is -410.545356719263" [1] "AIC is 847.090713438526" [1] "BIC is 880.957925856372" [1] "Seed 4 with 2 clusters and 0.5 pseudocounts" [1] "Log likelihood is -410.54535655448" [1] "AIC is 847.09071310896" [1] "BIC is 880.957925526806" [1] "Seed 5 with 2 clusters and 0.5 pseudocounts" [1] "Log likelihood is -410.5382414303" [1] "AIC is 847.0764828606" [1] "BIC is 880.943695278446" [1] "Seed 6 with 2 clusters and 0.5 pseudocounts" [1] "Log likelihood is -410.545356424077" [1] "AIC is 847.090712848153" [1] "BIC is 880.957925265998" [1] "Seed 7 with 2 clusters and 0.5 pseudocounts" [1] "Log likelihood is -410.545356670959" [1] "AIC is 847.090713341918" [1] "BIC is 880.957925759763" [1] "Seed 8 with 2 clusters and 0.5 pseudocounts" [1] "Log likelihood is -410.545356672486" [1] "AIC is 847.090713344972" [1] "BIC is 880.957925762817" [1] "Seed 9 with 2 clusters and 0.5 pseudocounts" [1] "Log likelihood is -410.545356377703" [1] "AIC is 847.090712755405" [1] "BIC is 880.95792517325" [1] "Seed 10 with 2 clusters and 0.5 pseudocounts" [1] "Log likelihood is -410.545356513335" [1] "AIC is 847.090713026669" [1] "BIC is 880.957925444514" [1] "Seed 11 with 2 clusters and 0.5 pseudocounts" [1] "Log likelihood is -410.545356400635" [1] "AIC is 847.090712801269" [1] "BIC is 880.957925219114" [1] "EM seed 1" [ FAIL 4 | WARN 0 | SKIP 0 | PASS 2 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-get_clusters.R:9:3'): get_clusters returns a list with the expected elements ── Error in `parallel::mclapply(1:k_clust, function(k) { if (n_bg > 0) { scorepar <- BiDAG::scoreparameters(score_type, as.data.frame(myData), edgepmat = edgepmat, weightvector = allrelativeprobabs[, k], bdepar = bdepar, bgnodes = (n + 1):(n + n_bg)) } else { scorepar <- BiDAG::scoreparameters(score_type, as.data.frame(myData), edgepmat = edgepmat, weightvector = allrelativeprobabs[, k], bdepar = bdepar) } maxfit <- BiDAG::iterativeMCMC(scorepar, addspace = clustercenters[[k]], verbose = FALSE, blacklist = blacklist) clustercenters[[k]] <- maxfit$DAG return(clustercenters[[k]]) }, mc.cores = k_clust)`: 'mc.cores' > 1 is not supported on Windows Backtrace: ▆ 1. └─graphClust::get_clusters(myData, k_clust = 2) at test-get_clusters.R:9:2 2. └─parallel::mclapply(...) ── Error ('test-get_clusters.R:19:3'): get_clusters returns a list with the expected elements ── Error in `parallel::mclapply(1:k_clust, function(k) { if (n_bg > 0) { scorepar <- BiDAG::scoreparameters(score_type, as.data.frame(myData), edgepmat = edgepmat, weightvector = allrelativeprobabs[, k], bdepar = bdepar, bgnodes = (n + 1):(n + n_bg)) } else { scorepar <- BiDAG::scoreparameters(score_type, as.data.frame(myData), edgepmat = edgepmat, weightvector = allrelativeprobabs[, k], bdepar = bdepar) } maxfit <- BiDAG::iterativeMCMC(scorepar, addspace = clustercenters[[k]], verbose = FALSE, blacklist = blacklist) clustercenters[[k]] <- maxfit$DAG return(clustercenters[[k]]) }, mc.cores = k_clust)`: 'mc.cores' > 1 is not supported on Windows Backtrace: ▆ 1. └─graphClust::get_clusters(myData, k_clust = 2, EMseeds = 1) at test-get_clusters.R:19:2 2. └─parallel::mclapply(...) ── Error ('test-get_clusters.R:30:3'): get_clusters returns objects with the expected dimensions ── Error in `parallel::mclapply(1:k_clust, function(k) { if (n_bg > 0) { scorepar <- BiDAG::scoreparameters(score_type, as.data.frame(myData), edgepmat = edgepmat, weightvector = allrelativeprobabs[, k], bdepar = bdepar, bgnodes = (n + 1):(n + n_bg)) } else { scorepar <- BiDAG::scoreparameters(score_type, as.data.frame(myData), edgepmat = edgepmat, weightvector = allrelativeprobabs[, k], bdepar = bdepar) } maxfit <- BiDAG::iterativeMCMC(scorepar, addspace = clustercenters[[k]], verbose = FALSE, blacklist = blacklist) clustercenters[[k]] <- maxfit$DAG return(clustercenters[[k]]) }, mc.cores = k_clust)`: 'mc.cores' > 1 is not supported on Windows Backtrace: ▆ 1. └─graphClust::get_clusters(myData, k_clust = 2) at test-get_clusters.R:30:2 2. └─parallel::mclapply(...) ── Error ('test-get_clusters.R:38:3'): get_clusters returns objects with the expected dimensions ── Error in `parallel::mclapply(1:k_clust, function(k) { if (n_bg > 0) { scorepar <- BiDAG::scoreparameters(score_type, as.data.frame(myData), edgepmat = edgepmat, weightvector = allrelativeprobabs[, k], bdepar = bdepar, bgnodes = (n + 1):(n + n_bg)) } else { scorepar <- BiDAG::scoreparameters(score_type, as.data.frame(myData), edgepmat = edgepmat, weightvector = allrelativeprobabs[, k], bdepar = bdepar) } maxfit <- BiDAG::iterativeMCMC(scorepar, addspace = clustercenters[[k]], verbose = FALSE, blacklist = blacklist) clustercenters[[k]] <- maxfit$DAG return(clustercenters[[k]]) }, mc.cores = k_clust)`: 'mc.cores' > 1 is not supported on Windows Backtrace: ▆ 1. └─graphClust::get_clusters(myData, k_clust = 2, EMseeds = 1) at test-get_clusters.R:38:2 2. └─parallel::mclapply(...) [ FAIL 4 | WARN 0 | SKIP 0 | PASS 2 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... [14s] OK * checking HTML version of manual ... OK * DONE Status: 2 ERRORs