* using log directory ‘/data/gannet/ripley/R/packages/tests-MKL/lvm4net.Rcheck’ * using R Under development (unstable) (2023-06-03 r84490) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc-13 (GCC) 13.1.0 GNU Fortran (GCC) 13.1.0 * running under: Fedora Linux 36 (Workstation Edition) * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘lvm4net/DESCRIPTION’ ... OK * this is package ‘lvm4net’ version ‘0.3’ * 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 ‘lvm4net’ can be installed ... [22s/27s] 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 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 ... [36s/45s] 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 contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [33s/41s] ERROR Running examples in ‘lvm4net-Ex.R’ failed The error most likely occurred in: > ### Name: lsjm > ### Title: Latent Space Joint Model > ### Aliases: lsjm > > ### ** Examples > > ## Simulate Undirected Network > N <- 20 > Ndata <- 2 > Y <- list() > Y[[1]] <- network(N, directed = FALSE)[,] > ### create a new view that is similar to the original > > for(nd in 2:Ndata){ + Y[[nd]] <- Y[[nd - 1]] - sample(c(-1, 0, 1), N * N, replace = TRUE, + prob = c(.05, .85, .1)) + Y[[nd]] <- 1 * (Y[[nd]] > 0 ) + diag(Y[[nd]]) <- 0 + } > > par(mfrow = c(1, 2)) > z <- plotY(Y[[1]], verbose = TRUE, main = 'Network 1') > plotY(Y[[2]], EZ = z, main = 'Network 2') > par(mfrow = c(1, 1)) > > modLSJM <- lsjm(Y, D = 2) Warning in sqrt(det(SI4SigmaT)) : NaNs produced Warning in sqrt(det(SI4SigmaT)) : NaNs produced Warning in sqrt(det(SI4SigmaT)) : NaNs produced Warning in sqrt(det(SI4SigmaT)) : NaNs produced Warning in sqrt(det(SI4SigmaT)) : NaNs produced Warning in sqrt(det(SI4SigmaT)) : NaNs produced Warning in sqrt(det(SI4SigmaT)) : NaNs produced Warning in sqrt(det(SI4SigmaT)) : NaNs produced Warning in sqrt(det(SI4SigmaT)) : NaNs produced Warning in sqrt(det(SI4SigmaT)) : NaNs produced Warning in sqrt(det(SI4SigmaT)) : NaNs produced Warning in sqrt(det(SI4SigmaT)) : NaNs produced Warning in sqrt(det(SI4SigmaT)) : NaNs produced Warning in sqrt(det(SI4SigmaT)) : NaNs produced Warning in sqrt(det(SI4SigmaT)) : NaNs produced Warning in sqrt(det(SI4SigmaT)) : NaNs produced Warning in sqrt(det(SI4SigmaT)) : NaNs produced Warning in sqrt(det(SI4SigmaT)) : NaNs produced Warning in sqrt(det(SI4SigmaT)) : NaNs produced Warning in sqrt(det(SI4SigmaT)) : NaNs produced Error in svd(t(Y) %*% X) : infinite or missing values in 'x' Calls: lsjm -> rotXtoY -> svd Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in ‘inst/doc’ ... OK * checking re-building of vignette outputs ... [17m/22m] OK * checking PDF version of manual ... [7s/14s] OK * checking HTML version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR See ‘/data/gannet/ripley/R/packages/tests-MKL/lvm4net.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 25:46.46, 1185.59 + 24.30