From f433a66d31c7f8de3d12792060657dadd6d75113 Mon Sep 17 00:00:00 2001 From: wlandau Date: Mon, 9 Sep 2024 12:38:32 -0400 Subject: [PATCH] checks --- NAMESPACE | 1 + R/crew_package.R | 1 + R/crew_worker.R | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/NAMESPACE b/NAMESPACE index fdc69e3a..e01eafe1 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -111,3 +111,4 @@ importFrom(utils,capture.output) importFrom(utils,compareVersion) importFrom(utils,globalVariables) importFrom(utils,head) +importFrom(utils,sessionInfo) diff --git a/R/crew_package.R b/R/crew_package.R index 73c630dd..4652717d 100644 --- a/R/crew_package.R +++ b/R/crew_package.R @@ -38,6 +38,7 @@ #' everything last_col matches num_range one_of starts_with #' @importFrom tools pskill SIGINT SIGQUIT SIGTERM #' @importFrom utils capture.output compareVersion globalVariables head +#' sessionInfo NULL utils::globalVariables(".") diff --git a/R/crew_worker.R b/R/crew_worker.R index 94efa4e4..056035ee 100644 --- a/R/crew_worker.R +++ b/R/crew_worker.R @@ -22,6 +22,6 @@ crew_worker <- function(settings, launcher, worker, instance) { CREW_WORKER = worker, CREW_INSTANCE = instance ) - crew_message(utils::capture.output(print(sessionInfo()))) + crew_message(utils::capture.output(print(utils::sessionInfo()))) do.call(what = mirai::daemon, args = settings) }