Are you using the development version of rsconnect? If not, you can install it with:
renv::install("rstudio/rsconnect")
Note that rsconnect still uses Packrat behind the scenes for deployments, but the latest development version of rsconnect ensures that the renv directory does not become part of the application bundle.