Create a webiste

Hi, I created a web calculator using r shiny. Now I need to share the app as a website. I tried shinyapps.io, but have problem to authorize my account. I copied the code (for token) as instructed by shinyapps.io, but it gave me an error message saying : "Error: $ operator is invalid for atomic vectors". Does anyone knows how to resolve it? or if you know a good a way to share the r shiny app as a website? Thank you!