text: user14810: I have run into the following problem
  Error: failed to find 'gcloud' binary; set option or environment variable 'GCLOUD_SDK_PATH'
  
  when executing this line of R code:
  avfiles_ls( recursive = FALSE,
              namespace = avworkspace_namespace('bdcat-cohort3-stanislawski'),
              name = avworkspace_name('SOLGeneticTopMed')
  )
  
  This works when I run it in a notebook in a cloud environment but not when I am running an R script inside a wdl on Terra.
  Is there a way to more fully quality where the namespace is?
  Thanks.
  Liz
  
  user3848: I assume that you are running Terra on Google Cloud Platform (GCP)?
  It is weird, because Terra is supposed to run on GCP - that is what its intended purpose - and finding gcloud is automatic, you don't need to configure it.
  Three suggestions:
  
  If the cloud is GCP it is appears to could be a bug with the Broad Institutes platform and should be reported directly on their website. They will know immediately, so if they don't respond immediately its a user problem. This is because they will prioritise system bugs, but user errors they may not respond to.
  At a guess the error suggests you just need to point to gcloud within .bashrc or .profile, but you don't need to do this on GCP because gcloud is its modus operandi*.
  Run WDL directly outside Terra.
  
  The simplest approach is to install miniconda and use it to install gcloud-sdk package and then install Terra from within conda. Assuming Terra is present on "-c bioconda". At this point Terra is forced to see gcloud.
  However, it feels like Terra is being installed on a cloud outside GCP and hence the error.
  
  To those who don't know GCP gcloud = google cloud.
  
  
original_text: 14810: <p>I have run into the following problem</p>
  <pre><code>Error: failed to find 'gcloud' binary; set option or environment variable 'GCLOUD_SDK_PATH'
  </code></pre>
  <p>when executing this line of R code:</p>
  <pre><code>avfiles_ls( recursive = FALSE,
              namespace = avworkspace_namespace('bdcat-cohort3-stanislawski'),
              name = avworkspace_name('SOLGeneticTopMed')
  )
  </code></pre>
  <p>This works when I run it in a notebook in a cloud environment but not when I am running an R script inside a wdl on Terra.</p>
  <p>Is there a way to more fully quality where the namespace is?</p>
  <p>Thanks.
  Liz</p>
   3848: <p>I assume that you are running Terra on Google Cloud Platform (GCP)?</p>
  <p>It is weird, because Terra is supposed to run on GCP - that is what its intended purpose - and finding gcloud is automatic, you don't need to configure it.</p>
  <p>Three suggestions:</p>
  <ol>
  <li>If the cloud is GCP it is appears to could be a bug with the Broad Institutes platform and should be reported directly on their website. They will know immediately, so if they don't respond immediately its a user problem. This is because they will prioritise system bugs, but user errors they may not respond to.</li>
  <li>At a guess the error suggests you just need to point to gcloud within .bashrc or .profile, but you don't need to do this on GCP because gcloud is its modus operandi*.</li>
  <li>Run WDL directly outside Terra.</li>
  </ol>
  <p><em>The simplest approach is to install miniconda and use it to install gcloud-sdk package and then install Terra from within conda. Assuming Terra is present on &quot;-c bioconda&quot;. At this point Terra is forced to see gcloud</em>.</p>
  <p>However, it feels like Terra is being installed on a cloud outside GCP and hence the error.</p>
  <ul>
  <li>To those who don't know GCP gcloud = google cloud.</li>
  </ul>
  