* using log directory ‘/data/gannet/ripley/R/packages/tests-LENGTH1/Rambo.Rcheck’ * using R Under development (unstable) (2022-04-26 r82260) * using platform: x86_64-pc-linux-gnu (64-bit) * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘Rambo/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘Rambo’ version ‘1.1.1’ * 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 ‘Rambo’ can be installed ... [7s/20s] 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 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 ... [10s/29s] 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 data for ASCII and uncompressed saves ... OK * checking examples ... [4s/14s] ERROR Running examples in ‘Rambo-Ex.R’ failed The error most likely occurred in: > ### Name: Rambo-package > ### Title: The Random Subgraph Model > ### Aliases: Rambo-package Rambo RAMBO > ### Keywords: rsm > > ### ** Examples > > data(Regions) > res <- rsm(Regions$X, Regions$sub, Klist=2:4, nbredo=1, maxit=5) ----------- FAILURE REPORT -------------- --- failure: length > 1 in coercion to logical --- --- srcref --- : --- package (from environment) --- Rambo --- call from context --- .rsm.xlogx(Tau) --- call from argument --- u == 0 || u == 1 --- R stacktrace --- where 1: .rsm.xlogx(Tau) where 2: .rsm.Mstep(X, chi, ppi, Tau, sub, g) where 3: rsm(Regions$X, Regions$sub, Klist = 2:4, nbredo = 1, maxit = 5) --- value of length: 60 type: logical --- [,1] [,2] [1,] TRUE FALSE [2,] TRUE FALSE [3,] FALSE TRUE [4,] FALSE TRUE [5,] TRUE FALSE [6,] FALSE TRUE [7,] FALSE TRUE [8,] FALSE TRUE [9,] FALSE TRUE [10,] TRUE FALSE [11,] FALSE TRUE [12,] TRUE FALSE [13,] FALSE TRUE [14,] TRUE FALSE [15,] FALSE TRUE [16,] TRUE FALSE [17,] TRUE FALSE [18,] TRUE FALSE [19,] FALSE TRUE [20,] TRUE FALSE [21,] FALSE TRUE [22,] TRUE FALSE [23,] TRUE FALSE [24,] FALSE TRUE [25,] TRUE FALSE [26,] TRUE FALSE [27,] TRUE FALSE [28,] TRUE FALSE [29,] FALSE TRUE [30,] FALSE TRUE --- function from context --- function (u) { if (u == 0 || u == 1) res = 0 else res = u * log(u) } --- function search by body --- Function .rsm.xlogx in namespace Rambo has this body. ----------- END OF FAILURE REPORT -------------- Fatal error: length > 1 in coercion to logical * checking PDF 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-LENGTH1/Rambo.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 2:51.94, 55.06 + 7.85