Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Commit

Permalink
Fix: Remove unnecessary apt packages installation on job preparation …
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
brnleehng committed Nov 6, 2018
1 parent 7192e08 commit 975d68e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions R/batch-api.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 975d68e

Please sign in to comment.