From 975d68e47bcd594128b26956fb414cb6d44285d1 Mon Sep 17 00:00:00 2001 From: Brian Hoang Date: Tue, 6 Nov 2018 08:00:14 -0800 Subject: [PATCH] Fix: Remove unnecessary apt packages installation on job preparation task (#321) * Added cluster setup command * Fixed 404 content not found * Fixed cluster setup message * Removed apt-get install * Removed apt zip packages * Reversed hunk --- R/batch-api.R | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/R/batch-api.R b/R/batch-api.R index ee5fd86..80f7dfc 100644 --- a/R/batch-api.R +++ b/R/batch-api.R @@ -164,11 +164,10 @@ BatchUtilities <- R6::R6Class( config <- getConfiguration() batchClient <- config$batchClient - # Default command for job preparation task - # Supports backwards compatibility if zip packages are missing, it will be installed - # Eventually, apt-get install command will be deprecated + # Default command for job preparation task to get resource files + # for all tasks on one node commands <- c( - "apt-get -y install zip unzip" + "echo 'Installing R Packages & Downloading Resource Files'" ) if (!is.null(packages)) {