diff --git a/docs/articles/cloudbuild.html b/docs/articles/cloudbuild.html index ae2db553..8d053d44 100644 --- a/docs/articles/cloudbuild.html +++ b/docs/articles/cloudbuild.html @@ -173,7 +173,7 @@
vignettes/cloudbuild.Rmd
cloudbuild.Rmd
vignettes/cloudrun.Rmd
cloudrun.Rmd
vignettes/cloudscheduler.Rmd
cloudscheduler.Rmd
vignettes/git.Rmd
git.Rmd
vignettes/setup-gcp.Rmd
setup-gcp.Rmd
vignettes/setup.Rmd
setup.Rmd
vignettes/usecase-deploy-pkgdown-website.Rmd
usecase-deploy-pkgdown-website.Rmd
vignettes/usecase-package-docker-build.Rmd
usecase-package-docker-build.Rmd
vignettes/usecase-polygot-ga-imports-to-bigquery.Rmd
usecase-polygot-ga-imports-to-bigquery.Rmd
vignettes/usecase-r-api-microservices.Rmd
usecase-r-api-microservices.Rmd
vignettes/usecase-r-event-driven-pubsub.Rmd
usecase-r-event-driven-pubsub.Rmd
vignettes/usecase-r-results-github.Rmd
usecase-r-results-github.Rmd
vignettes/usecase-rmarkdown-cloudrun.Rmd
usecase-rmarkdown-cloudrun.Rmd
vignettes/usecase-scheduled-google-analytics.Rmd
usecase-scheduled-google-analytics.Rmd
vignettes/usecase-scheduled-r-builds.Rmd
usecase-scheduled-r-builds.Rmd
vignettes/usecase-shiny-cloudrun.Rmd
usecase-shiny-cloudrun.Rmd
vignettes/usecase-shiny-kubernetes.Rmd
usecase-shiny-kubernetes.Rmd
vignettes/usecase-slackbot-google-analytics.Rmd
usecase-slackbot-google-analytics.Rmd
vignettes/usecase-testthat-coverage.Rmd
usecase-testthat-coverage.Rmd
vignettes/usecases.Rmd
usecases.Rmd
cr_project_set("my-project")
-#> ℹ 2022-02-25 13:12:20 > ProjectId set to my-project
+#> ℹ 2022-02-28 09:34:15 > ProjectId set to my-project
#> [1] "my-project"
cr_bucket_set("my-bucket")
-#> ℹ 2022-02-25 13:12:20 > Bucket set to my-bucket
+#> ℹ 2022-02-28 09:34:15 > Bucket set to my-bucket
#> [1] "my-bucket"
if (FALSE) {
diff --git a/docs/reference/Source.html b/docs/reference/Source.html
index 934c90be..95659419 100644
--- a/docs/reference/Source.html
+++ b/docs/reference/Source.html
@@ -198,10 +198,10 @@ See also
Examples
cr_project_set("my-project")
-#> ℹ 2022-02-25 13:12:20 > ProjectId set to my-project
+#> ℹ 2022-02-28 09:34:15 > ProjectId set to my-project
#> [1] "my-project"
cr_bucket_set("my-bucket")
-#> ℹ 2022-02-25 13:12:20 > Bucket set to my-bucket
+#> ℹ 2022-02-28 09:34:15 > Bucket set to my-bucket
#> [1] "my-bucket"
my_gcs_source <- Source(storageSource = StorageSource(
"my_code.tar.gz",
diff --git a/docs/reference/cr_build.html b/docs/reference/cr_build.html
index 8ce6187c..5428cf67 100644
--- a/docs/reference/cr_build.html
+++ b/docs/reference/cr_build.html
@@ -215,7 +215,7 @@ See also
Examples
cr_project_set("my-project")
-#> ℹ 2022-02-25 13:12:21 > ProjectId set to my-project
+#> ℹ 2022-02-28 09:34:16 > ProjectId set to my-project
#> [1] "my-project"
my_gcs_source <- cr_build_source(StorageSource("my_code.tar.gz",
bucket = "gs://my-bucket"
diff --git a/docs/reference/cr_build_targets.html b/docs/reference/cr_build_targets.html
index d852d1de..1108b846 100644
--- a/docs/reference/cr_build_targets.html
+++ b/docs/reference/cr_build_targets.html
@@ -340,8 +340,8 @@ Examples
#> Error in loadNamespace(x): there is no package called ‘targets’
bs <- cr_buildstep_targets_multi()
-#> ℹ 2022-02-25 13:12:23 > targets cloud location: gs://my-bucket/targets_cloudbuild
-#> ℹ 2022-02-25 13:12:23 > Resolving targets::tar_manifest()
+#> ℹ 2022-02-28 09:34:18 > targets cloud location: gs://my-bucket/targets_cloudbuild
+#> ℹ 2022-02-28 09:34:18 > Resolving targets::tar_manifest()
#> Error in loadNamespace(x): there is no package called ‘targets’
# only create the yaml
@@ -350,6 +350,10 @@ Examples
par_build
#> Error in eval(expr, envir, enclos): object 'par_build' not found
+# clean up example
+unlink("mtcars.csv")
+unlink("_targets.R")
+
if (FALSE) {
# run it immediately in cloud
cr_build_targets(bs, execute="now")
diff --git a/docs/reference/cr_build_write.html b/docs/reference/cr_build_write.html
index 334b6b94..dd814703 100644
--- a/docs/reference/cr_build_write.html
+++ b/docs/reference/cr_build_write.html
@@ -187,7 +187,7 @@ See also
Examples
cr_project_set("my-project")
-#> ℹ 2022-02-25 13:12:24 > ProjectId set to my-project
+#> ℹ 2022-02-28 09:34:20 > ProjectId set to my-project
#> [1] "my-project"
# write from creating a Yaml object
image <- "gcr.io/my-project/my-image$BUILD_ID"
diff --git a/docs/reference/cr_build_yaml.html b/docs/reference/cr_build_yaml.html
index 3bb8913f..e370be7a 100644
--- a/docs/reference/cr_build_yaml.html
+++ b/docs/reference/cr_build_yaml.html
@@ -218,7 +218,7 @@ See also
Examples
cr_project_set("my-project")
-#> ℹ 2022-02-25 13:12:25 > ProjectId set to my-project
+#> ℹ 2022-02-28 09:34:20 > ProjectId set to my-project
#> [1] "my-project"
image <- "gcr.io/my-project/my-image"
cr_build_yaml(
diff --git a/docs/reference/cr_buildstep.html b/docs/reference/cr_buildstep.html
index 52642482..add2dc00 100644
--- a/docs/reference/cr_buildstep.html
+++ b/docs/reference/cr_buildstep.html
@@ -249,10 +249,10 @@ See also
Examples
cr_project_set("my-project")
-#> ℹ 2022-02-25 13:12:25 > ProjectId set to my-project
+#> ℹ 2022-02-28 09:34:21 > ProjectId set to my-project
#> [1] "my-project"
cr_bucket_set("my-bucket")
-#> ℹ 2022-02-25 13:12:25 > Bucket set to my-bucket
+#> ℹ 2022-02-28 09:34:21 > Bucket set to my-bucket
#> [1] "my-bucket"
# creating yaml for use in deploying cloud run
image <- "gcr.io/my-project/my-image:$BUILD_ID"
diff --git a/docs/reference/cr_buildstep_bash.html b/docs/reference/cr_buildstep_bash.html
index 4e9d5b4b..ed2ce20a 100644
--- a/docs/reference/cr_buildstep_bash.html
+++ b/docs/reference/cr_buildstep_bash.html
@@ -204,7 +204,7 @@ See also
Examples
cr_project_set("my-project")
-#> ℹ 2022-02-25 13:12:26 > ProjectId set to my-project
+#> ℹ 2022-02-28 09:34:21 > ProjectId set to my-project
#> [1] "my-project"
bs <- cr_build_yaml(
steps = cr_buildstep_bash("echo 'Hello'")
diff --git a/docs/reference/cr_buildstep_decrypt.html b/docs/reference/cr_buildstep_decrypt.html
index e260dc67..94d3d12b 100644
--- a/docs/reference/cr_buildstep_decrypt.html
+++ b/docs/reference/cr_buildstep_decrypt.html
@@ -209,10 +209,10 @@ See also
Examples
cr_project_set("my-project")
-#> ℹ 2022-02-25 13:12:26 > ProjectId set to my-project
+#> ℹ 2022-02-28 09:34:22 > ProjectId set to my-project
#> [1] "my-project"
cr_bucket_set("my-bucket")
-#> ℹ 2022-02-25 13:12:26 > Bucket set to my-bucket
+#> ℹ 2022-02-28 09:34:22 > Bucket set to my-bucket
#> [1] "my-bucket"
cr_buildstep_decrypt("secret.json.enc",
plain = "secret.json",
diff --git a/docs/reference/cr_buildstep_docker.html b/docs/reference/cr_buildstep_docker.html
index 95f27a83..82f4b3ce 100644
--- a/docs/reference/cr_buildstep_docker.html
+++ b/docs/reference/cr_buildstep_docker.html
@@ -220,10 +220,10 @@ See also
Examples
cr_project_set("my-project")
-#> ℹ 2022-02-25 13:12:27 > ProjectId set to my-project
+#> ℹ 2022-02-28 09:34:22 > ProjectId set to my-project
#> [1] "my-project"
cr_bucket_set("my-bucket")
-#> ℹ 2022-02-25 13:12:27 > Bucket set to my-bucket
+#> ℹ 2022-02-28 09:34:22 > Bucket set to my-bucket
#> [1] "my-bucket"
cr_buildstep_docker("gcr.io/my-project/my-image")
diff --git a/docs/reference/cr_buildstep_git.html b/docs/reference/cr_buildstep_git.html
index c8414860..fb87d9b3 100644
--- a/docs/reference/cr_buildstep_git.html
+++ b/docs/reference/cr_buildstep_git.html
@@ -208,10 +208,10 @@ See also
Examples
cr_project_set("my-project")
-#> ℹ 2022-02-25 13:12:27 > ProjectId set to my-project
+#> ℹ 2022-02-28 09:34:23 > ProjectId set to my-project
#> [1] "my-project"
cr_bucket_set("my-bucket")
-#> ℹ 2022-02-25 13:12:27 > Bucket set to my-bucket
+#> ℹ 2022-02-28 09:34:23 > Bucket set to my-bucket
#> [1] "my-bucket"
# assumes you have previously saved git ssh key called "github-ssh"
diff --git a/docs/reference/cr_buildstep_mailgun.html b/docs/reference/cr_buildstep_mailgun.html
index 76567fa2..febe1312 100644
--- a/docs/reference/cr_buildstep_mailgun.html
+++ b/docs/reference/cr_buildstep_mailgun.html
@@ -211,10 +211,10 @@ See also
Examples
cr_project_set("my-project")
-#> ℹ 2022-02-25 13:12:28 > ProjectId set to my-project
+#> ℹ 2022-02-28 09:34:24 > ProjectId set to my-project
#> [1] "my-project"
cr_bucket_set("my-bucket")
-#> ℹ 2022-02-25 13:12:28 > Bucket set to my-bucket
+#> ℹ 2022-02-28 09:34:24 > Bucket set to my-bucket
#> [1] "my-bucket"
mailgun_url <- "https://api.mailgun.net/v3/sandboxXXX.mailgun.org"
mailgun_key <- "key-XXXX"
diff --git a/docs/reference/cr_buildstep_nginx_setup.html b/docs/reference/cr_buildstep_nginx_setup.html
index ceba37fd..1255e777 100644
--- a/docs/reference/cr_buildstep_nginx_setup.html
+++ b/docs/reference/cr_buildstep_nginx_setup.html
@@ -189,13 +189,13 @@ See also
Examples
cr_project_set("my-project")
-#> ℹ 2022-02-25 13:12:28 > ProjectId set to my-project
+#> ℹ 2022-02-28 09:34:24 > ProjectId set to my-project
#> [1] "my-project"
cr_bucket_set("my-bucket")
-#> ℹ 2022-02-25 13:12:28 > Bucket set to my-bucket
+#> ℹ 2022-02-28 09:34:24 > Bucket set to my-bucket
#> [1] "my-bucket"
cr_region_set("europe-west1")
-#> ℹ 2022-02-25 13:12:28 > Region set to europe-west1
+#> ℹ 2022-02-28 09:34:24 > Region set to europe-west1
#> [1] "europe-west1"
html_folder <- "my_html"
diff --git a/docs/reference/cr_buildstep_pkgdown.html b/docs/reference/cr_buildstep_pkgdown.html
index 7b25dc7d..58d5e68c 100644
--- a/docs/reference/cr_buildstep_pkgdown.html
+++ b/docs/reference/cr_buildstep_pkgdown.html
@@ -214,10 +214,10 @@ See also
Examples
cr_project_set("my-project")
-#> ℹ 2022-02-25 13:12:29 > ProjectId set to my-project
+#> ℹ 2022-02-28 09:34:25 > ProjectId set to my-project
#> [1] "my-project"
cr_bucket_set("my-bucket")
-#> ℹ 2022-02-25 13:12:29 > Bucket set to my-bucket
+#> ℹ 2022-02-28 09:34:25 > Bucket set to my-bucket
#> [1] "my-bucket"
# set github repo directly to write it out via cr_build_write()
diff --git a/docs/reference/cr_buildstep_r.html b/docs/reference/cr_buildstep_r.html
index e10f4ec5..a01342ef 100644
--- a/docs/reference/cr_buildstep_r.html
+++ b/docs/reference/cr_buildstep_r.html
@@ -215,10 +215,10 @@ See also
Examples
cr_project_set("my-project")
-#> ℹ 2022-02-25 13:12:29 > ProjectId set to my-project
+#> ℹ 2022-02-28 09:34:26 > ProjectId set to my-project
#> [1] "my-project"
cr_bucket_set("my-bucket")
-#> ℹ 2022-02-25 13:12:29 > Bucket set to my-bucket
+#> ℹ 2022-02-28 09:34:26 > Bucket set to my-bucket
#> [1] "my-bucket"
# create an R buildstep inline
diff --git a/docs/reference/cr_buildtrigger.html b/docs/reference/cr_buildtrigger.html
index 18766681..12809080 100644
--- a/docs/reference/cr_buildtrigger.html
+++ b/docs/reference/cr_buildtrigger.html
@@ -220,10 +220,10 @@ See also
Examples
cr_project_set("my-project")
-#> ℹ 2022-02-25 13:12:30 > ProjectId set to my-project
+#> ℹ 2022-02-28 09:34:27 > ProjectId set to my-project
#> [1] "my-project"
cr_bucket_set("my-bucket")
-#> ℹ 2022-02-25 13:12:30 > Bucket set to my-bucket
+#> ℹ 2022-02-28 09:34:27 > Bucket set to my-bucket
#> [1] "my-bucket"
cloudbuild <- system.file("cloudbuild/cloudbuild.yaml",
package = "googleCloudRunner"
diff --git a/docs/reference/cr_deploy_packagetests.html b/docs/reference/cr_deploy_packagetests.html
index ef3b0e84..260b552e 100644
--- a/docs/reference/cr_deploy_packagetests.html
+++ b/docs/reference/cr_deploy_packagetests.html
@@ -246,7 +246,7 @@ Examples
# create a local cloudbuild.yml file for packagetests
pd <- cr_deploy_packagetests(create_trigger = "no")
-#> ℹ 2022-02-25 13:12:33 > Writing to cloudbuild-tests.yml
+#> ℹ 2022-02-28 09:34:31 > Writing to cloudbuild-tests.yml
#>
#> ℹ Complete deployment of tests Cloud Build yaml:
#> • Go to https://console.cloud.google.com/cloud-build/triggers and
@@ -303,7 +303,7 @@ Examples
timeout = 1200,
create_trigger = "no"
)
-#> ℹ 2022-02-25 13:12:33 > Writing to cloudbuild-tests.yml
+#> ℹ 2022-02-28 09:34:31 > Writing to cloudbuild-tests.yml
#>
#> ℹ Complete deployment of tests Cloud Build yaml:
#> • Go to https://console.cloud.google.com/cloud-build/triggers and
diff --git a/docs/reference/cr_deploy_pkgdown.html b/docs/reference/cr_deploy_pkgdown.html
index 6ed416e3..23e728db 100644
--- a/docs/reference/cr_deploy_pkgdown.html
+++ b/docs/reference/cr_deploy_pkgdown.html
@@ -215,7 +215,7 @@ Examples
secret = "my_git_secret",
create_trigger = "no"
)
-#> ℹ 2022-02-25 13:12:34 > Writing to cloudbuild-pkgdown.yml
+#> ℹ 2022-02-28 09:34:31 > Writing to cloudbuild-pkgdown.yml
#>
#> ℹ Complete deployment of pkgdown Cloud Build yaml:
#> • Go to https://console.cloud.google.com/cloud-build/triggers and
diff --git a/docs/reference/cr_email_set.html b/docs/reference/cr_email_set.html
index 6833bb93..5273cb25 100644
--- a/docs/reference/cr_email_set.html
+++ b/docs/reference/cr_email_set.html
@@ -171,7 +171,7 @@ See also
Examples
cr_email_set("myemail@domain.com")
-#> ℹ 2022-02-25 13:12:35 > cloudbuildEmail set to myemail@domain.com
+#> ℹ 2022-02-28 09:34:33 > cloudbuildEmail set to myemail@domain.com
#> [1] "myemail@domain.com"
cr_email_get()
#> [1] "myemail@domain.com"
diff --git a/docs/reference/mtcars.csv b/docs/reference/mtcars.csv
deleted file mode 100644
index 2abcf283..00000000
--- a/docs/reference/mtcars.csv
+++ /dev/null
@@ -1,33 +0,0 @@
-"mpg","cyl","disp","hp","drat","wt","qsec","vs","am","gear","carb"
-21,6,160,110,3.9,2.62,16.46,0,1,4,4
-21,6,160,110,3.9,2.875,17.02,0,1,4,4
-22.8,4,108,93,3.85,2.32,18.61,1,1,4,1
-21.4,6,258,110,3.08,3.215,19.44,1,0,3,1
-18.7,8,360,175,3.15,3.44,17.02,0,0,3,2
-18.1,6,225,105,2.76,3.46,20.22,1,0,3,1
-14.3,8,360,245,3.21,3.57,15.84,0,0,3,4
-24.4,4,146.7,62,3.69,3.19,20,1,0,4,2
-22.8,4,140.8,95,3.92,3.15,22.9,1,0,4,2
-19.2,6,167.6,123,3.92,3.44,18.3,1,0,4,4
-17.8,6,167.6,123,3.92,3.44,18.9,1,0,4,4
-16.4,8,275.8,180,3.07,4.07,17.4,0,0,3,3
-17.3,8,275.8,180,3.07,3.73,17.6,0,0,3,3
-15.2,8,275.8,180,3.07,3.78,18,0,0,3,3
-10.4,8,472,205,2.93,5.25,17.98,0,0,3,4
-10.4,8,460,215,3,5.424,17.82,0,0,3,4
-14.7,8,440,230,3.23,5.345,17.42,0,0,3,4
-32.4,4,78.7,66,4.08,2.2,19.47,1,1,4,1
-30.4,4,75.7,52,4.93,1.615,18.52,1,1,4,2
-33.9,4,71.1,65,4.22,1.835,19.9,1,1,4,1
-21.5,4,120.1,97,3.7,2.465,20.01,1,0,3,1
-15.5,8,318,150,2.76,3.52,16.87,0,0,3,2
-15.2,8,304,150,3.15,3.435,17.3,0,0,3,2
-13.3,8,350,245,3.73,3.84,15.41,0,0,3,4
-19.2,8,400,175,3.08,3.845,17.05,0,0,3,2
-27.3,4,79,66,4.08,1.935,18.9,1,1,4,1
-26,4,120.3,91,4.43,2.14,16.7,0,1,5,2
-30.4,4,95.1,113,3.77,1.513,16.9,1,1,5,2
-15.8,8,351,264,4.22,3.17,14.5,0,1,5,4
-19.7,6,145,175,3.62,2.77,15.5,0,1,5,6
-15,8,301,335,3.54,3.57,14.6,0,1,5,8
-21.4,4,121,109,4.11,2.78,18.6,1,1,4,2