CRAN Package Check Results for Package nanonext

Last updated on 2026-04-21 09:51:46 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.8.2 30.90 47.72 78.62 OK
r-devel-linux-x86_64-debian-gcc 1.8.2 28.52 33.82 62.34 ERROR
r-devel-linux-x86_64-fedora-clang 1.8.2 59.00 65.72 124.72 OK
r-devel-linux-x86_64-fedora-gcc 1.8.2 104.00 79.88 183.88 OK
r-devel-macos-arm64 1.8.2 22.00 33.00 55.00 OK
r-devel-windows-x86_64 1.8.2 241.00 106.00 347.00 OK
r-patched-linux-x86_64 1.8.2 34.98 42.65 77.63 OK
r-release-linux-x86_64 1.8.2 32.20 38.79 70.99 OK
r-release-macos-arm64 1.8.2 20.00 41.00 61.00 OK
r-release-macos-x86_64 1.8.2 61.00 94.00 155.00 OK
r-release-windows-x86_64 1.8.2 269.00 106.00 375.00 OK
r-oldrel-macos-arm64 1.8.1 21.00 51.00 72.00 OK
r-oldrel-macos-x86_64 1.8.2 58.00 84.00 142.00 OK
r-oldrel-windows-x86_64 1.8.2 312.00 118.00 430.00 OK

Check Details

Version: 1.8.2
Check: tests
Result: ERROR Running ‘tests.R’ [0s/1s] Running the tests in ‘tests/tests.R’ failed. Complete output: > # minitest - a minimal testing framework v0.0.5 -------------------------------- > test_library <- function(package) library(package = package, character.only = TRUE) > test_true <- function(x) invisible(isTRUE(x) || {print(x); stop("the above was returned instead of TRUE")}) > test_false <- function(x) invisible(isFALSE(x) || {print(x); stop("the above was returned instead of FALSE")}) > test_null <- function(x) invisible(is.null(x) || {print(x); stop("the above was returned instead of NULL")}) > test_notnull <- function(x) invisible(!is.null(x) || stop("returns NULL when expected to be not NULL")) > test_zero <- function(x) invisible(x == 0L || {print(x); stop("the above was returned instead of 0L")}) > test_type <- function(type, x) invisible(typeof(x) == type || {stop("object of type '", typeof(x), "' was returned instead of '", type, "'")}) > test_class <- function(class, x) invisible(inherits(x, class) || {stop("object of class '", paste(class(x), collapse = ", "), "' was returned instead of '", class, "'")}) > test_equal <- function(a, b) invisible(a == b || {print(a); print(b); stop("the above expressions were not equal")}) > test_identical <- function(a, b) invisible(identical(a, b) || {print(a); print(b); stop("the above expressions were not identical")}) > test_print <- function(x) invisible(is.character(capture.output(print(x))) || stop("print output of expression cannot be captured as a character value")) > test_error <- function(x, containing = "") invisible(inherits(x <- tryCatch(x, error = identity), "error") && grepl(containing, x[["message"]], fixed = TRUE) || stop("Expected error message containing: ", containing, "\nActual error message: ", x[["message"]])) > NOT_CRAN <- Sys.getenv("NOT_CRAN") == "true" > # ------------------------------------------------------------------------------ > > test_library("nanonext") > nng_version() [1] "1.11.0" "Mbed TLS 3.6.5" > > later <- requireNamespace("later", quietly = TRUE) > promises <- requireNamespace("promises", quietly = TRUE) > > test_class("nanoObject", n <- nano("req", listen = "inproc://nanonext", autostart = FALSE)) > test_class("nanoObject", n1 <- nano("rep", dial = "inproc://nanonext", autostart = FALSE)) > test_true(is_nano(n)) > test_class("nanoSocket", n$socket) > test_class("nano", n$socket) > n$newmethod <- "doesnotwork" > test_null(n$newmethod) > test_type("integer", attr(n$socket, "id")) > test_equal(n$socket$state, "opened") > test_equal(n$socket$protocol, "req") > test_equal(n$send("not ready", mode = "serial"), 8L) > test_equal(n$recv(), 11L) > test_class("nano", n$opt("recv-size-max", 8192)) > test_equal(n$opt("recv-size-max"), 8192L) > test_class("nano", n$opt("recv-buffer", 8L)) > test_error(opt(n$socket, "recv-buffer") <- -1, "Incorrect type") > test_class("nano", n$opt("req:resend-time", 0L)) > test_class("nano", n$opt("socket-name", "nano")) > test_equal(n$opt("socket-name"), "nano") > test_error(n$opt("socket-name", NULL), "argument") > test_print(n$listener[[1]]) > test_class("nanoListener", n$listener[[1]]) > test_equal(n$listener[[1]]$url, "inproc://nanonext") > test_equal(n$listener[[1]]$state, "not started") > test_class("nano", n$listener_opt("recv-size-max", 1024)[[1L]]) > test_equal(n$listener_opt("recv-size-max")[[1L]], 1024L) > test_error(n$listener_opt("false", 100), "supported") > test_error(n$listener_opt("false"), "supported") > test_error(n$listener_opt("false", "false"), "supported") > test_error(n$listener_opt("false", NULL), "supported") > test_error(n$listener_opt("false", TRUE), "supported") > test_error(n$listener_opt("false", list()), "type") > test_zero(n$listener_start()) > test_equal(n$listener[[1]]$state, "started") > test_print(n1$dialer[[1]]) > test_class("nanoDialer", n1$dialer[[1]]) > test_equal(n1$dialer[[1]]$url, "inproc://nanonext") > test_equal(n1$dialer[[1]]$state, "not started") > test_class("nano", n1$dialer_opt("reconnect-time-min", 1000)[[1L]]) > test_equal(n1$dialer_opt("reconnect-time-min")[[1L]], 1000L) > test_class("nano", n1$dialer_opt("recv-size-max", 8192)[[1L]]) > test_equal(n1$dialer_opt("recv-size-max")[[1L]], 8192L) > test_error(n1$dialer_opt("false", 100), "supported") > test_error(n1$dialer_opt("false"), "supported") > test_error(n1$dialer_opt("false", "false"), "supported") > test_error(n1$dialer_opt("false", NULL), "supported") > test_error(n1$dialer_opt("false", TRUE), "supported") > test_error(n1$dialer_opt("false", list()), "type") > test_zero(n1$dialer_start()) > test_equal(n1$dialer[[1]]$state, "started") > > test_error(n$send(list(), mode = "raw"), "atomic vector type") > test_error(n$recv(mode = "none"), "mode") > test_error(n$recv(mode = "int"), "mode") > test_error(n$recv(mode = "logica"), "mode") > test_error(n$recv(mode = "charact"), "mode") > test_error(n$recv(mode = "positrons"), "mode") > test_true(is_aio(raio <- recv_aio(n$socket, timeout = 1L, cv = substitute()))) > test_print(raio) > test_class("errorValue", call_aio(raio)$data) > test_class("errorValue", raio$data) > test_zero(pipe_id(raio)) > r <- n$send(data.frame(), block = FALSE) > if (r == 8L) r <- n$send(data.frame(), block = 500L) > test_zero(r) > r <- n1$recv(block = FALSE) > if (is_error_value(r)) r <- n1$recv(block = 500) > test_class("data.frame", r) > test_zero(n1$send(c("test", "", "spec"), mode = "raw", block = 500)) > test_identical(n$recv("character", block = 500), c("test", "", "spec")) > test_zero(n$send(1:5, mode = "raw")) 'errorValue' int 8 | Try again Error in test_zero(n$send(1:5, mode = "raw")) : the above was returned instead of 0L Execution halted Flavor: r-devel-linux-x86_64-debian-gcc