-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to obtain dependencies with renv #951
Comments
The particular line of code you reference was adjusted in #931 Could you try using the latest development version of rsconnect to see if that helps or produces better feedback? remotes::install_github("rstudio/rsconnect") Additionally, any chance that you could create a reprex to help us produce the same error? It would be useful to see your |
This worked, thanks! Packages were installed via the standard
Upon installing the dev version, |
The version you tested was released to CRAN as rsconnect-1.0.2. Please let us know if you continue to have problems. |
I am trying to publish a Shiny application to a Posit Connect server. I am using
renv
version 1.0.1 for package management, the lockfile looks good, and renv reports that nothing is out of sync. However, whenever I try to publish, I see the following error:Error in if (pkg$Repository == "CRAN") { : argument is of length zero
I have traced this issue to the call to
rsconnect::appDependencies()
, as I see the same error when calling that function from the console. Here is the full traceback:Any idea what could be causing this, or if there is a workaround? At the moment it is preventing me from publishing my Shiny app.
The text was updated successfully, but these errors were encountered: