* using log directory ‘/data/gannet/ripley/R/packages/tests-LENGTH1/geotech.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 ‘geotech/DESCRIPTION’ ... OK * this is package ‘geotech’ version ‘1.0’ * 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 ‘geotech’ can be installed ... [6s/16s] 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 ... [11s/28s] 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 examples ... ERROR Running examples in ‘geotech-Ex.R’ failed The error most likely occurred in: > ### Name: Plasticity > ### Title: Plasticity Functions > ### Aliases: Plasticity LL PI LI A.line plasticity.plot > > ### ** Examples > > > ## Example code for Plasticity Index > PI(LL = 80, PL = 30) $PI [1] 50 $descr [1] "Highly plastic" > > ## Example code for Liquidity Index > LI(w = 55, PL = 20, LL = 50) $LI [1] 1.166667 $descr [1] "Liquid State" > > ## Example code for plasticity plot > plasticity.plot(LL = 40, PL = 20) > > ## Example code for liquid limit analysis > LL(N = c(72, 37, 14), w = c(7, 15, 21), draw = TRUE) ----------- FAILURE REPORT -------------- --- failure: length > 1 in coercion to logical --- --- srcref --- : --- package (from environment) --- geotech --- call from context --- logAxis(x = N) --- call from argument --- is.na(x) == FALSE && is.na(y) == TRUE --- R stacktrace --- where 1: logAxis(x = N) where 2: LL(N = c(72, 37, 14), w = c(7, 15, 21), draw = TRUE) --- value of length: 3 type: logical --- [1] TRUE TRUE TRUE --- function from context --- function (x = NA, y = NA, gridX = FALSE, gridY = FALSE) { if (is.na(x) == FALSE && is.na(y) == TRUE) { logAxis.plot(data = x, type = "x", gridlines = gridY) } else { if (is.na(x) == TRUE && is.na(y) == FALSE) { logAxis.plot(data = y, type = "y", gridlines = gridX) } else { if (is.na(x) == FALSE && is.na(y) == FALSE) { logAxis.plot(data = x, type = "x", gridlines = gridY) logAxis.plot(data = y, type = "y", gridlines = gridX) } } } } --- function search by body --- Function logAxis in namespace geotech 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/geotech.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 1:58.94, 40.27 + 5.30