Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upOpinion about continuous installation #22
Comments
|
Here is the solution I proposed for it: In ./utils/get_app_from_app_url.R In ./utils/ensure.R |
|
What do you think about this simple ping wrapper?
I am thinking we can just ping "www.google.com" once. If the ping fails, don't install anything and just load packages. I'll push a commit tonight. |
|
I'd like to reduce the number of package dependencies, and there is a catch-22 here. If we use RCurl to test our internet connection, we still have to install it from the internet. ping is always available to us ;) |
|
Check out commit 1dd34f0 |
|
Hi there, Really liking this package! Currently though, I can't run the example_app as I'm getting a "Please connect to the internet and try again" message. I'm not 100% sure, but I think this may be to be due to our company firewall not allowing pings, and it's something I can't seem change without admin privileges. Is there a logical option to ignore your zhengle-advantaseeds RCurl solution works for me: |
|
@zhengle-advantaseeds is pretty smart, so I'm not surprised ;). How about we add an option to ping or use |
|
Hi @Dripdrop12, yes, that would be great! Either an option to use Thanks! |
|
I think @Dripdrop12's ping_site is faster; because it does not require another package. Maybe we can dig into the RCurl package to extract the url.exists function and integrate into the RInno package. |
|
@rareaquaticbadger does |
|
@rareaquaticbadger Please re-open the issue if |
The package(v.0.1.0) did a great job. In the continuous installation option, it would be useful that the app sync to the online repository when the internet available. Otherwise, the app will start without updating if the internet unavailable. Thanks