From 1ea38e733e25763a63e4fec69d90b39194bf7222 Mon Sep 17 00:00:00 2001 From: RalphJO Date: Tue, 8 Oct 2024 16:43:29 +0100 Subject: [PATCH] Issue #605 - ignore stderr when parsing tensorboard version --- R/tensorboard.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/tensorboard.R b/R/tensorboard.R index 20aefbf9..2b7c1fda 100644 --- a/R/tensorboard.R +++ b/R/tensorboard.R @@ -142,7 +142,7 @@ tensorboard <- function(log_dir, action = c("start", "stop"), tensorboard_version <- function() { if (is.null(ver <- .globals$tensorboard_version)) { - ver <- package_version(system("tensorboard --version_tb", intern = TRUE)) + ver <- package_version(system("tensorboard --version_tb", intern = TRUE, ignore.stderr = TRUE)) .globals$tensorboard_version <- ver } ver