-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
RStudio hangs during RMarkdown check without internet access #2288
Comments
I'm guessing you can trigger the same behavior with something like:
as that can hang when there is no internet connectivity. I'm not sure if there's a good way for us to handle this (or check if the system has internet connectivity altogether) |
@kevinushey we're running into this issue in our computer-based testing facility (CBTF). The facility blocks outbound connections unless they fall in certain use cases. I'll test this out tomorrow and get back to you. |
So, it seems like the If I use a different document type initially and then switch it to a After a prolonged time, I slowly start to get prompts from RStudio about mirror issues: With this being said, it looks like some request managed to get through at some point because a prompt is being issued that packages are out-of-date? |
This is somewhat expected because of the way available.packages() works (it caches its results since it's such an expensive call). In the years since this issue was opened we've implemented caching on a lot of the parts of the IDE that handle this list, so hopefully most spots are better, but ultimately if your environment causes |
System details
Steps to reproduce the problem
rmarkdown
.Describe the problem in detail
The client crashes when trying to open a new RMarkdown notebook when offline for a prolonged amount of time.
Describe the behavior you expected
If RStudio is not able to connect to the internet, this check should not be run or it should not time out causing the client to crash.
The text was updated successfully, but these errors were encountered: