Skip to content

Commit

Permalink
missing cr_email_set example
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkEdmondson1234 committed May 2, 2020
1 parent 63f474e commit 0f2ba88
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion R/init.R
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ cr_email_get <- function(){
#' @export
#' @param cloudbuildEmail The Cloud Build service email
#' @examples
#'
#' cr_email_set("[email protected]")
#' cr_email_get()
cr_email_set <- function(cloudbuildEmail){
.cr_env$cloudbuildEmail <- cloudbuildEmail
Expand Down
5 changes: 3 additions & 2 deletions R/setup_buildemail.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ cr_setup_service <- function(account_email,
roles = roles,
projectId = projectId)

cli_alert_success("Configured {account_email} with roles: {the_roles}",
the_roles = paste(roles, collapse = " "))
the_roles <- NULL
the_roles <- paste(roles, collapse = " ")
cli_alert_success("Configured {account_email} with roles: {the_roles}")
}


Expand Down
4 changes: 2 additions & 2 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Test environments
* local R installation, R 3.6.1 on MacOS
* ubuntu 16.04 (on travis-ci), R 3.6.1
* local R installation, R 3.6.3 on MacOS
* ubuntu 16.04 (on travis-ci), R 3.6.3
* win-builder (devel)

## R CMD check results
Expand Down
2 changes: 1 addition & 1 deletion man/cr_email_set.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0f2ba88

Please sign in to comment.