Upload a blob to a repo
Usage
bs_upload_blob(
blob,
user = get_bluesky_user(),
pass = get_bluesky_pass(),
auth = bs_auth(user, pass),
clean = TRUE
)
Arguments
- blob
Character, files to upload to a repo.
- user
Character. User name to log in with. Defaults to
get_bluesky_user()
.- pass
Character. App password to log in with. Defaults to
get_bluesky_pass()
.- auth
Authentication information. Defaults to
bs_auth(user, pass)
.- clean
Logical. Should output be cleaned into a
tibble
? Default:TRUE
.
Value
a tibble::tibble of upload blob information
Examples
if (FALSE) { # has_bluesky_pass() & has_bluesky_user()
fig <- fs::path_package('bskyr', 'man/figures/logo.png')
bs_upload_blob(fig)
}