Publishing issue with shiny

I can't publish R markdown shiny.

An error has occurred. Check your logs or contact the app author for clarification.
and paths should be to files within the project directory

below the script setwd("~/Documents/Capstone/en_US")
en_US_blogs <- readLines("en_US.blogs.txt", encoding = 'UTF-8',warn = FALSE)
en_US_news_txt <- readLines("en_US.news.txt", encoding = 'UTF-8',warn = FALSE)
en_US_twitter_txt <- readLines("en_US.twitter.txt", encoding = 'UTF-8',warn = FALSE)

Where are you publishing to ?
It's likely a mistake to setwd().
Rather assume that the working directory is the project directory

I need to publish to R Pubs
I want to read this files, is there any specific folder I have to put it in ?
or specific orders?

thanks,

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.