R Scripts in the Google Cloud via Cloud Run, Cloud Build and Cloud Scheduler
Overview
Tools to easily enable R scripts in the Google Cloud Platform. Utilise cloud services such as Cloud Run https://cloud.google.com/run/ for R over HTTP, Cloud Build https://cloud.google.com/build for Continuous Delivery and Integration services and Cloud Scheduler https://cloud.google.com/scheduler/ for scheduled scripts.
- Add checks for Cloud Build email roles in
cr_setup() - Add direct Secret Manager environment args in builds via
availableSecrets(#106) - Add support for
logsBucketincr_build_yamlandcr_build_make - Add
cr_build_list()andcr_build_list_filter() - Add
cr_build_logs()andcr_buildtrigger_logs()andcr_build_logs_badger() - Made Cloud Build status messages prettier
- Add messaging to
cr_build_upload_gcs()saying where deploy folder is (#110) and clean up tar.gz folder correctly - Add
gcloud_argstocr_buildstep_run()andcr_run()andcr_deploy_run()to allow more customisation (#113) - Add
cr_run_schedule_http()to schedule Cloud Run HTTP calls (#113) - Allow usage of
cr_build_yaml()objects directly incr_buildtrigger()without needingcr_build_make() - Fix
cr_deploy_pkgdown()error writing to file - Allow
escape_dollarincr_buildstep_r()andcr_buildstep_bash()if you want to use Cloud Build substitutions in the script (#104)
Show all changes in 0.5.0Hide the rest of the changes in 0.5.0
- Allow direct support for Codecov (#116)
- Parse
gar_Buildobjects to lists in buildtrigger responses so they can be more easily reused - Fix bug with Cloud Run deployments not returning image names (#141 - thanks @engti)
- Added rscript_args to
cr_buildstep_r()- (#128 - thanks @simonsays1980) - All
cr_setup_test()to be run without the interactive menu (#129 - thanks @muschellij2) - Add
cr_regionsdata that lists available Cloud Run regions (thanks @muschellij2) - Allow specification of a target GCP project if it differs from the build project in
cr_deploy_docker_trigger() - Force lowercase for docker image names as they are only valid for kaniko in
cr_deploy_docker_trigger() - Fix bug parsing out listing build triggers in
cr_buildtrigger_list() - Fix paging issue sometimes returning NULL for
cr_build_list()(#149) - Update
cr_deploy_r()to use PubSub/BuildTrigger as its default when scheduling (#148) - Add support for running
targets::tar_make()pipelines on Cloud Build viacr_build_targets()(#155) - Rename
cr_build_schedule_http()tocr_schedule_http()to be more in line withcr_schedule_pubsub()andcr_schedule_build()
From NEWS.md in the release
Install
Health
CRAN check results are not tracked yet.
Documentation
- Help pages
- 89includes a package overview page
- Examples that run
- 64%38 run in a plain check · 21 never run
- Exported functions with examples
- 68%
- Documented parameters
- 99%
- Return-value docs
- 24%
- Help pages citing references
- 0%
Downloads
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.5.0 released · 2025-04-11
- archivedRemoved from CRAN2024-12-03issues were not corrected despite reminders
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 0.5.02022-02-28 · diff ↗ ·
added 27 exports
PubsubConfig, PubsubTarget, WebhookConfig, cr_build_list, cr_build_list_filter, cr_build_logs, cr_build_logs_badger, cr_build_targets, cr_build_targets_artifacts, cr_build_yaml_secrets, cr_buildstep_compute_container, cr_buildstep_compute_rstudio, cr_buildstep_source_move, cr_buildstep_targets, cr_buildstep_targets_multi, cr_buildstep_targets_setup, cr_buildstep_targets_single, cr_buildstep_targets_teardown, cr_buildtrigger_logs, cr_buildtrigger_pubsub, cr_buildtrigger_webhook, cr_deploy_docker_construct, cr_run_email, cr_run_schedule_http, cr_schedule_build, cr_schedule_http, cr_schedule_pubsub - RR 4.1.0 released · 2021-05-18
- 0.4.12021-01-30 · diff ↗
- 0.4.02021-01-13 · diff ↗ ·
added 6 exports
cr_buildtrigger_copy, cr_jwt_async, cr_jwt_create, cr_jwt_token, cr_jwt_with_curl, cr_jwt_with_httr - 0.3.02020-09-10 · diff ↗ ·
removed 3 exports
cr_buildtrigger_make, cr_deploy_git_html, cr_deploy_github_dockeradded 6 exports
cr_buildstep_gcloud, cr_buildtrigger_repo, cr_deploy_badger, cr_deploy_docker_trigger, cr_deploy_run_website, git_volume - 0.2.02020-05-02 · diff ↗ ·
added 8 exports
cr_buildstep_packagetests, cr_buildstep_secret, cr_deploy_packagetests, cr_setup, cr_setup_auth, cr_setup_role_lookup, cr_setup_service, cr_setup_test - RR 4.0.0 released · 2020-04-24
- 0.1.12020-02-06
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2020-02-06
- Total releases
- 6 / 6 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.3.0
- Bundled data
- 0.2 KB / 1 file
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("googleCloudRunner")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.