Env: RStudio 2023.12.0, R 4.3.2
I have an R script I knitted and want to publish to Rpubs. I click on the publish icon, then select Rpubs, but nothing happens when I click 'Publish'
I also tried to publish to Posit Cloud. I created credentials, named `MyPositCloud'. Then tried to setup authentication via
> rsconnect::setAccountInfo("MyPositCloud", token = "*****************B5E1A9A", secret = "**************8fjyV7Or0E", server = "posit.cloud")
Error in `GET()`:
! <https://api.posit.cloud/v1/users/current/> failed with HTTP status 401
invalid token
Run `rlang::last_trace()` to see where the error occurred.
Why doesn't Rpubs work? Is there a command line alternative?
What is wrong with how I'm trying to authenticate to Posit Cloud?