There should be a triple colon for bundleApp, right? See sec. E.3.6
https://docs.rstudio.com/connect/1.5.0/admin/appendix-deployment-guide.html
pth <- 'C:/Users/xxx/Desktop/funShiny/dance'
fls <- rsconnect::listBundleFiles(pth)
Tgt <- list(appName = c('here'))
rsconnect:::bundleApp(Tgt,
appDir = pth,
appFiles = fls$contents,
appPrimaryDoc = fls$contents,
assetTypeName = 'dan',
contentCategory = 'bsn', verbose = T,)
This did not work, but it was closer to working than with two colons.
Also, the next section (E.4) needs a double colon
rsconnect::accounts()