From 905941229c1794c42facb20c9d4cd22565992d6e Mon Sep 17 00:00:00 2001 From: Michael Chirico Date: Thu, 9 Oct 2025 12:45:24 -0700 Subject: [PATCH] robust to NULL osVersion --- R/batchtools_lsf.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/batchtools_lsf.R b/R/batchtools_lsf.R index 9e8bed7..6d57334 100644 --- a/R/batchtools_lsf.R +++ b/R/batchtools_lsf.R @@ -52,7 +52,7 @@ BatchtoolsLsfFutureBackend <- function(...) { #' data.frame( #' hostname = Sys.info()[["nodename"]], #' os = Sys.info()[["sysname"]], -#' osVersion = utils::osVersion, +#' osVersion = if (is.null(utils::osVersion)) NA else utils::osVersion, #' cores = unname(parallelly::availableCores()), #' modules = Sys.getenv("LOADEDMODULES") #' )