-
Notifications
You must be signed in to change notification settings - Fork 83
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 redeploy Shiny app at shinyapp.io #945
Comments
Would you mind trying with the development versions of renv and rsconnect to see if that helps? remotes::install_github("rstudio/renv")
remotes::install_github("rstudio/rsconnect") |
Thank you for your suggestion! |
Is it possible to share a project or more details about your project structure so we can recreate this problem? In the meantime, you could use an older release of rsconnect: remotes::install_version("rsconnect", "0.8.29") |
It works!!! But, I wonder why it reported error with the latest version.... |
@kevinushey - any thoughts given the traceback seen here? |
@Shoshana02 - Could you share more information about your project structure or how you are deploying? Are you using the RStudio IDE to push-button deploy, or are you calling |
I am calling |
@aronatkins just highlighting that I've been using this workaround of fixing the rsconnect package to version 0.8.29 too, though today that's now failing with an error saying the package is out of date. We use a GitHub actions workflow for the deployments, todays deploy log can be found at https://github.com/dfe-analytical-services/childrens_social_services_offenders_dashboard/actions/runs/5936368104/job/16096633034 Let me know if any other information would be useful! |
Hi @cjrace I actually just posted now #970, I saw that the change was only made around 5 days ago and didn't think to go looking at this task but wanted to get a feeling for some other comments etc. I am reluctant to bump renv so high currently to what I am using as I have a suite of shiny applications that depend on it :( |
The original problem reported by this issue is tracked by:
Folks can work around those "large directory" problems by setting the renv options(
renv.config.dependencies.limit = getOption('rsconnect.max.bundle.files', 10000)
) If you customize options(rsconnect.max.bundle.files = 10000, renv.config.dependencies.limit = 10000) |
@cjrace Unfortunately, shinyapps.io and posit.cloud now require newer versions of rsconnect. By association, that also means you will need a newer version of renv. The announcement of this change: I have reached out to the folks running shinyapps.io and posit.cloud to see if they can relax that restriction. For now, the version requirement is going to remain. |
Closing this issue as a duplicate of #968, which is now resolved in the development version of rsconnect. Please open an issue if you encounter additional problems. |
Sorry to trouble you
Recently, I tried to redeploy a shiny app I had published (last update was 16/7/2023) with rsconnect version 1.0.0 and ran into the following error:
ℹ Capturing R dependencies with renv
Error in dirname(root) : a character vector argument expected
Then, I used
traceback()
it returned:
I have checked that all the file paths are relative paths and the working directory is also the file directory where shinyapp is located.
I have tried to deploy a copy shinyapp with creating a new Rproj. and the app's files copied; however, I received the same error.
Please let me know if there is more information you need, this is my first time posting an issue.
Thank you so much!
The text was updated successfully, but these errors were encountered: