rsconnect::deployApp() fails with "Error: $ operator is invalid for atomic vectors"

Suddently I cannot deploy my shiny application to shinyapps.io, and I cannot figure out why.
It was working perfectlyl a couple of days ago. Please help!
Here is the full deployment log (using loglevel="verbose"):

> rsconnect::deployApp(logLevel="verbose")
----- Deployment log started at  2018-11-14 21:01:19  -----
Deploy command: 
 rsconnect::deployApp(logLevel = "verbose") 

Session information: 
R version 3.5.1 (2018-07-02)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Debian GNU/Linux buster/sid

Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.8.0
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.8.0

locale:
 [1] LC_CTYPE=el_GR.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=el_GR.UTF-8        LC_COLLATE=el_GR.UTF-8    
 [5] LC_MONETARY=el_GR.UTF-8    LC_MESSAGES=el_GR.UTF-8   
 [7] LC_PAPER=el_GR.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=el_GR.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] compiler_3.5.1   rsconnect_0.8.11 tools_3.5.1      RCurl_1.95-4.11 
[5] bitops_1.0-6     openssl_1.0.2   
Cookies: 
[1] path    name    value   secure  expires
<0 rows> (or 0-length row.names)
GET /v1/applications/551499 16263ms
Error: $ operator is invalid for atomic vectors
----- Deployment error -----
Error: $ operator is invalid for atomic vectors
 
----- Error stack trace -----
5: paste("Update application currently deployed at\n", app$url, 
       "? [Y/n] ", sep = "")
4: applicationForTarget(client, accountDetails, target, forceUpdate)
3: force(code)
2: withStatus(paste0("Preparing to deploy ", assetTypeName), {
       application <- applicationForTarget(client, accountDetails, 
           target, forceUpdate)
   })
1: rsconnect::deployApp(logLevel = "verbose")

Thanks so much in advance!

Theodore

I'm not a shiny guy, but the error message

is telling you that it was reading an argument expecting to find something like a data frame, where you can say df$variable and instead found only a list variable (i.e., an atomic vector). If you can inspect or class() /v1/applications/551499 you should be able to tell easily if that's the source of the error message.

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