gcloud_create_cran_bucket | R Documentation |
Create a CRAN style google bucket with appropriate ACL
gcloud_create_cran_bucket( folder, bioc_version, secret, public = TRUE, bucket = "bioconductor-packages" )
bioc_version |
character(1) version number for Bioconductor, defaults to 'BiocManager::version()'. |
secret |
character(1) path to the location of the secret key for the service account. |
public |
logical(1) if the bucket should be publicly accessible. Defauly is TRUE, if FALSE the bucket is made private. |
bucket |
character(1) bucket name for the google storage bucket. |
Create a CRAN style bucket used to store the package binaries built for a specific docker image. The CRAN style bucket takes is created using the following format, "bucket_name/production_version/bioc_version/src/contrib". All buckets created with this function come with Uniform Bucket-Level Access and are made public. To create a private bucket, toggle the 'public' argument to FALSE. The bucket once made public is available at the URL provided by google, 'https://storage.googleapis.com/'.
An example location for a package would be, https://storage.googleapis.com/bioconductor_docker/packages/3.11/bioc/src/contrib/ABAData_1.19.0_R_x86_64-pc-linux-gnu.tar.gz
'gcloud_create_cran_bucket()' returns a character vector of the path of the workspace bucket.
## Not run: gcloud_create_cran_bucket( bucket = "bioconductor_docker", bioc_version = "3.11", secret = "/home/mysecret.json", public = TRUE ) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.