set_bluesky_user {bskyr} | R Documentation |
Adds Bluesky User to .Renviron.
Description
Adds Bluesky User to .Renviron.
Usage
set_bluesky_user(user, overwrite = FALSE, install = FALSE, r_env = NULL)
bs_set_user(user, overwrite = FALSE, install = FALSE, r_env = NULL)
Arguments
user |
Character. User to add to add. |
overwrite |
Defaults to FALSE. Boolean. Should existing |
install |
Defaults to FALSE. Boolean. Should this be added '~/.Renviron' file? |
r_env |
Path to install to if |
Value
user, invisibly
Examples
example_env <- tempfile(fileext = '.Renviron')
set_bluesky_user('CRAN_EXAMPLE.bsky.social', r_env = example_env)
# r_env should likely be: file.path(Sys.getenv('HOME'), '.Renviron')
[Package bskyr version 0.1.2 Index]