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 upImplement functionality with 'curl' package from CRAN #29
Comments
|
I would take a PR. I just couldn't be bothered -- using Would be able to also extend the test set to really make sure we are not creating a regression? |
|
I understand. My new work computer is windows and i don't have admin rights so getting a curl.exe binary installed was a bit of work. My hope is that switching to the curl package would make it easier for others. What do you mean by "extend the test set?" My cursory inspection of |
|
I just want to be 300% sure we are not breaking something. I don't have that many test cases myself. And maybe BTW appreciate a) your interest and b) the fact that you file issues before blindsiding me with a PR (as happened today in another repo). |
|
I agree. I appreciate the general level of stability in the R community and would like to avoid breaking anything here. In fairness, I did blindside you with a different PR this morning in this repo. I realized I should have opened an issue for it after I sent it, but it was standalone and a small amount of work compared to what's proposed here. tasks for
tasks for
|
|
Very good. Setting up the |
|
The type Of course Pushbullet still has an address push example in their iOS section... |
|
do you have a preference for whether this should be an error or a warning? |
|
|
|
Cannot really do coverage testing ... for the same reason we do not test Travis: need a token and account / channel to talk to |
|
Or rather, can do coverage testing the way I have done for another package ... by manually uploading rather than having Travis do it. |
|
Do you use a precommit hook with git when you do that?
…On Sun, Jan 22, 2017 at 18:06 Dirk Eddelbuettel ***@***.***> wrote:
Or rather, can do coverage testing the way I have done for another package
... by manually uploading rather than having Travis do it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#29 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFi1C7KPa79U1JoitrLSQcMav6eVm6jgks5rU-DdgaJpZM4Lpeys>
.
|
|
Sadly way more pedestrian:
where |
|
It is still building at their end but some things are here: https://codecov.io/gh/eddelbuettel/rpushbullet |
…notes working. still an issue with file uploads.
|
links & notes are working, but i'm having an issue with files. i keep getting a status code of 404 when it tries to upload the file before the push. Do you have time a take a look and see if it's something obvious that I missed? I'll try to get some more time this afternoon to look at it more closely if you don't. ICYNI: relevant part from |
|
I know next to nothing about internals of these things and protocols -- which is why I stuck with using the curl binary. It works. Now, if you cook up a real small example, ideally even without reliance on RPushBullet and its token, @jeroenooms maybe be able to help you from the curl (the package, not the binary) side. |
|
ok. all of the tests in |
|
Hooray for self-diagnosed PEBKACs :) |
|
WRT: "investigate if something like secure would be good for storing a test.json config file", secure does not seem like a good option as it is not maintained and seems to have some issues if you want to use keys that are not stored in @gaborcsardi mentioned that he was re-implementing the functionality, but i don't know if he intends to release it as a package. currently there does not appear to be a github repo for it. see: hadley/secure#15 |
|
No, I don't have anything available, sorry. But you can just use the |
|
Ok. Thanks @gaborcsardi for responding. |
|
Done in #30. |
Since March 2014,
curlwas released to CRAN. I did a very small amount of testing and it seems like thesystem()calls to an installed version of curl could be replaced. I'm willing to work on a PR but wanted to:RCurlso i could make sure those aren't present in a refactorsample test code: