Error when deploying files to Rstudio Connect

Hello

I am trying to deploy multiple files onto Rsudio Connect, these files are in a single directory but I get an error. Please help.

file <- list.files(directory with all files using option full.names = T)

for (i in file){

rsconnect::deployDoc(doc = file,
          account = "details ",                
          server = "server details ")

}

But i get the following error : Error in file(con, "r") : invalid 'description' argument
In addition: Warning message:
In if (!file.exists(doc)) { :
the condition has length > 1 and only the first element will be used

for a start it doesnt look like you use the iterator named i anywhere ...

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