We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08f391a commit 3ee71a5Copy full SHA for 3ee71a5
R/auth.R
@@ -56,12 +56,20 @@ save_api_key <- function() {
56
write {.code DELPHI_EPIDATA_KEY=yourkeyhere} in the file and save it. If the editor
57
does not open, you will need to edit the file manually.",
58
"i" = "Press any key to continue."
59
- ),
+ )
60
)
61
readline()
62
63
if (file.exists(usethis::proj_path(".Renviron"))) {
64
usethis::edit_r_environ(scope = "project")
65
+
66
+ cat("\n\n")
67
+ cli::cli_inform(
68
+ c(
69
+ "i" = "Your project {.code .Renviron} file has been updated. Make sure not to share this
70
+ file (add it to .gitignore or equivalents)."
71
72
73
} else {
74
usethis::edit_r_environ(scope = "user")
75
}
0 commit comments