rtweet无法授权twitter的api怎么办

问题遇到的现象和发生背景

rtweet无法授权twitter的api怎么办

用代码块功能插入代码,请勿粘贴截图

尝试了rtweet_user和rtweet_app两种授权方法
auth <- rtweet_user(api_key=NULL,api_secret=NULL)

bearer_token <- my bearer_token(此处输入的是我申请的token)
auth <- rtweet_app(bearer_token)
auth_as(auth)

运行结果及报错内容

Error in curl::curl_fetch_memory(url, handle = handle) :
Failed to connect to api.twitter.com port 443: Timed out

Error: unexpected input in "bearer_token <- “"