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

Commit d02599d

Browse files
authored
Fixed output (#270)
1 parent 23079f5 commit d02599d

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

R/doAzureParallel.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,8 +774,9 @@ setHttpTraffic <- function(value = FALSE) {
774774
return(results)
775775
}
776776
else{
777-
print(
777+
cat(
778778
paste0(
779+
"\n",
779780
"Because the 'wait' parameter is set to FALSE, the returned value is the job ID associated with ",
780781
"the foreach loop. Use this returned value with getJobResults(job_id) to get the results ",
781782
"when the foreach loop is completed in Azure"

R/jobUtilities.R

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ waitForTasksToComplete <-
581581
}
582582

583583
waitForJobPreparation <- function(jobId, poolId) {
584-
cat("Job Preparation Status: Package(s) being installed")
584+
cat("\nJob Preparation Status: Package(s) being installed")
585585
config <- getConfiguration()
586586
batchClient <- config$batchClient
587587

@@ -623,8 +623,6 @@ waitForJobPreparation <- function(jobId, poolId) {
623623
cat(".")
624624
Sys.sleep(10)
625625
}
626-
627-
cat("\n")
628626
}
629627

630628
isError <- function(x) {

0 commit comments

Comments
 (0)