This function sets the supabase password in the .Renviron file and adds .Renviron to .gitignore.
Usage
sd_set_password(password)
Arguments
- password
Character string. The password to be set for Supabase connection.
Value
None. The function is called for its side effects.
Details
The function performs the following actions:
Creates a .Renviron file in the root directory if it doesn't exist.
Adds or updates the SURVEYDOWN_PASSWORD entry in the .Renviron file.
Adds .Renviron to .gitignore if it's not already there.
Examples
if (FALSE) { # \dontrun{
sd_set_password("your_SURVEYDOWN_PASSWORD")
} # }