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
Push-button-deploy to Rsconnect: "Could not find files to deploy: Error occurred while executing method" #10672
Comments
@cropland-bv Thank you for notifying us of this! Can you please provide a sample document for which this occurs—it can be just a few lines. This will help me try to reproduce the issue. Thanks! Also, which was the last version of RStudio Desktop in which this worked? |
Error occurs while trying to publish Shiny Web applications, but not while publishing a RMarkdown document.
Regarding the RStudio Desktop version, I don't know the specific version but probably 1.3. |
same problem here... No special characters in filenames.. Error comes up when trying to publish to shinyapps update: re-installed old version (RStudio Version 1.4.1717).. no error and file published fine |
Thank you both! I can reproduce this in Prairie Trillium on Windows 10, while it continues to work on MacOS 12.1, and worked previously in Ghost Orchid. Triage: regression in Prairie Trillium, strong candidate for patch. |
I repro'd this problem with R 3.6.3, on Windows-10, with RStudio 2022.2.0.443. This was a clean Windows-10 machine where only R 3.6.3, RTools 3.5, and that version of RStudio were installed. So, not related to the upgrade to R 4.1.1 mentioned in the repro steps; purely an RStudio thing it appears. |
This problem started with build 416 on 2022-02-02; build 415 works. |
Thanks for the bug report. As a workaround, you can execute:
before attempting to deploy your application. We'll try to get this fixed soon. |
A fix will be part of #10682; the underlying issue here is that we were failing to expand tilde-prefixed paths in our |
Also spotted on Community recently: https://community.rstudio.com/t/2022-02-0-443-broke-my-ability-to-publish-content/130506 |
* disable file hooks by default; handle idiosyncrasies * use grepl * re-enable * alignment * tweak * minor optimization * disable file hooks for UCRT R * additional fixes for #10672 * update NEWS
I verified this is working as expected on Windows 10 with version 2022.02.0+455. I was able to publish successfully a shiny app as well as other file types and also got the expected output in the steps in #10679 Lower level automation tests were added so I did not add any end to end tests for this at this time, but I think it might warrant us having end to end tests of publishing all file types. Closing issue. |
Thanks a lot. It is working after executing that code. |
still the same error, the deploying worked only after passing the code |
@costavale What version of RStudio did you see this with and OS setup and steps did you take to run into the error? |
2022.02.0 with R updated this morning to 4.1.3 |
@costavale which version of 2022.02.0 exactly? The version of R should not matter I do think. |
Build 443, RStudio 2022.02.0+443 "Prairie Trillium" Release (9f79693, 2022-02-16) for Windows |
Unfortunately 2022.02.0+443 is the version that still contains the error. We're about to release a patch release for Prairie Trillium that will contain this fix, but in the meantime if you'd like to try the fixed version you can download 2022.02.1+457 from here: https://dailies.rstudio.com/rstudio/prairie-trillium/ |
Thank you for the suggestion. With the 457 version, now the deployment is working again! |
@costavale Glad to hear it, and thank you for confirming! |
Good to find this, was trying to figure out what I was doing wrong ;-) |
System details
Steps to reproduce the problem
Describe the problem in detail
After upgrading R version 3.6.3 to R version 4.1.1 and upgrading RStudio the following error occurred while trying to publish application to Rsconnect:
The Console gives the following error message:
Error in rle(toplevel) : 'x' must be a vector of an atomic type
Related issue: #3754
But no special character in path.
Error occurs while trying to deploy different applications with varying paths.
Describe the behavior you expected
Expected a clear error explanation or the ability to publish application.
The text was updated successfully, but these errors were encountered: