From 34166d02023fdcc832777f23e277f3479410a084 Mon Sep 17 00:00:00 2001 From: shikokuchuo <53399081+shikokuchuo@users.noreply.github.com> Date: Wed, 31 Jul 2024 11:00:52 +0100 Subject: [PATCH 1/2] update for nng_error() post nanonext 1.0.0 --- R/utils_mirai.R | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/R/utils_mirai.R b/R/utils_mirai.R index 6b5344d7..2b732d32 100644 --- a/R/utils_mirai.R +++ b/R/utils_mirai.R @@ -17,11 +17,7 @@ daemons_info <- function(name, seconds_interval, seconds_timeout) { } daemons_error <- function(daemons, name) { - message <- sprintf( - "'errorValue' int %d | %s\n", - daemons, - nanonext::nng_error(daemons) - ) + message <- sprintf("'errorValue' int %s\n", nanonext::nng_error(daemons)) pid <- mirai::nextget("pid", .compute = name) exists <- !is.null(pid) && !inherits( From c9296f76158c84f6fec66c733a19ebd441c24ea1 Mon Sep 17 00:00:00 2001 From: shikokuchuo <53399081+shikokuchuo@users.noreply.github.com> Date: Wed, 31 Jul 2024 11:07:05 +0100 Subject: [PATCH 2/2] require v1.0.0 of nanonext and mirai --- DESCRIPTION | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 1aa4eb50..08632ae6 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -44,8 +44,8 @@ Imports: data.table, getip, later, - mirai (>= 0.12.0), - nanonext (>= 0.12.0), + mirai (>= 1.0.0), + nanonext (>= 1.0.0), processx, promises, ps,