inst/scripts/auto_tweet.R

library(ser)

# if deauthorized on google drive:
# googledrive::drive_auth(use_oob = TRUE)
options(gargle_oob_default = TRUE)
options(gargle_oauth_email = gmail("ser.twitteracct"))

on_error_email_to(c(gmail("malcolmbarrett"), email("jason_gantenberg", "brown.edu")))
safe_action_auto_tweet <- action_safely(action_auto_tweet, "(auto_tweet.R)")
safe_action_auto_tweet()
SERTwitter/ser documentation built on June 27, 2022, 7:37 p.m.