* using log directory ‘/data/localhost/ripley/R/packages/tests-OpenBLAS/streamConnect.Rcheck’ * using R Under development (unstable) (2026-10-23 r90760) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 16.2.1 20260819 (Red Hat 16.2.1-2) GNU Fortran (GCC) 16.2.1 20260819 (Red Hat 16.2.1-2) * running under: Fedora Linux 44 (Server Edition) * using session charset: UTF-8 * current time: 2026-10-24 04:59:03 UTC * using option ‘--no-stop-on-test-error’ * checking for file ‘streamConnect/DESCRIPTION’ ... OK * this is package ‘streamConnect’ version ‘0.1.0’ * 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 ‘streamConnect’ can be installed ... 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 code 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 ... 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 ... [16s/44s] ERROR Running examples in ‘streamConnect-Ex.R’ failed The error most likely occurred in: > ### Name: publish_DSD_via_WebService > ### Title: Publish a Data Stream via a Web Service > ### Aliases: publish_DSD_via_WebService > > ### ** Examples > > # find a free port > port <- httpuv::randomPort() > port [1] 25421 > > # create a background DSD process sending data to the port > rp1 <- publish_DSD_via_WebService("DSD_Gaussians(k = 3, d = 3)", port = port) > rp1 PROCESS 'R', running, pid 2851213. > > # connect to the port and read manually. See DSD_ReadWebService for > # a more convenient way to connect to the WebService in R. > library("httr") Attaching package: ‘httr’ The following object is masked from ‘package:stream’: write_stream > > # we use RETRY to give the server time to spin up > resp <- RETRY("GET", paste0("http://localhost:", port, "/info")) > d <- content(resp, show_col_types = FALSE) > d # A tibble: 1 × 3 description d k 1 Gaussian Mixture (d = 3, k = 3) 3 3 > > # example: Get 100 points and plot them > resp <- GET(paste0("http://localhost:", port, "/get_points?n=100")) > d <- content(resp, show_col_types = FALSE) > head(d) # A tibble: 6 × 4 X1 X2 X3 .class 1 -0.0155 0.702 0.825 1 2 0.872 0.263 0.764 2 3 0.124 0.667 0.948 1 4 -0.0216 0.275 0.751 3 5 -0.0390 0.246 0.766 3 6 0.0444 0.269 0.748 3 > > dsd <- DSD_Memory(d) > dsd Memorized Stream Class: DSD_Memory, DSD_R, DSD Contains 100 data points - currently at position 1 - loop is FALSE > plot(dsd, n = -1) > > # end the DSD process. Note: that closing the connection above > # may already kill the process. > rp1$kill() [1] TRUE > rp1 PROCESS 'R', finished. > > # Publish using json > > rp2 <- publish_DSD_via_WebService("DSD_Gaussians(k = 3, d = 3)", + port = port, serializer = "json") Error in curl::curl_fetch_memory(url, handle = handle) : Could not connect to server [localhost]: Failed to connect to localhost port 25421 after 0 ms: Could not connect to server Calls: publish_DSD_via_WebService -> run_plumber_task_file -> Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ OK * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [15s/35s] ERROR Error(s) in re-building vignettes: --- re-building ‘streamConnect.Rmd’ using rmarkdown Quitting from streamConnect.Rmd:113-123 [webservice-stream] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `curl::curl_fetch_memory()`: ! Could not connect to server [localhost]: Failed to connect to localhost port 7329 after 0 ms: Could not connect to server --- Backtrace: ▆ 1. └─streamConnect::publish_DSD_via_WebService(...) 2. └─streamConnect:::run_plumber_task_file(...) 3. └─httr::RETRY(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'streamConnect.Rmd' failed with diagnostics: Could not connect to server [localhost]: Failed to connect to localhost port 7329 after 0 ms: Could not connect to server --- failed re-building ‘streamConnect.Rmd’ SUMMARY: processing the following file failed: ‘streamConnect.Rmd’ Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... 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: 2 ERRORs See ‘/data/localhost/ripley/R/packages/tests-OpenBLAS/streamConnect.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 2:42.27, 64.13 + 8.23