* using log directory ‘/srv/hornik/tmp/CRAN_pretest/ParallelLogger.Rcheck’ * using R Under development (unstable) (2025-03-24 r88048) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 19.1.7 (1+b1) Debian flang-new version 19.1.7 (1+b1) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘ParallelLogger/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘ParallelLogger’ version ‘3.4.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [4s/6s] OK * 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 ‘ParallelLogger’ can be installed ... [1s/1s] 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 code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [0s/0s] OK * checking whether the package can be loaded with stated dependencies ... [0s/0s] OK * checking whether the package can be unloaded cleanly ... [0s/0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK * checking whether the namespace can be unloaded cleanly ... [0s/0s] OK * checking loading without being on the library search path ... [0s/0s] 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 ... [3s/3s] OK * checking Rd files ... [0s/0s] 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 sizes of PDF files under ‘inst/doc’ ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [0s/1s] ERROR Running examples in ‘ParallelLogger-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: clusterApply > ### Title: Apply a function to a list using the cluster > ### Aliases: clusterApply > > ### ** Examples > > fun <- function(x) { + return (x^2) + } > > cluster <- makeCluster(numberOfThreads = 3) sh: 1: sysctl: not found Error in `` : error in running command Calls: makeCluster -> getPhysicalMemory -> system Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [2s/3s] ERROR Running ‘testthat.R’ [1s/3s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(ParallelLogger) > test_check("ParallelLogger") Initiating cluster with 3 threads sh: 1: sysctl: not found Initiating cluster with 2 threads sh: 1: sysctl: not found Initiating cluster consisting only of main thread AndromedateTempFolder set to c:\test Initiating cluster with 3 threads sh: 1: sysctl: not found Something bad Hello World ERRORERRORERROR An error report has been created at /tmp/RtmpwQxKvb/working_dir/Rtmp8g9hI5/file661db3ece307b Hello world Hello world Hello world Initiating cluster with 3 threads sh: 1: sysctl: not found [ FAIL 4 | WARN 0 | SKIP 2 | PASS 78 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • empty test (2): 'test-cluster.R:31:1', 'test-layouts.R:47:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-cluster.R:8:3'): Computation across 3 threads ────────────────── Error in `system("sysctl -n hw.memsize", intern = TRUE)`: error in running command Backtrace: ▆ 1. └─ParallelLogger::makeCluster(numberOfThreads = 3) at test-cluster.R:8:3 2. └─ParallelLogger::getPhysicalMemory() 3. └─base::system("sysctl -n hw.memsize", intern = TRUE) ── Error ('test-cluster.R:24:3'): Create a cluster of nodes for parallel computation ── Error in `system("sysctl -n hw.memsize", intern = TRUE)`: error in running command Backtrace: ▆ 1. └─ParallelLogger::makeCluster(2) at test-cluster.R:24:3 2. └─ParallelLogger::getPhysicalMemory() 3. └─base::system("sysctl -n hw.memsize", intern = TRUE) ── Error ('test-cluster.R:72:3'): Test getThreadNumber ───────────────────────── Error in `system("sysctl -n hw.memsize", intern = TRUE)`: error in running command Backtrace: ▆ 1. └─ParallelLogger::makeCluster(numberOfThreads = 3) at test-cluster.R:72:3 2. └─ParallelLogger::getPhysicalMemory() 3. └─base::system("sysctl -n hw.memsize", intern = TRUE) ── Error ('test-parallelProcessing.R:8:3'): Computation across 3 threads ─────── Error in `system("sysctl -n hw.memsize", intern = TRUE)`: error in running command Backtrace: ▆ 1. └─ParallelLogger::makeCluster(numberOfThreads = 3) at test-parallelProcessing.R:8:3 2. └─ParallelLogger::getPhysicalMemory() 3. └─base::system("sysctl -n hw.memsize", intern = TRUE) [ FAIL 4 | WARN 0 | SKIP 2 | PASS 78 ] Error: Test failures In addition: There were 11 warnings (use warnings() to see them) Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [4s/5s] ERROR Error(s) in re-building vignettes: ... --- re-building ‘Logging.Rmd’ using rmarkdown --- finished re-building ‘Logging.Rmd’ --- re-building ‘Parallel.Rmd’ using rmarkdown sh: 1: sysctl: not found Quitting from Parallel.Rmd:36-38 [unnamed-chunk-2] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `system()`: ! error in running command --- Backtrace: x 1. \-ParallelLogger::makeCluster(numberOfThreads = 3) 2. \-ParallelLogger::getPhysicalMemory() 3. \-base::system("sysctl -n hw.memsize", intern = TRUE) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'Parallel.Rmd' failed with diagnostics: error in running command --- failed re-building ‘Parallel.Rmd’ SUMMARY: processing the following file failed: ‘Parallel.Rmd’ Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... [3s/3s] OK * checking HTML version of manual ... [0s/0s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 3 ERRORs